Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-31 | st/mesa: use BITFIELD64_BIT to access shader OutputsWritten in more places | Ben Skeggs | |
2010-03-18 | st/mesa: s/unpack/pack/ to be more consistent | Brian Paul | |
2010-03-17 | st/mesa: fix glCopyPixels bugs/crashes when src region need clipping | Brian Paul | |
Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases. | |||
2010-03-13 | mesa: Fix memory leak in decompress-with-blit. | Keith Whitwell | |
(cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af) | |||
2010-03-11 | st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/ | Brian Paul | |
2010-03-11 | st/mesa: fix st_set_framebuffer_surface() state validation | Brian Paul | |
Set the _NEW_BUFFERS flag and remove the code which updated the parent framebuffer size. Normal Mesa state validation will do that. Fixes issues with Warsow on r300g and possibly other bugs. | |||
2010-03-10 | st/mesa: fix incorrect glCopyPixels between window/FBO | Brian Paul | |
There was a DrawBuffer/ReadBuffer typo and we were neglecting to invert the texture coords when copying from a window to an FBO. Plus, add some surface dump/debug code (disabled). (cherry picked from commit 34f02071618624263eba839b5aeb930d0e794078) | |||
2010-03-10 | st/mesa: fix incorrect glDrawPixels into FBO | Brian Paul | |
We weren't inverting the textured quad when drawing into an fbo. (cherry picked from commit 8d3f629a13afb0d6acafc7a007972fdc5efe6847) | |||
2010-03-08 | st/mesa: don't detach renderbuffer, surface in st_finish_render_texture() | Brian Paul | |
There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932. | |||
2010-03-03 | mesa: Eliminate index parameter to _mesa_feedback_vertex | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-02 | Merge branch 'gallium-format-cleanup' | José Fonseca | |
2010-03-02 | Merge branch 'gallium-no-rhw-position' | Michal Krol | |
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c | |||
2010-03-01 | mesa: Rename pipe formats. | José Fonseca | |
2010-03-01 | mesa: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate. | José Fonseca | |
2010-02-28 | st/mesa: do not advertise S3TC if the external lib is not available | Marek Olšák | |
2010-02-24 | st/mesa: updated comments | Brian Paul | |
2010-02-24 | st/mesa: consolidate redundant format conversion code | Brian Paul | |
2010-02-24 | st/mesa: more format code clean-up and removal | Brian Paul | |
2010-02-24 | st/mesa: clean-ups in FBO code | Brian Paul | |
2010-02-24 | st/mesa: clean-up of format-related code | Brian Paul | |
2010-02-24 | st/mesa: use util_format_get_blocksize() | Brian Paul | |
2010-02-24 | st/mesa: code clean-ups in st_renderbuffer_alloc_storage() | Brian Paul | |
2010-02-24 | mesa: Update for UTIL_FORMAT_LAYOUT_xxx changes. | José Fonseca | |
2010-02-24 | st/mesa: Reset clip state when clearing with quads. | Michal Krol | |
2010-02-24 | st/mesa: Use cso context to manage clip state. | Michal Krol | |
2010-02-23 | st/mesa: whitespace fixes | Brian Paul | |
2010-02-22 | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state. | Michal Krol | |
Needs testing. | |||
2010-02-22 | st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixels | Brian Paul | |
This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the svga driver. Now we use 0.5, 0.5 as is typical for ordinary 3D rendering. (cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5) | |||
2010-02-22 | st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_x | Brian Paul | |
The ST_SURFACE_x values should match the Mesa BUFFER_x values. Added some assertions to prevent future mix-ups. (cherry picked from commit 13cbb5fff68ef8831230638e9f0b29a217750e9d) | |||
2010-02-22 | mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH. | Brian Paul | |
Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd) | |||
2010-02-21 | st/mesa: Fix memory leak on out-of-memory error path. | Vinson Lee | |
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-18 | st/mesa: added some bitmap debug code (disabled) | Brian Paul | |
2010-02-18 | Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)." | Francisco Jerez | |
We probably don't want to propagate this condition to the pipe driver, this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the dri_update_buffer flush altogether until an agreement is reached. | |||
2010-02-18 | st/mesa: always call FLUSH_CURRENT before st->pipe->flush() | Keith Whitwell | |
Undoes part of commit f455ca6 which would permit pipe->flush() to be called while the VBO module still had its buffers mapped. Some drivers care deeply about this. Sorry for not spotting this earlier. | |||
2010-02-17 | st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME). | Francisco Jerez | |
So far the frontbuffer was only being flushed on st_glFlush and st_glFinish, however, a co-state tracker may need to make sure that any frontbuffer changes are already on its way to the actual front. The dri2 state tracker will need this for event-driven GL applications to resize properly (It could also be done calling "dri_flush_frontbuffer", but that way we would flush unnecessarily in the double-buffered case). Additionally this patch avoids flushing the mesa rendering cache if PIPE_FLUSH_RENDER_CACHE wasn't specified. | |||
2010-02-17 | st/mesa: replace conditional with assertion | Brian Paul | |
Core Mesa will not call ctx->Driver.CheckQuery() if the Ready flag is already set. | |||
2010-02-16 | st/dri2: Use event-driven buffer validation. | Francisco Jerez | |
2010-02-14 | st/mesa: minor assorted clean-ups | Brian Paul | |
2010-02-14 | st/mesa: change some function return types | Brian Paul | |
2010-02-14 | st/mesa: move per-fragment shader fields to local vars | Brian Paul | |
2010-02-14 | st/mesa: use _mesa_clone_fragment_program() | Brian Paul | |
2010-02-14 | mesa: Add missing include. | José Fonseca | |
2010-02-14 | mesa: Use util_format_name(). | José Fonseca | |
2010-02-12 | st/mesa: restore draw rasterization stage after rasterpos | Brian Paul | |
This fixes invalid calls to rastpos_point/line/tri() that can occur when glRasterPos() is called while in feedback or selection mode. (cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1) | |||
2010-02-12 | st/mesa: improved draw_range_elements code | Brian Paul | |
Don't use pipe->draw_range_elements() if min_index=max_index=~0 since that doesn't provide any useful info. Also, implement the loop around pipe->draw_range_elements() when nr_prims > 1. | |||
2010-02-12 | st/mesa: rename state -> tgsi, updated comments | Brian Paul | |
2010-02-12 | st/mesa: remove unused var | Brian Paul | |