summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2009-01-08wgl: Do not provide DllMain inside the state tracker.José Fonseca
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.
2009-01-08wgl: Ensure public symbols get the proper DLL linkage attributes.José Fonseca
2009-01-04gallium: fix MaxTextureCoordUnits initBrian Paul
Fixes Cell regression.
2009-01-02gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul
2009-01-02gallium: fix texcoord loop for rasterpos attributesBrian Paul
2009-01-02gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul
2008-12-30gallium: Remove unused variables.José Fonseca
2008-12-19gallium: set ST_NEW_FRAMEBUFFER when setting new surfacesAlan Hourihane
2008-12-18gallium: fix two-sided lighting test in state trackerBrian Paul
This fixes two-sided lighting for vertex shaders.
2008-12-15Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: src/gallium/winsys/gdi/SConscript
2008-12-12mesa: move declarationAlan Hourihane
2008-12-12mesa: when we have interleaved arrays, check bounds for bothAlan Hourihane
VBO's and user space objects
2008-12-12gallium: fix refcount bug introduced in eb20e2984Keith Whitwell
2008-12-12gallium: avoid mapping same vertex buffer in subsequent framesKeith Whitwell
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.
2008-12-12st: reduce unnecessary calls to pipe->set_vertex_buffers()Keith Whitwell
2008-12-12st: move feedback draw function to new fileKeith Whitwell
2008-12-12st: don't unilaterally ABS the argument to RSQKeith Whitwell
2008-12-12mesa: Bring in new mesa sub-statetracker.José Fonseca
Some code cleanup is still in order.
2008-12-12gallium: fixes for srgb, new srgb formatsRoland Scheidegger
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)
2008-12-10Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-12-10gallium: only mark back color buffer surfaces as undefined after swapbuffersBrian Paul
Marking all surfaces as undefined was wrong and cause some glean failures because glReadPixels was used after SwapBuffers.
2008-12-04gallium: query PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS to set ↵Brian
ctx->Constants.MaxVertexTextureImageUnits
2008-12-04gallium: check vertex shaders for samplers/texture usage as we do for ↵Brian
fragment shaders
2008-11-28Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: src/gallium/auxiliary/tgsi/tgsi_sse2.c
2008-11-26gallium: fix glBitmap color bugBrian Paul
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.
2008-11-26gallium: replace 2 with PIPE_SHADER_TYPESBrian Paul
2008-11-25Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h
2008-11-24gallium: fix inverted raster pos when drawing into FBOBrian Paul
2008-11-24mesa: pass shader centroid/invariant info through to the TGSI shaderBrian Paul
2008-11-24mesa: Don't call fence_finish with a null fence.José Fonseca
2008-11-21mesa: Bring in new mesa sub-statetracker.José Fonseca
Some code cleanup is still in order.
2008-11-19add SRGB formatsAlan Hourihane
2008-11-13gallium: add st_set_teximage_surface for EXT_texture_from_pixmapBen Skeggs
support.
2008-11-10Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: src/gallium/auxiliary/util/u_math.c
2008-11-10Mesa: fix number of buffers in st_draw_vbo().Pekka Paalanen
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 <pq@iki.fi>
2008-11-07gallium: translate DP2, DP2A, NRM3, NRM4, SSG opcodesBrian Paul
2008-11-06gallium: s/OPCODE_INT/OPCODE_TRUNC/Brian Paul
2008-11-06Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-11-06gallium: added st_print_shaders() function to help w/ debuggingBrian Paul
2008-11-05Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
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
2008-11-05gallium: added check for degenerate drawing callsBrian Paul
2008-11-05gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵Brian Paul
draw time This will warn the user that the shader being run may be using uninitialized uniform variables.
2008-11-03gallium: no renderbuffer, so just exit.Alan Hourihane
2008-11-03softpipe: Don't call pipe_buffer_destroy directly.José Fonseca
Use pipe_buffer_reference instead.
2008-10-18gallium: add some checks for null surface pointers in state trackerBrian Paul
Fixes some segfaults in low memory situations.
2008-10-17Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: progs/trivial/tri.c
2008-10-17gallium: fix mis-matched malloc/free vs. aligned malloc/freeBrian Paul
Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined.
2008-10-15Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/main/context.c
2008-10-10mesa: new _mesa_set_vp_override() function for driver-override of vertex programBrian Paul
Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
2008-10-10Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c