summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
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-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-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-24gallium: fix inverted raster pos when drawing into FBOBrian Paul
2008-11-24mesa: Don't call fence_finish with a null fence.José Fonseca
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-06gallium: added st_print_shaders() function to help w/ debuggingBrian Paul
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-10-18gallium: add some checks for null surface pointers in state trackerBrian Paul
Fixes some segfaults in low memory situations.
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-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-09mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAMBrian Paul
Check for per-vertex point size must be done when vertex program changes.
2008-10-07Mesa: fix the case where there are no vertex attributes.Stephane Marchesin
This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1
2008-10-06mesa: fix convolve/convolution mix-upsBrian
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-19mesa: Fix arb parse constantsBrian Paul
2008-09-18gallium: if we run out of memory in st_TexImage, flush and try again.Brian Paul
If the driver buffers a scene flushing should release old textures and make space for new ones. Fixes problem with texdown.c test.
2008-09-17gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversionBrian Paul
2008-09-17gallium: clean-up/fix msaa override in state trackerBrian Paul
2008-09-17gallium: include prog_print.h to silence warningBrian Paul
2008-09-17gallium: need to finish, not flush, in st_copy_texsubimage()Brian Paul
2008-09-17gallium: new assertion on surface->textureBrian Paul
2008-09-17tgsi: Add a ugly fix for CONSTANT problemsJakob Bornecrantz
2008-09-17tgsi: More debug printing on sanity check errorJakob Bornecrantz
2008-09-16gallium: fix glTexImage(width=height=depth=0) caseBrian Paul
Free old teximage/level data, then stop.
2008-09-16gallium: move _vbo_DestroyContext() callBrian Paul
Call it before freeing core Mesa state to avoid references to freed buffer objects.
2008-09-16mesa: State tracker now checks for faulty shaders on debugJakob Bornecrantz
2008-09-05gallium: document that clear color is intentionally always ↵Brian Paul
PIPE_FORMAT_A8R8G8B8_UNORM
2008-09-04gallium: remove the copyHeight hack for compresssed formatsBrian Paul
2008-09-04mesa: Remove unused var.José Fonseca
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
2008-09-01gallium: added st_bind/release_teximage() functionsBrian Paul
2008-09-01gallium: move st_texture_image() cast wrapper to header fileBrian Paul
2008-08-28gallium: change the conditional which tests for combined Z+stencil buffersBrian Paul
The caller might be requesting 16-bit Z + 8-bit stencil be placed in a PIPE_FORMAT_S8Z24 or PIPE_FORMAT_Z24S8 buffer.
2008-08-27gallium: better support for user-space interleaved arraysBrian Paul
Basically, set up one user-space wrapper for all arrays instead of the individual arrays.
2008-08-27gallium: in st_draw_vbo() try to detect interleaved arrays in a single VBO.Brian Paul
2008-08-27gallium: remove old assertionsBrian Paul
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul
2008-08-19gallium: implement a fast-path for glReadPixels for common casesBrian Paul
2008-08-19gallium: do a proper implementation of GL_OES_read_formatBrian Paul
Examine the currently bound color buffer's format to see if there's a good format/type match.
2008-08-19mesa: Call pipe->destroy on context destruction for all platforms.José Fonseca
2008-08-19st: Do not translate program constants to immediates whenMichal Krol
indirect addressing used.