summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-09-02st/mesa: Do GL_RGBA->GL_RGB texsubimage on hardwareKeith Whitwell
State tracker currently backs GL_RGB textures with RGBA almost always. This means we need to maintain A==1 in these textures to give correct GL_RGB sampling results. This change offloads the RGBA->RGB copy to hardware using the new writemask version of u_blit_pixels. More src/dstLogical/dstActual triples could be shifted to hardware by this technique in future patches.
2009-09-02Revert "mesa: fix the non-GNU C bit-field case"Brian Paul
This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4. Don't know what I was thinking there.
2009-09-02mesa: fix the non-GNU C bit-field caseBrian Paul
2009-09-02mesa: silence gcc bit-field warningGary Wong
2009-09-02mesa: replace 8 with NUM_UNITSBrian Paul
2009-09-02mesa: remove accidentally committed printfBrian Paul
2009-09-02mesa: added #ifdef __GNUC__ around GLubyte bitfield usageBrian Paul
It would be nice if there were a #pragma or something to disable the warnings: main/texenvprogram.c:87: warning: type of bit-field ‘Source’ is a GCC extension main/texenvprogram.c:88: warning: type of bit-field ‘Operand’ is a GCC extension but there doesn't appear to be a way to do that.
2009-09-02mesa: Compact state key for TexEnv program cacheChris Wilson
By rearranging the bitfields within the key we can reduce the size of the key from 644 to 196 bytes, reducing the cost of both the hashing and equality tests.
2009-09-02i965: CS FENCE in URB_FENCE is 11-bits wideXiang, Haihao
2009-09-02i965: validate sf stateXiang, Haihao
2009-09-01mesa: Make MultiDrawElements submit multiple primitives at once.Eric Anholt
Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <ian.d.romanick@intel.com>
2009-09-01mesa: skip bitmap drawing code if width==0 or height==0Brian Paul
2009-09-01intel: use _mesa_expand_bitmap() to skip an intermediate bufferBrian Paul
2009-09-01st/mesa: use new _mesa_expand_bitmap() functionBrian Paul
2009-09-01mesa: new _mesa_expand_bitmap() functionBrian Paul
2009-09-01mesa: remove redundant assignmentsBrian Paul
2009-09-01mesa: more clean-upsBrian Paul
2009-09-01mesa: change conditional to match the previous oneBrian Paul
2009-09-01mesa: updated #includesBrian Paul
2009-09-01mesa: remove unused texenv_fragment_program::ctx fieldBrian Paul
2009-09-01mesa: remove unused ureg::abs fieldBrian Paul
2009-09-01mesa: remove unused ureg:negateabs fieldBrian Paul
2009-09-01mesa: more comments, clean-upsBrian Paul
2009-09-01mesa: simplify translate_tex_src_bit()Brian Paul
2009-09-01mesa: minor code clean-ups, commentsBrian Paul
2009-09-01mesa: replace 8 with MAX_TEXTURE_UNITSBrian Paul
2009-09-01dri: remove unused meta_clear_tris()Brian Paul
2009-09-01intel: use BUFFER_BITS_COLORBrian Paul
2009-09-01intel: fix incorrect parameter type for intel_bufferobj_map_range()Brian Paul
2009-09-01radeon: trim down #includesBrian Paul
2009-09-01radeon: use _mesa_meta_clear()Brian Paul
2009-09-01mesa: obey stencil write mask in _mesa_meta_draw_pixels()Brian Paul
2009-09-01intel: set Length/Offset fields in intel_bufferobj_map()Brian Paul
2009-09-01intel: use _mesa_meta_copy_pixels() when do_blit_copypixels() failsBrian Paul
Also, trim down #includes.
2009-09-01intel: trim down #includesBrian Paul
2009-09-01intel: use _mesa_meta_draw_pixels()Brian Paul
The textured quad path is slightly faster and will work with POT textures on i945.
2009-09-01intel: trim down #includesBrian Paul
2009-09-01intel: use _mesa_meta_clear(), it's a bit fasterBrian Paul
2009-09-02radeon: Fix OQ to set ful lstate as dirty too.Pauli Nieminen
2009-09-02radeon: Fix debug output to filter out less critical messages instead of ↵Pauli Nieminen
more critical.
2009-09-01ARB prog parser: Fix handling of stateOptModMatNumIan Romanick
The optional array index should clearly be enclosed in square brackets. This helps the oglconform test vp_binding.c get a bit farther, but it still fails.
2009-09-01radeon: fix r100/r200 polygon stipple under kmsDave Airlie
There really need to use state emits under kms, otherwise we end up with some dwords in the command buffer before we've ever emitted any useful state. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-01r100: fixup cubemap domainsDave Airlie
2009-08-31xlib: plug in more meta functions, if TEST_META_FUNCS is setBrian Paul
2009-08-31mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer()Brian Paul
2009-08-31mesa: disable another debug testBrian Paul
2009-08-31mesa: make verts[] arrays local varsBrian Paul
2009-09-01r200: emit cube for kms correctly + fix tex emit resetDave Airlie
CS checker found some issues.
2009-08-31xlib: option to enable/test meta functions (disabled)Brian Paul
2009-08-31mesa: implement depth/stencil formats for meta glDrawPixelsBrian Paul