summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-08-05st/mesa: fix Y inversion and optimize st_BlitFramebuffer()Brian Paul
Need to check for Y inversion separately for src/dest buffers. If both the src and dest regions are upside down, make them right-side up for a better chance at a fast path. progs/tests/copypixrate -blit is much faster now.
2009-08-05util: added comment/question about blit clippingBrian Paul
2009-08-05mesa: make _mesa_clip_blit() a shared functionBrian Paul
2009-08-05util: added util_blit_pixels() overlap testBrian Paul
A comment alluded to this. Now it's checked.
2009-08-05util: fix util_blit_pixels() test for surface_copy() pathBrian Paul
For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit
2009-08-05util: reformatting and commentsBrian Paul
2009-08-05st/xorg: Make it work againJakob Bornecrantz
2009-08-05st/egl: Create primary texture not display targetJakob Bornecrantz
2009-08-05i915g: Treat primary textures as scanout buffersJakob Bornecrantz
2009-08-05i915g: Link with trace on EGL and XorgJakob Bornecrantz
2009-08-05trace: Use correct texture in drm_api wrapperJakob Bornecrantz
2009-08-05softpipe: Also defere primary textures to backendJakob Bornecrantz
2009-08-05r200: emit colorpitchDave Airlie
2009-08-04i965: Fix dangerous warning I let slip in.Eric Anholt
2009-08-04i965: Respect CondSwizzle in OPCODE_IF.Eric Anholt
Fixes piglit glsl-vs-if-bool and progs/glsl/twoside, and will likely be useful for the looping code. Bug #18992
2009-08-04i965: Emit conditional code updates as required for GLSL VS if statements.Eric Anholt
Previously, we'd be branching based on whatever condition code happened to be laying around.
2009-08-04i965: Don't set pop_count in the reserved MBZ area of IF statements.Eric Anholt
2009-08-04i965: Print out ELSE and ENDIF src1 arguments like IF does.Eric Anholt
2009-08-05r200: fix off-by-one errors causing 6th texture unit to not workRoland Scheidegger
both for normal and cube textures, this fixes demos/multiarb (with 6 enabled texture units) and fixes #23142.
2009-08-05r200: fix compiler warning (unused var)Roland Scheidegger
2009-08-05radeon: fix miptree comparison breakageRoland Scheidegger
another case of image never matching miptree in case of compressed textures
2009-08-05intel: implement intelCompressedTexSubImage2DRoland Scheidegger
similar to the radeon code. passes tests/texcompsub
2009-08-04intel: Add support for EXT_provoking_vertex.Eric Anholt
2009-08-04i965: Spell "conditional" correctly.Eric Anholt
2009-08-04i965: Hook up the disassembler for INTEL_DEBUG={wm,vs}.Eric Anholt
I was getting tired of doing the dance of INTEL_DEBUG=batch, copying it out, and running intel-gen4disasm on it.
2009-08-04i965: Initial import of disasm code from intel-gen4asm.Eric Anholt
There's a bunch of stuff from gen4asm and gpu-tools that we probably want to make into a library instead of cargo-culting it around.
2009-08-04i965: warning fixEric Anholt
2009-08-04mesa: log the shader checksumBrian Paul
2009-08-04mesa: compute, print shader checksumBrian Paul
2009-08-04mesa: added gl_shader::SourceChecksum field (for debug purposes)Brian Paul
2009-08-04mesa: added _mesa_str_checksum()Brian Paul
2009-08-04mesa: clean-up error debug/count codeBrian Paul
2009-08-04mesa: reset ErrorDebugCount to zero in glGetString()Brian Paul
2009-08-04mesa: better texture dump/debug codeBrian Paul
2009-08-04mesa: more error message info for vertex pointer functionsBrian Paul
2009-08-04mesa: more glGetTexImage() error checking consolidation, new assertionBrian Paul
2009-08-04i965: Fix RECT shadow sampling by not losing the other texcoords.Eric Anholt
Bug #20821
2009-08-04intel: Fix inverted test for disabling flushing of front buffer output.Brian Paul
The comment disagreed with the code, and nicely drew my eyes to what was going wrong. Bug #21774 (blender) Bug #21788 (readpix) (cherry picked from master, commit fd65418f600874b05f902b622078b40bc1abb24a)
2009-08-04intel: Wait on the last swapbuffers to complete before queuing a new one.Brian Paul
This fixes jerkiness in doom3 and other apps since the kernel change to throttle less absurdly, which led to a thundering herd of frames. Because this is a rather minimal fix, there is at least one downside: If the whole scene completes in one batchbuffer, we'll end up stalling the GPU. Thanks to Michel Dänzer for suggesting using glFlush to signal frame end instead of going to all the effort of adding a new DRI2 extension. (cherry picked from master, commit 0828579a658af01a64b5e699175dc9bbbedcd685)
2009-08-04texenv: Use VP->Current, since _Current isn't updated at this point.Brian Paul
(cherry picked from master, commit a9ba1bfeb3a2852c6eda718e73c46c972a286648)
2009-08-04texenv: Match state.c in deciding whether we'll be using a vertex shader.Brian Paul
(cherry picked from master, commit 40990d9dfb20b69585859b2a45596aa46c20140a)
2009-08-04texenv: Add missing dependency on VP changes.Brian Paul
Funny thing is I annotated this dependency in e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it. (cherry picked from master, commit 03187571b63d97e3d1406d329c5e760e16ef3181) Conflicts: src/mesa/main/state.c
2009-08-04Add missing X11_INCLUDES to egl/drivers/demo and egl/main.Peter Hutterer
Compiling mesa on a system with no X headers installed in the default include paths fails due to missing X11 includes. The header includes are picked up by configure but not applied. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit 5358e54d1ae64ccfa81199b343a2931b415fcc0a)
2009-08-04r300g: Slightly saner initialization of some texture / transfer fields.Michel Dänzer
2009-08-03i965: Assert that the offset in the VBO is below the VBO size.Eric Anholt
This avoids sending a bad buffer address to the GPU due to programmer error, and is permitted by the ARB_vbo spec. Note that we still have the opportunity to dereference past the end of the GPU, because we aren't clipping to a correct _MaxElement, but that appears to be harder than it should be. This gets us the 90% solution. Bug #19911.
2009-08-03i965: Even if no VS inputs are set, still load some amount of URB as required.Eric Anholt
See comment on Vertex URB Entry Read Length for VS_STATE. This, combined with the previous three commits, fixes #22945.
2009-08-03i965: Make sure the VS URB size is big enough to fit a VF VUE.Eric Anholt
This fix is just from code and docs inspection, but it may fix hangs on some applications.
2009-08-03i965: Don't emit bad packets when no VBs are referenced.Eric Anholt
It appears that sometimes Mesa (and I suppose a VS could as well) emits a program which references no vertex data, and thus we end up with nr_enabled == 0 even though some VBs are enabled. We'd end up emitting VB/VE packet headers of 0xffffffff in that case, leading to GPU hangs. Bug #22945 (wine with an uncompiled VS)
2009-08-03i965: Calculate enabled[] and nr_enabled once and re-use the values.Eric Anholt
The code duplication bothered me.
2009-08-03typo fixRobert Ellison
somehow, this change was missed on the last checkin