summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* stw: Dispatch to our stw_winsys::flush_front_bufferJosé Fonseca2009-01-162-0/+27
| | | | | pipe_winsys::flush_front_buffer should die someday, but this is good enough for now.
* mesa: tweak to formattingAlan Hourihane2009-01-151-2/+2
|
* mesa: small cleanupAlan Hourihane2009-01-151-6/+5
|
* mesa: revert partial commit for 0x0 render targetsAlan Hourihane2009-01-151-5/+4
|
* mesa: handle some cases of 0x0 render targetsAlan Hourihane2009-01-143-8/+15
|
* st: build fixAlan Hourihane2009-01-091-1/+0
|
* wgl: Do not provide DllMain inside the state tracker.José Fonseca2009-01-085-24/+19
| | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
* wgl: Ensure public symbols get the proper DLL linkage attributes.José Fonseca2009-01-0813-36/+52
|
* gallium: fix MaxTextureCoordUnits initBrian Paul2009-01-041-2/+3
| | | | Fixes Cell regression.
* gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul2009-01-025-7/+13
|
* gallium: fix texcoord loop for rasterpos attributesBrian Paul2009-01-021-1/+1
|
* gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul2009-01-021-1/+2
|
* gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
|
* gallium: set ST_NEW_FRAMEBUFFER when setting new surfacesAlan Hourihane2008-12-191-0/+11
|
* gallium: fix two-sided lighting test in state trackerBrian Paul2008-12-181-3/+6
| | | | This fixes two-sided lighting for vertex shaders.
* Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-1514-253/+392
|\ | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| * gallium: fix refcount bug introduced in eb20e2984Keith Whitwell2008-12-121-4/+5
| |
| * gallium: avoid mapping same vertex buffer in subsequent framesKeith Whitwell2008-12-1210-25/+99
| | | | | | | | | | | | | | | | | | | | | | Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame.
| * st: reduce unnecessary calls to pipe->set_vertex_buffers()Keith Whitwell2008-12-121-5/+14
| |
| * st: move feedback draw function to new fileKeith Whitwell2008-12-123-226/+275
| |
| * st: don't unilaterally ABS the argument to RSQKeith Whitwell2008-12-121-3/+9
| |
| * mesa: Bring in new mesa sub-statetracker.José Fonseca2008-12-1225-0/+4450
| | | | | | | | Some code cleanup is still in order.
* | mesa: move declarationAlan Hourihane2008-12-121-1/+2
| |
* | mesa: when we have interleaved arrays, check bounds for bothAlan Hourihane2008-12-121-9/+8
| | | | | | | | VBO's and user space objects
* | gallium: fixes for srgb, new srgb formatsRoland Scheidegger2008-12-122-9/+84
| | | | | | | | | | | | | | | | add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: the util code for generating mipmaps will not handle srgb formats correctly (would need to use a linear->srgb conversion shader)
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-101-9/+11
|\|
| * gallium: only mark back color buffer surfaces as undefined after swapbuffersBrian Paul2008-12-101-9/+11
| | | | | | | | | | Marking all surfaces as undefined was wrong and cause some glean failures because glReadPixels was used after SwapBuffers.
* | gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ↵Brian2008-12-041-0/+3
| | | | | | | | ctx->Constants.MaxVertexTextureImageUnits
* | gallium: check vertex shaders for samplers/texture usage as we do for ↵Brian2008-12-042-13/+27
| | | | | | | | fragment shaders
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-11-282-7/+19
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_sse2.c
| * gallium: fix glBitmap color bugBrian Paul2008-11-261-6/+18
| | | | | | | | | | | | By time we get around to rendering the cached bitmap, the current color may have changed. Need to make sure we load the constant slot with the cached color.
| * gallium: replace 2 with PIPE_SHADER_TYPESBrian Paul2008-11-261-1/+1
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-11-252-3/+8
|\| | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h
| * gallium: fix inverted raster pos when drawing into FBOBrian Paul2008-11-241-1/+4
| |
| * mesa: Don't call fence_finish with a null fence.José Fonseca2008-11-241-2/+4
| |
* | mesa: pass shader centroid/invariant info through to the TGSI shaderBrian Paul2008-11-243-37/+80
| |
* | mesa: Bring in new mesa sub-statetracker.José Fonseca2008-11-2125-0/+4450
| | | | | | | | Some code cleanup is still in order.
* | add SRGB formatsAlan Hourihane2008-11-191-0/+26
| |
* | gallium: add st_set_teximage_surface for EXT_texture_from_pixmapBen Skeggs2008-11-132-0/+50
| | | | | | | | support.
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-101-1/+1
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_math.c
| * Mesa: fix number of buffers in st_draw_vbo().Pekka Paalanen2008-11-101-1/+1
| | | | | | | | | | | | | | The clean-up call to pipe->set_vertex_buffers() should use the same number of buffers as the first call. Signed-off-by: Pekka Paalanen <[email protected]>
* | gallium: translate DP2, DP2A, NRM3, NRM4, SSG opcodesBrian Paul2008-11-071-0/+15
| |
* | gallium: s/OPCODE_INT/OPCODE_TRUNC/Brian Paul2008-11-061-2/+2
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-062-0/+20
|\|
| * gallium: added st_print_shaders() function to help w/ debuggingBrian Paul2008-11-062-0/+20
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-054-13/+56
|\| | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
| * gallium: added check for degenerate drawing callsBrian Paul2008-11-051-0/+3
| |
| * gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵Brian Paul2008-11-051-0/+27
| | | | | | | | | | | | | | draw time This will warn the user that the shader being run may be using uninitialized uniform variables.
| * gallium: add some checks for null surface pointers in state trackerBrian Paul2008-10-183-12/+25
| | | | | | | | Fixes some segfaults in low memory situations.
* | gallium: no renderbuffer, so just exit.Alan Hourihane2008-11-031-1/+3
| |