summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-07r300g: Remove is_r3xxpciids-3Benjamin Franzke3-215/+9
Use r300_pci_ids.h instead. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07r600g: Use radeon pciid list for the family lookup tableBenjamin Franzke2-481/+6
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07radeon: Use pciid list to generate PCI_CHIP_<FAMILY>_<ID> definesBenjamin Franzke1-491/+9
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07targets/egl: Support driver name lookup using pci listsBenjamin Franzke3-71/+83
Make use of this in drm and wayland st/egl backends. Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-07egl_dri2: Use external driver pci listBenjamin Franzke5-664/+193
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-06Add radeon pci id listsBenjamin Franzke4-0/+526
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-06Add intel pci id listsBenjamin Franzke4-0/+47
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-05apple: Fix multiple build failures in applegl_glx.cJeremy Huddleston2-14/+29
It is still not building, but this gets us many steps closer See https://bugs.freedesktop.org/show_bug.cgi?id=29162 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Build darwin using applegl rather than indirectJeremy Huddleston3-3/+20
This reverts portions of 6849916170c0275c13510251a7b217c20f2b993e that caused the darwin config to fail to build due to missing implementations in that commit. See https://bugs.freedesktop.org/show_bug.cgi?id=29162 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05glx: Dead code removalJeremy Huddleston1-2/+0
Remove a redundant ifndef GLX_USE_APPLEGL Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: ifdef out come glapi-foo on darwinJeremy Huddleston1-0/+4
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Change from XExtDisplayInfo to struct glx_displayJeremy Huddleston1-4/+6
Fixes regression introduced by: ab434f6b7641a64d30725a9ac24929240362d466 and c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-06dri/nouveau: fix gnome-shell segfaultBen Skeggs1-1/+1
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-06-05apple: Rename GLXcontextJeremy Huddleston1-1/+1
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename _gl_context_modes_find_visual to glx_config_find_visualJeremy Huddleston1-1/+1
Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Re-add driContext and do_destroyJeremy Huddleston1-0/+5
Fixes regression introduced by: c491e585e43d48a2aeec96ccc4008da6c443fb42 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename GLXcontextJeremy Huddleston4-6/+6
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename __GLcontextModes to struct glx_configJeremy Huddleston2-2/+2
Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename glcontextmodes.[ch] to glxconfig.[ch]Jeremy Huddleston5-5/+5
Fixes regression introduced by: 65d98e25770487456eb3d7eb8ec3ec8272f170b1 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Update GL specsJeremy Huddleston7-439/+4738
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05meta: Don't do sRGB encode for framebuffer blits on sRGB-enabled framebuffers.Eric Anholt1-0/+6
Fixes fbo-srgb-blit. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35373 Reviewed-by: Brian Paul <brianp@vmware.com>
2011-06-05meta: Don't do srgb to linear decode when blitting srgb textures.Eric Anholt1-0/+10
Fixes the GL_SRGB8_ALPHA8 -> GL_RGBA8 blits in fbo-srgb-blit.c Reviewed-by: Brian Paul <brianp@vmware.com>
2011-06-03glx: Fix use-before-null-check in dri2InvalidateBuffers().Eric Anholt1-1/+6
The compiler used our dereference here to skip the NULL check below. Fixes window resize in "jconsole -J-Dsun.java2d.opengl=True" under OpenJDK 6. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37766 Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-06-03i965: Drop remaining strict conformance fallback for GL_POINT_SMOOTH.Eric Anholt1-30/+0
We actually could do this in hardware in the fragment shader using gl_PointCoord and the point's size.
2011-06-03i965: Drop strict conformance fallback for GL_LINE_STIPPLE.Eric Anholt1-18/+0
We implement line stipples, just not *quite* correctly. We have a piglit testcase to use when we want to fix it, if we do. Until then, don't lie to our test suites.
2011-06-03i965: Drop strict conformance fallback for GL_LINE_SMOOTH.Eric Anholt1-9/+0
We do have hardware antialised lines. If we care, we should actually fix them to be conformant (or as close as possible) instead of using this knob to fool testcases using swrast. For some interesting reading on the state of GL_*_SMOOTH across several drivers, see: http://homepage.mac.com/arekkusu/bugs/invariance/HWAA.html
2011-06-03i965: Drop strict conformance fallback for GL_POLYGON_SMOOTH.Eric Anholt1-6/+0
From my reading of the GL 2.1 spec, no antialiasing is strictly conformant for polygon smoothing. Yes, it's absurd, but then, hardware doesn't support this so maybe it's not so absurd.
2011-06-03i965: Drop INTEL_CONFORMANCE=2 fallback code.Eric Anholt1-3/+0
This was just a duplicate of no_rast=true driconf option, which is relatively standard across drivers.
2011-06-03glsl: fixed printing of structure constants.Paul Berry1-1/+1
ir_print_visitor::visit(ir_constant *) was failing to index properly into ir->type->fields.structure, so the first field name was being reprinted for every field in the structure. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-03AST dump: fixed printing of conditionals.Paul Berry1-1/+1
ast_expression::print() had an incorrect index into the subexpressions array, so (a ? b : c) was being incorrectly rendered as (a ? b : b). Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-03r600g: move spi update to only when states change.Dave Airlie1-2/+9
This updates the spi state after ps/vs binding or rasteriser state change. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-03cso: move cso hashes to a more table driven schemeDave Airlie2-84/+21
this removes a bad branch pain in the hash table lookup fn. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-03u_prim: convert u_trim_pipe_prim to table driven.Dave Airlie1-47/+24
This makes this function not be an always miss for the branch predictor. Noticed using cachegrind, makes a minor difference to gears numbers on r600g. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-03r600g: make conv pipe prim table driven.Dave Airlie1-32/+20
This is a lot more branch predictor friendly, it actually showed up in cachegrind profiles. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-02mesa: fix typo (s/GLGL/GLSL/)Brian Paul1-1/+1
2011-06-02mesa: 80-column wrappingBrian Paul1-8/+14
2011-06-02mesa: consolidate glGetUniform codeBrian Paul1-124/+64
2011-06-02mesa: refactor/consolidate uniform lookup codeBrian Paul1-96/+87
2011-06-02mesa: add some minor fixes for geometry shadersBrian Paul1-0/+6
2011-06-02dri: add missing files from 873379a8818eed9ab16c24728b7091a3a3705c5bBrian Paul2-0/+112
2011-06-02mesa: add implementation of glDrawElementsInstancedBaseVertexPierre-Eric Pelloux-Prayer5-4/+35
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-02glapi: regenerated filesPierre-Eric Pelloux-Prayer9-7019/+7113
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-02glapi: add glDrawElementsInstancedBaseVertex() function to xmlBrian Paul1-0/+9
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-02dri/nouveau: Fix build with --enable-shared-dricore.Johannes Obermayr21-151/+81
- Based on the work of Себастьян Gliţa Κατινα <cglita@yahoo.com> - Split Makefile.template into Makefile.defines and Makefile.targets - Adapt other drivers to new situation - Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35441 Signed-off-by: Brian Paul <brianp@vmware.com>
2011-06-02r300: remove MIN3 macro, already defined in macros.hBrian Paul1-1/+0
2011-06-03r600g: sampler and texture state doesn't need a range/block.Dave Airlie4-34/+50
These are handled separately in the winsys, so don't need the calculations done at this point. this manifested as a crash in point-sprite, Thanks to XoD on #radeon for pointing it out. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-06-02glx: Remove (unused, broken) fastImageUnpack fast pathAdam Jackson3-70/+39
Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-06-02glx: Fix another case of using req outside of the display lockAdam Jackson1-2/+2
Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-06-02softpipe: add a better fake implementation of fencesMarek Olšák2-6/+5
The flush function, when asked for, should not return a NULL fence. NULL can only be returned if fences are not implemented, and st/mesa doesn't call any of the fence functions if it receives a NULL fence (because some drivers don't even set the fence hooks). ARB_sync is exposed if fence_finish is set.
2011-06-02util: faster logbase2Brian Paul1-4/+7