Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50: reimplement draw_elements_instance(), use for draw_elements() too | Ben Skeggs | 2010-03-10 | 1 | -159/+93 |
| | | | | | This makes draw_elements()/draw_elements_instanced() do the right thing for the non-inline elements cases, and not require flush_notify(). | ||||
* | nv50: reimplement draw_arrays_instanced(), do draw_arrays() in terms of it | Ben Skeggs | 2010-03-10 | 1 | -144/+134 |
| | | | | | | | | | This makes draw_arrays()/draw_arrays_instanced() do the right thing and not require the (probably broken anyway) flush_notify() usage. It also fixes a potential bug in the behaviour of reading InstanceID from shaders, where 0 should be read for non-instanced drawing, previously it was possible to read non-0 ids if mixing instanced/non-instanced. | ||||
* | nv50: rip out inline push draw paths temporarily | Ben Skeggs | 2010-03-10 | 2 | -551/+12 |
| | |||||
* | nv50: make use of scissor enable/disable method | Ben Skeggs | 2010-03-10 | 4 | -25/+8 |
| | |||||
* | nv50: move magic 0x142c stuff to after state emission | Ben Skeggs | 2010-03-10 | 2 | -11/+8 |
| | |||||
* | nv50: avoid unnecessary vp/gp/fp state changes | Ben Skeggs | 2010-03-10 | 1 | -0/+9 |
| | |||||
* | nv50: remove pre_pipebuffer_map hack.... | Ben Skeggs | 2010-03-10 | 1 | -23/+0 |
| | |||||
* | nv50: remove horrific abuse of nouveau_channel.flush_notify | Ben Skeggs | 2010-03-10 | 2 | -1/+10 |
| | | | | | | | Really though, using this at all is just not a good idea in the 3D driver. I'm almost certain the hardware will not like a reloc appearing between begin()/end().. Anyways, this is still better than before, more fixes to come.. | ||||
* | nv50: always emit dummy relocs for all still-referenced buffers | Ben Skeggs | 2010-03-10 | 1 | -2/+8 |
| | |||||
* | nv50: ensure enough room for state changes in current pushbuf | Ben Skeggs | 2010-03-10 | 4 | -17/+38 |
| | | | | | | | | Also allows the nv50_state_validate() caller to request a minimum amount of space that itself requires, not all callers accurately use this yet but the simple cases are now accounted for. Rendering will also be dropped on the floor if validate fails now. | ||||
* | nv50: rework state emission | Ben Skeggs | 2010-03-10 | 7 | -311/+249 |
| | |||||
* | nv50: use relocs rather than re-uploading TIC all the time | Ben Skeggs | 2010-03-10 | 3 | -2/+32 |
| | |||||
* | r300g: Reorder regs, save one dword. | Corbin Simpson | 2010-03-09 | 1 | -11/+14 |
| | | | | Or, put another way, save 10% on rendering calls. | ||||
* | svga: Don't do culling while the software pipeline is active. | Keith Whitwell | 2010-03-09 | 1 | -2/+11 |
| | | | | | It does it for us, and additionally introduces potentially back-facing triangles. | ||||
* | r300g: kill pf_component_count | Marek Olšák | 2010-03-09 | 1 | -28/+1 |
| | |||||
* | r300g: Precalculate and CSO-bind PSC state. | Corbin Simpson | 2010-03-09 | 4 | -205/+190 |
| | |||||
* | r300g: Cleanup old PSC code a bit. | Corbin Simpson | 2010-03-09 | 1 | -5/+1 |
| | |||||
* | identity: fix copy & paste error | Roland Scheidegger | 2010-03-09 | 1 | -4/+4 |
| | |||||
* | r300g: fix gallium-vertexlementcso merge damage | Roland Scheidegger | 2010-03-09 | 3 | -28/+2 |
| | |||||
* | Merge branch 'gallium-vertexelementcso' | Roland Scheidegger | 2010-03-09 | 44 | -453/+877 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c | ||||
| * | gallium: don't use flexible array members in drivers for vertex elements cso | Roland Scheidegger | 2010-03-09 | 11 | -11/+11 |
| | | | | | | | | | | | | While this c99 feature should work with most compilers, valgrind doesn't really like it, and this only really saves some memory, we don't do this in similar occasions (like the blend state) neither. | ||||
| * | r300g: Make velem CSO actually work. | Corbin Simpson | 2010-03-02 | 3 | -7/+12 |
| | | | | | | | | glxgears runs again. | ||||
| * | nv40: adapt to vertex element cso | Roland Scheidegger | 2010-03-01 | 4 | -13/+40 |
| | | |||||
| * | nv30: adapt to vertex element cso | Roland Scheidegger | 2010-03-01 | 3 | -12/+38 |
| | | |||||
| * | identity: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 1 | -15/+39 |
| | | |||||
| * | failover: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 3 | -26/+52 |
| | | |||||
| * | i965g: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 4 | -216/+251 |
| | | |||||
| * | i915g: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 2 | -8/+35 |
| | | |||||
| * | cell: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 2 | -12/+37 |
| | | |||||
| * | r300g: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 6 | -25/+50 |
| | | |||||
| * | llvmpipe: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 4 | -17/+42 |
| | | |||||
| * | softpipe: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 4 | -17/+44 |
| | | |||||
| * | svga: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 6 | -21/+45 |
| | | |||||
| * | trace: adapt to new vertex element cso | Roland Scheidegger | 2010-03-01 | 1 | -24/+67 |
| | | |||||
| * | nv50: adapt to vertex elements cso | Christoph Bumiller | 2010-02-26 | 3 | -43/+85 |
| | | |||||
| * | gallium: remove redundant nr_components field from pipe_vertex_element | Roland Scheidegger | 2010-02-17 | 3 | -13/+20 |
| | | | | | | | | | | This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead. | ||||
* | | nv30: fix typo | David Heidelberger | 2010-03-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: David Heidelberger <[email protected]> | ||||
* | | Squashed commit of gallium-no-texture-blanket | Keith Whitwell | 2010-03-09 | 15 | -381/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f90b3f01af82b9522067b1824e21709a6fb2d3af Author: Keith Whitwell <[email protected]> Date: Mon Mar 8 14:39:44 2010 +0000 gallium: remove p_screen::surface_buffer_create This isn't very useful without texture_blanket(), which has also been removed. Note that this function hasn't been removed from the old pipe_winsys (u_simple_screen) still used internally by some drivers (eg softpipe). commit 6c462de39a4b9980a5f034a95e580efdfcb8173b Author: Keith Whitwell <[email protected]> Date: Mon Mar 8 14:27:40 2010 +0000 egl/x11: disable texture_blanket usage commit b42da9160df9f47224e5b3291b972f41767aa6e5 Merge: 4be2436 3ca9336 Author: Keith Whitwell <[email protected]> Date: Mon Mar 8 14:27:24 2010 +0000 Merge commit 'origin/master' into gallium-no-texture-blanket Conflicts: src/gallium/drivers/svga/svga_screen_texture.c commit 4be2436316929e3dfc55bc34d810920c06556b66 Author: Keith Whitwell <[email protected]> Date: Thu Mar 4 14:59:26 2010 +0000 gallium: remove texture blanket call No longer needed, except for nouveau and egl/xll/native_ximage.c. Fix for nouveau is to keep the call, but move it to an internal function within nouveau. Fix for that egl/x11 relies on gallium-sw-api branch or its successor. commit 69b6764330367d63c237d0bde9fb96435d0e0257 Author: Keith Whitwell <[email protected]> Date: Thu Mar 4 13:35:16 2010 +0000 drm_api: wrap comment | ||||
* | | r300g: remove hacks from translate_vertex_data_swizzle | Marek Olšák | 2010-03-09 | 1 | -20/+4 |
| | | | | | | | | The first part of the fix of BGRA vertex colors. | ||||
* | | softpipe: quads never provoke the first vertex | Marek Olšák | 2010-03-09 | 1 | -68/+12 |
| | | |||||
* | | llvmpipe: quads never provoke the first vertex | Marek Olšák | 2010-03-09 | 1 | -93/+36 |
| | | |||||
* | | llvmpipe/gallivm: checkpoint: array of pointers to mipmap levels | Brian Paul | 2010-03-08 | 4 | -17/+33 |
| | | | | | | | | | | | | | | Change the texture data_ptr from just a single image pointer to an array of image pointers, indexed by mipmap level. We'll use this for mipmap filtering. For now, the mipmap level is hard-coded to zero. | ||||
* | | nv: define NV30/40/50_MAX_TEXTURE_LEVELS | Brian Paul | 2010-03-08 | 3 | -3/+9 |
| | | |||||
* | | r300g: define R300_MAX_TEXTURE_LEVELS | Brian Paul | 2010-03-08 | 1 | -6/+8 |
| | | |||||
* | | svga: s/PIPE_MAX_TEXTURE_LEVELS/SVGA_MAX_TEXTURE_LEVELS/ | Brian Paul | 2010-03-08 | 1 | -1/+1 |
| | | |||||
* | | i915g: define I915_MAX_TEXTURE_2D/3D_LEVELS | Brian Paul | 2010-03-08 | 3 | -7/+10 |
| | | |||||
* | | i965g: define BRW_MAX_TEXTURE_2D/3D_LEVELS | Brian Paul | 2010-03-08 | 2 | -6/+9 |
| | | |||||
* | | softpipe: define SP_MAX_TEXTURE_2D/3D_LEVELS | Brian Paul | 2010-03-08 | 2 | -5/+9 |
| | | |||||
* | | llvmpipe: define max texture levels | Brian Paul | 2010-03-08 | 2 | -5/+9 |
| | | |||||
* | | llvmpipe: rewrap for 80 columns | Brian Paul | 2010-03-08 | 1 | -9/+13 |
| | |