Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wgl: Do not provide DllMain inside the state tracker. | José Fonseca | 2009-01-06 | 5 | -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é Fonseca | 2009-01-06 | 13 | -36/+52 |
| | |||||
* | mesa: pass shader centroid/invariant info through to the TGSI shader | Brian Paul | 2009-01-06 | 3 | -37/+80 |
| | | | | (cherry picked from commit c5b52b5e0e6f6e47c3953076fa788921b1c5a5e2) | ||||
* | gallium: fix two-sided lighting test in state tracker | Brian Paul | 2008-12-18 | 1 | -3/+6 |
| | | | | This fixes two-sided lighting for vertex shaders. | ||||
* | gallium: fix refcount bug introduced in eb20e2984 | Keith Whitwell | 2008-12-12 | 1 | -4/+5 |
| | |||||
* | gallium: avoid mapping same vertex buffer in subsequent frames | Keith Whitwell | 2008-12-12 | 10 | -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 Whitwell | 2008-12-12 | 1 | -5/+14 |
| | |||||
* | st: move feedback draw function to new file | Keith Whitwell | 2008-12-12 | 3 | -226/+275 |
| | |||||
* | st: don't unilaterally ABS the argument to RSQ | Keith Whitwell | 2008-12-12 | 1 | -3/+9 |
| | |||||
* | mesa: Bring in new mesa sub-statetracker. | José Fonseca | 2008-12-12 | 25 | -0/+4450 |
| | | | | Some code cleanup is still in order. | ||||
* | gallium: only mark back color buffer surfaces as undefined after swapbuffers | Brian Paul | 2008-12-10 | 1 | -9/+11 |
| | | | | | Marking all surfaces as undefined was wrong and cause some glean failures because glReadPixels was used after SwapBuffers. | ||||
* | gallium: fix glBitmap color bug | Brian Paul | 2008-11-26 | 1 | -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_TYPES | Brian Paul | 2008-11-26 | 1 | -1/+1 |
| | |||||
* | gallium: fix inverted raster pos when drawing into FBO | Brian Paul | 2008-11-24 | 1 | -1/+4 |
| | |||||
* | mesa: Don't call fence_finish with a null fence. | José Fonseca | 2008-11-24 | 1 | -2/+4 |
| | |||||
* | Mesa: fix number of buffers in st_draw_vbo(). | Pekka Paalanen | 2008-11-10 | 1 | -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: added st_print_shaders() function to help w/ debugging | Brian Paul | 2008-11-06 | 2 | -0/+20 |
| | |||||
* | gallium: added check for degenerate drawing calls | Brian Paul | 2008-11-05 | 1 | -0/+3 |
| | |||||
* | gallium: if VERBOSE_GLSL flag is set, check for non-initialized uniforms at ↵ | Brian Paul | 2008-11-05 | 1 | -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 tracker | Brian Paul | 2008-10-18 | 3 | -12/+25 |
| | | | | Fixes some segfaults in low memory situations. | ||||
* | gallium: fix mis-matched malloc/free vs. aligned malloc/free | Brian Paul | 2008-10-17 | 1 | -2/+2 |
| | | | | | Use aligned malloc/free for teximage data everywhere to be consistant. The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined. | ||||
* | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian Paul | 2008-10-10 | 1 | -0/+6 |
| | | | | | | | | 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. | ||||
* | mesa: rasterizer state depends on ST_NEW_VERTEX_PROGRAM | Brian Paul | 2008-10-09 | 1 | -1/+4 |
| | | | | Check for per-vertex point size must be done when vertex program changes. | ||||
* | Mesa: fix the case where there are no vertex attributes. | Stephane Marchesin | 2008-10-07 | 1 | -0/+2 |
| | | | | This is a backport of 8e8208d6db8b764568539784a6473d545dec2265 to gallium-0.1 | ||||
* | mesa: fix convolve/convolution mix-ups | Brian | 2008-10-06 | 1 | -2/+2 |
| | |||||
* | gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program() | Brian Paul | 2008-09-26 | 3 | -4/+4 |
| | |||||
* | mesa: Fix arb parse constants | Brian Paul | 2008-09-19 | 1 | -8/+2 |
| | |||||
* | gallium: if we run out of memory in st_TexImage, flush and try again. | Brian Paul | 2008-09-18 | 1 | -2/+9 |
| | | | | | If the driver buffers a scene flushing should release old textures and make space for new ones. Fixes problem with texdown.c test. | ||||
* | gallium: fix fog vs. pointcoord attribute handling in mesa->TGSI conversion | Brian Paul | 2008-09-17 | 1 | -1/+4 |
| | |||||
* | gallium: clean-up/fix msaa override in state tracker | Brian Paul | 2008-09-17 | 4 | -7/+27 |
| | |||||
* | gallium: include prog_print.h to silence warning | Brian Paul | 2008-09-17 | 1 | -0/+1 |
| | |||||
* | gallium: need to finish, not flush, in st_copy_texsubimage() | Brian Paul | 2008-09-17 | 1 | -1/+2 |
| | |||||
* | gallium: new assertion on surface->texture | Brian Paul | 2008-09-17 | 1 | -0/+1 |
| | |||||
* | tgsi: Add a ugly fix for CONSTANT problems | Jakob Bornecrantz | 2008-09-17 | 1 | -0/+9 |
| | |||||
* | tgsi: More debug printing on sanity check error | Jakob Bornecrantz | 2008-09-17 | 1 | -2/+5 |
| | |||||
* | gallium: fix glTexImage(width=height=depth=0) case | Brian Paul | 2008-09-16 | 1 | -0/+5 |
| | | | | Free old teximage/level data, then stop. | ||||
* | gallium: move _vbo_DestroyContext() call | Brian Paul | 2008-09-16 | 1 | -2/+2 |
| | | | | Call it before freeing core Mesa state to avoid references to freed buffer objects. | ||||
* | mesa: State tracker now checks for faulty shaders on debug | Jakob Bornecrantz | 2008-09-16 | 1 | -1/+12 |
| | |||||
* | gallium: document that clear color is intentionally always ↵ | Brian Paul | 2008-09-05 | 1 | -0/+3 |
| | | | | PIPE_FORMAT_A8R8G8B8_UNORM | ||||
* | gallium: remove the copyHeight hack for compresssed formats | Brian Paul | 2008-09-04 | 1 | -4/+1 |
| | |||||
* | mesa: Remove unused var. | José Fonseca | 2008-09-04 | 1 | -1/+0 |
| | |||||
* | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | 2008-09-03 | 8 | -50/+50 |
| | | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | ||||
* | gallium: added st_bind/release_teximage() functions | Brian Paul | 2008-09-01 | 3 | -0/+109 |
| | |||||
* | gallium: move st_texture_image() cast wrapper to header file | Brian Paul | 2008-09-01 | 2 | -7/+6 |
| | |||||
* | gallium: change the conditional which tests for combined Z+stencil buffers | Brian Paul | 2008-08-28 | 1 | -1/+1 |
| | | | | | The caller might be requesting 16-bit Z + 8-bit stencil be placed in a PIPE_FORMAT_S8Z24 or PIPE_FORMAT_Z24S8 buffer. | ||||
* | gallium: better support for user-space interleaved arrays | Brian Paul | 2008-08-27 | 1 | -35/+100 |
| | | | | | Basically, set up one user-space wrapper for all arrays instead of the individual arrays. | ||||
* | gallium: in st_draw_vbo() try to detect interleaved arrays in a single VBO. | Brian Paul | 2008-08-27 | 1 | -27/+149 |
| | |||||
* | gallium: remove old assertions | Brian Paul | 2008-08-27 | 1 | -5/+0 |
| | |||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 8 | -7/+325 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header | Brian Paul | 2008-08-22 | 1 | -0/+1 |
| |