Commit graph

25767 commits

Author SHA1 Message Date
Xiang, Haihao
f5539b6991 i965: validate sf state 2009-09-02 13:28:23 +08:00
Eric Anholt
60b08eb1fd mesa: Make MultiDrawElements submit multiple primitives at once.
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-01 20:35:19 -07:00
Ben Skeggs
a82cd55a5c nv50: SWZ is the same as MOV from our perspective 2009-09-02 12:05:34 +10:00
Brian Paul
282f578dbd mesa: skip bitmap drawing code if width==0 or height==0 2009-09-01 17:40:07 -06:00
Brian Paul
29e22059a9 intel: use _mesa_expand_bitmap() to skip an intermediate buffer 2009-09-01 17:39:32 -06:00
Brian Paul
d5b6dd0001 st/mesa: use new _mesa_expand_bitmap() function 2009-09-01 17:39:32 -06:00
Brian Paul
278e76832f mesa: new _mesa_expand_bitmap() function 2009-09-01 17:39:32 -06:00
Brian Paul
921bbfc942 mesa: remove redundant assignments 2009-09-01 17:39:32 -06:00
Brian Paul
457e427e32 mesa: more clean-ups 2009-09-01 17:39:32 -06:00
Brian Paul
84d6bed4d6 mesa: change conditional to match the previous one 2009-09-01 17:39:32 -06:00
Brian Paul
25e5a6f279 mesa: updated #includes 2009-09-01 17:39:32 -06:00
Brian Paul
95136694ab mesa: remove unused texenv_fragment_program::ctx field 2009-09-01 17:39:32 -06:00
Brian Paul
1480bcacfe mesa: remove unused ureg::abs field 2009-09-01 17:39:32 -06:00
Brian Paul
c7ba2b8622 mesa: remove unused ureg:negateabs field 2009-09-01 17:39:32 -06:00
Brian Paul
9ed0315271 mesa: more comments, clean-ups 2009-09-01 17:39:31 -06:00
Brian Paul
b5ec0a6858 mesa: simplify translate_tex_src_bit() 2009-09-01 17:39:31 -06:00
Brian Paul
f337e2c495 mesa: minor code clean-ups, comments 2009-09-01 17:39:31 -06:00
Brian Paul
d55a28e3dc mesa: replace 8 with MAX_TEXTURE_UNITS 2009-09-01 17:39:31 -06:00
Brian Paul
51334d8401 dri: remove unused meta_clear_tris() 2009-09-01 17:39:31 -06:00
Brian Paul
c2542cdaff intel: use BUFFER_BITS_COLOR 2009-09-01 17:39:31 -06:00
Brian Paul
5353961344 intel: fix incorrect parameter type for intel_bufferobj_map_range() 2009-09-01 17:39:31 -06:00
Brian Paul
85d3562385 radeon: trim down #includes 2009-09-01 17:39:31 -06:00
Brian Paul
18916986b4 radeon: use _mesa_meta_clear() 2009-09-01 17:39:30 -06:00
Brian Paul
92d63931e2 mesa: obey stencil write mask in _mesa_meta_draw_pixels() 2009-09-01 17:39:30 -06:00
Brian Paul
a1e869b417 intel: set Length/Offset fields in intel_bufferobj_map() 2009-09-01 17:39:30 -06:00
Brian Paul
15e6d08670 intel: use _mesa_meta_copy_pixels() when do_blit_copypixels() fails
Also, trim down #includes.
2009-09-01 17:39:30 -06:00
Brian Paul
be229d24c4 intel: trim down #includes 2009-09-01 17:39:30 -06:00
Brian Paul
886a0a7150 intel: use _mesa_meta_draw_pixels()
The textured quad path is slightly faster and will work with POT textures
on i945.
2009-09-01 17:39:30 -06:00
Brian Paul
90cba4a839 intel: trim down #includes 2009-09-01 17:39:30 -06:00
Brian Paul
50d8b295f6 intel: use _mesa_meta_clear(), it's a bit faster 2009-09-01 17:39:30 -06:00
Pauli Nieminen
06bf6628aa radeon: Fix OQ to set ful lstate as dirty too. 2009-09-02 02:04:10 +03:00
Pauli Nieminen
9f650e19dd radeon: Fix debug output to filter out less critical messages instead of more critical. 2009-09-02 02:04:10 +03:00
Zack Rusin
7e4487ad5c st/xorg: getting indexes right tends to be helpful 2009-09-01 19:01:05 -04:00
Zack Rusin
5c746d9214 st/xorg: redo the vertex shader 2009-09-01 18:59:01 -04:00
Zack Rusin
a8cbb15632 st/xorg: setup solid fills 2009-09-01 17:49:32 -04:00
Zack Rusin
811aa02c7a st/xorg: fold back the helper function into core 2009-09-01 14:44:55 -04:00
Zack Rusin
91c366359c st/xorg: start rendering and compositing pictures 2009-09-01 14:44:55 -04:00
Ian Romanick
847bc5c852 ARB prog parser: Fix handling of stateOptModMatNum
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-01 11:11:31 -07:00
Keith Whitwell
b3f4b56a3b tgsi: remove redundant CND0 opcode
Can be implemented with CMP src2, src1, src0
2009-09-01 17:30:01 +01:00
José Fonseca
836a9f0ae6 scons: Tool for LLVM. Gracefully disable llvmpipe if LLVM not found. 2009-09-01 12:26:00 +01:00
Jakob Bornecrantz
8c3f622a34 trace: Don't set surface_[fill|copy] if not set on pipe 2009-09-01 11:56:14 +02:00
Cooper Yuan
165e87c491 r300g: Fix clear issue on r300 2009-09-01 17:59:03 +08:00
Dave Airlie
7d36153766 radeon: fix r100/r200 polygon stipple under kms
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-01 16:06:02 +10:00
Dave Airlie
a2bd13fec9 r100: fixup cubemap domains 2009-09-01 15:18:17 +10:00
Brian Paul
ae5d78198f xlib: plug in more meta functions, if TEST_META_FUNCS is set 2009-08-31 21:15:39 -06:00
Brian Paul
056612241a mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer() 2009-08-31 21:15:39 -06:00
Brian Paul
7a78e6e8af mesa: disable another debug test 2009-08-31 21:15:38 -06:00
Brian Paul
5b0f7c6c3b mesa: make verts[] arrays local vars 2009-08-31 21:15:38 -06:00
Dave Airlie
97aa3d553f r200: emit cube for kms correctly + fix tex emit reset
CS checker found some issues.
2009-09-01 12:54:48 +10:00
Brian Paul
8126dfa9c2 xlib: option to enable/test meta functions (disabled) 2009-08-31 19:34:47 -06:00