summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use EXTRA_MODULES and SUBDIRS to build r300 compilerBrian Paul2009-10-162-8/+8
| | | | | This is a bit cleaner and avoids rebuilding the r300_dri.so library all the time.
* mesa: added SUBDIRS support in dri/Makefile.templateBrian Paul2009-10-161-1/+13
|
* mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul2009-10-142-2/+0
|
* mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul2009-10-141-1/+0
|
* r600: enable EXT_vertex_array_bgra extensionsAlex Deucher2009-10-141-0/+1
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-141-3/+3
|\
| * i965: Fix the last valid address setting for the index buffer.Eric Anholt2009-10-111-1/+1
| | | | | | | | | | | | Again, last valid address, not first invalid address. Fixes regression in 255e5be265133280293bbfd8b2f9b74b2dec50bb that the kernel now catches and caused piglit draw_elements_base_vertex to fail.
| * i965: Fix the bounds emitted in the vertex buffer packets.Eric Anholt2009-10-111-2/+2
| | | | | | | | | | | | | | | | It's the address of the last valid byte, not the address of the first invalid byte. This should also fix problems with rendering with the new sanity checks in the kernel.
* | mesa: remove left-over debug printfBrian Paul2009-10-141-1/+0
| |
* | intel: fix broken sw generate mipmap pathBrian Paul2009-10-131-0/+22
| | | | | | | | Need to restore code that fixed up the intel_texture_image state.
* | mesa: whitespace fixesBrian Paul2009-10-131-2/+2
| |
* | mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()Brian Paul2009-10-131-7/+48
| | | | | | | | | | | | | | We need to check that we can actually render to the texture's format before doing mipmap generation. This may fix bug 24219.
* | mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()Brian Paul2009-10-121-4/+15
| |
* | intel: whitespace/formatting clean-upBrian Paul2009-10-121-10/+18
| |
* | intel: replace extern decl with #includeBrian Paul2009-10-121-1/+2
| |
* | intel: added INLINE keyword to minify()Brian Paul2009-10-121-1/+1
| | | | | | | | This is mainly just to silence some warnings.
* | intel: code clean-upsBrian Paul2009-10-121-4/+5
| |
* | intel: pass zslice to intel_miptree_image_offset()Brian Paul2009-10-127-65/+40
| | | | | | | | | | This lets us get rid of intel_miptree_depth_offsets() and simplify all of the calling code.
* | i965: remove unused varBrian Paul2009-10-121-1/+0
| |
* | r600: implement ProgramStringNotifyAndre Maasikas2009-10-121-17/+38
| | | | | | | | | | need this to properly test with piglit/glean vert/fragprog tests copied mostly from r300, many thanks to osiris, nha, airlied, others...
* | r600: LIT dst.y gets value from src.xAndre Maasikas2009-10-121-0/+1
| | | | | | | | | | seems I overlooked this when removing hardcoded swizzles for this one previously
* | r600: DPH adds w comp of second operand, so set first one to 1 insteadAndre Maasikas2009-10-121-1/+1
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-102-8/+11
|\|
| * radeon: fix scissor regressionAlex Deucher2009-10-092-8/+11
| | | | | | | | fixes fdo bug 24248
* | r600: fixup KIL instruction a bitAndre Maasikas2009-10-091-18/+9
| | | | | | | | | | | | | | - KILLGT takes 2 arguments - arb KIL has no dst register - add TODO about clause ending but currently piglit fp-kil passes and does not hang the card
* | i965: Use bo_references for the state cache delete function.Eric Anholt2009-10-081-17/+3
| | | | | | | | This appears to shave about 3% off the CPU usage in cairo-gl for firefox.
* | intel: Use new drm_intel_bo_references() to avoid flushing.Eric Anholt2009-10-082-10/+20
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-082-38/+10
|\| | | | | | | | | | | Conflicts: src/mesa/drivers/common/meta.c
| * mesa/xlib: call XQueryExtension() in glXQueryExtension()Brian Paul2009-10-071-4/+6
| | | | | | | | See bug 24321.
| * mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()Brian Paul2009-10-071-28/+4
| | | | | | | | | | They're freed by the normal context deallocation code. Fixes Blender crash, bug 24185.
* | r300compiler: fix scons build againJoakim Sindholt2009-10-071-1/+8
| |
* | Merge branch 'master' into r300g-glslNicolai Hähnle2009-10-0712-79/+166
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <[email protected]>
| * | Merge branch 'mesa_7_6_branch'Nicolai Hähnle2009-10-072-15/+33
| |\|
| | * mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul2009-10-072-12/+28
| | |
| | * mesa/xlib: return 0 for errorBase, eventBase in glXQueryExtension()Brian Paul2009-10-071-3/+5
| | | | | | | | | | | | | | | A little better than leaving the values undefined, I think. See bug 24321.
| * | r600: r700PredictRenderSize can flush, so move index buffer setup after itAndre Maasikas2009-10-061-1/+1
| | |
| * | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-057-54/+64
| |\| | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| | * intel: use driReadDrawable in do_copy_texsubimage()Brian Paul2009-10-051-1/+1
| | |
| | * intel: use driReadDrawable, not driDrawable in do_blit_readpixels()Brian Paul2009-10-051-2/+2
| | |
| | * intel: remove a buffer equality test in _mesa_make_current()Brian Paul2009-10-051-33/+27
| | | | | | | | | | | | | | | | | | | | | Before, if we called glXMakeCurrent() to change a context's window binding while an FBO was bound, we weren't updating the intel->driDrawable and intel->driReadDrawable fields. This could cause us to dereference a null pointer elsewhere.
| | * r200: remove subpixel offset from viewportFrederic Crozat2009-10-041-11/+4
| | | | | | | | | | | | Fixes bug fdo 20340 for r200.
| | * r300: Workaround problem on R500 with very large fragment programsNicolai Hähnle2009-10-032-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | The non-KMS interface is to blame here. In theory, a proper fix could be produced that works for the KMS interface only, but it require cleaning a lot of mess. Easier to just do it right in r300g. Signed-off-by: Nicolai Hähnle <[email protected]>
| | * xlib: use bitwise-and to test GLX_RGBA_BIT in choose_visual()Brian Paul2009-10-021-2/+2
| | | | | | | | | | | | The parameter is a bitmask.
| * | r300g: fix scons buildJoakim Sindholt2009-10-051-0/+30
| | | | | | | | | | | | | | | | | | So I didn't touch r300compiler, but r300g now compiles after having declarations and code untangled. As nha so gently points out, we shouldn't have to do this just to comply with MSVC compilers.
| * | r600: update vertex program selection for draw pathAndre Maasikas2009-10-051-5/+35
| | |
| * | intel: Suppress a compiler warning for an pointer->int castChris Wilson2009-10-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | intel_pixel_read.c: In function ‘do_blit_readpixels’: intel_pixel_read.c:221: warning: cast from pointer to integer of different size Cast via an intermediate (GLintptr) instead and hope the result fits within GLuint... [It should as we simply do not support textures *that* large!] Signed-off-by: Chris Wilson <[email protected]>
| * | intel: Assert that relocation offsets are within the targetChris Wilson2009-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | This should catch the common programming error where we attempt to emit a relocation to beyond the end of the target buffer. Signed-off-by: Chris Wilson <[email protected]>
* | | r300/compiler: Fix R300 vertex program dumpsNicolai Hähnle2009-10-061-1/+1
| | | | | | | | | | | | | | | | | | The source register field has 8 bits. Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Fix yet another regression in register allocationNicolai Hähnle2009-10-061-0/+1
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* | | r300/compiler: Fix a really stupid logic inversion in the generic dataflow codeNicolai Hähnle2009-10-061-1/+1
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>