aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: further tighen up sample_cube()Brian Paul2010-03-111-45/+21
| | | | The code can fairly easily be translated to llvm...
* softpipe: tighten up the code in sample_cube()Brian Paul2010-03-111-62/+38
|
* gallivm/llvmpipe: replace 'int stride' with 'int row_stride[MAX_LEVELS]'Brian Paul2010-03-114-8/+10
| | | | | | | The stride depends on the mipmap level. Rename to row_stride to distinguish from img_stride for 3D textures. Fixes incorrect texel addressing in small mipmap levels.
* llvmpipe: fix comment typoBrian Paul2010-03-111-1/+1
|
* gallivm/llvmpipe: include os_llvm.h instead of llvm-c/Core.hBrian Paul2010-03-116-7/+8
|
* svga: use memset() to initialize u to avoid warningsBrian Paul2010-03-111-1/+3
|
* softpipe: Dummy fence functions.José Fonseca2010-03-115-0/+114
|
* llvmpipe: fix loop over mipmap levelsBrian Paul2010-03-101-1/+1
|
* softpipe: fix memcpy params to avoid static analysis warningsBrian Paul2010-03-102-2/+12
| | | | See fd.o bug 26970. Also added sanity check assertions.
* cell: handle NULL cso vertex_elements state object on bindRoland Scheidegger2010-03-101-1/+2
| | | | | | | | drivers need to handle NULL cso vertex elements (and others) objects. It is possible the cso code saves/restores NULL objects (if no normal cso object was bound before this was invoked). This led to segfaults (for example demos/cubemap) for apps which were using things like creating mipmaps before drawing anything.
* i915g: Prevent NULL dereference.Chia-I Wu2010-03-101-1/+4
| | | | | bind_vertex_elements_state may be called with NULL velems. Do nothing if that is the case.
* svga: Disable debug message.Michal Krol2010-03-101-1/+1
|
* svga: Check if vertex elements has been bound before using it.Michal Krol2010-03-101-0/+5
|
* softpipe: Prevent NULL dereference.José Fonseca2010-03-101-1/+2
|
* trace: Make tr_public.h c++ friendly.José Fonseca2010-03-101-9/+17
|
* trace: include tr_public.hKeith Whitwell2010-03-101-0/+1
|
* Merge commit 'origin/master' into gallium-sw-api-2Keith Whitwell2010-03-1059-1839/+2029
|\
| * llvmpipe: Cope with null Vertex element cso.José Fonseca2010-03-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | CSO can often be null. For example: 1. at initialization 2. using an util module (u_blit) right after initialization (it will push state and pop the previous null state) 3. at shutdown time (state shouldn't be bound when being destroyed) Glean was hitting 2.
| * nouveau: translate PIPE_BUFFER_USAGE_UNSYNCHRONIZEDBen Skeggs2010-03-101-1/+1
| |
| * nv50: inline nv50_state_flush_notify()Ben Skeggs2010-03-102-16/+6
| | | | | | | | It's (rightly) not called from anywhere else now
| * nv50: remove nv50_context.state.instbufBen Skeggs2010-03-102-6/+0
| |
| * nv50: remove unnecessary macroBen Skeggs2010-03-101-3/+2
| |
| * nv50: move nv50_prim() into a header file rather than duplicatingBen Skeggs2010-03-103-62/+31
| |
| * nv50: add option to force immediate-mode submission, disable by defaultBen Skeggs2010-03-103-4/+14
| |
| * nv50: re-add immediate mode vertex submission pathsBen Skeggs2010-03-104-8/+399
| |
| * nv50: when doing inline indices, split elt lists so they fit into pushbufBen Skeggs2010-03-102-85/+202
| |
| * nv50: reimplement draw_elements_instance(), use for draw_elements() tooBen Skeggs2010-03-101-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 itBen Skeggs2010-03-101-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 temporarilyBen Skeggs2010-03-102-551/+12
| |
| * nv50: make use of scissor enable/disable methodBen Skeggs2010-03-104-25/+8
| |
| * nv50: move magic 0x142c stuff to after state emissionBen Skeggs2010-03-102-11/+8
| |
| * nv50: avoid unnecessary vp/gp/fp state changesBen Skeggs2010-03-101-0/+9
| |
| * nv50: remove pre_pipebuffer_map hack....Ben Skeggs2010-03-101-23/+0
| |
| * nv50: remove horrific abuse of nouveau_channel.flush_notifyBen Skeggs2010-03-102-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 buffersBen Skeggs2010-03-101-2/+8
| |
| * nv50: ensure enough room for state changes in current pushbufBen Skeggs2010-03-104-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 emissionBen Skeggs2010-03-107-311/+249
| |
| * nv50: use relocs rather than re-uploading TIC all the timeBen Skeggs2010-03-103-2/+32
| |
| * r300g: Reorder regs, save one dword.Corbin Simpson2010-03-091-11/+14
| | | | | | | | Or, put another way, save 10% on rendering calls.
| * svga: Don't do culling while the software pipeline is active.Keith Whitwell2010-03-091-2/+11
| | | | | | | | | | It does it for us, and additionally introduces potentially back-facing triangles.
| * r300g: kill pf_component_countMarek Olšák2010-03-091-28/+1
| |
| * r300g: Precalculate and CSO-bind PSC state.Corbin Simpson2010-03-094-205/+190
| |
| * r300g: Cleanup old PSC code a bit.Corbin Simpson2010-03-091-5/+1
| |
| * identity: fix copy & paste errorRoland Scheidegger2010-03-091-4/+4
| |
| * r300g: fix gallium-vertexlementcso merge damageRoland Scheidegger2010-03-093-28/+2
| |
| * Merge branch 'gallium-vertexelementcso'Roland Scheidegger2010-03-0944-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 csoRoland Scheidegger2010-03-0911-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 Simpson2010-03-023-7/+12
| | | | | | | | | | | | glxgears runs again.
| | * nv40: adapt to vertex element csoRoland Scheidegger2010-03-014-13/+40
| | |
| | * nv30: adapt to vertex element csoRoland Scheidegger2010-03-013-12/+38
| | |