Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: fix texture image size calculation | Brian Paul | 2010-05-11 | 1 | -1/+1 |
| | | | | | | We were allocating too much memory for linear layouts. The block_size factor is already included in the row_stride and should not be used in the img_stride calculation. This is typically a 4x savings! | ||||
* | llvmpipe: add a simple resource tracking/debug feature | Brian Paul | 2010-05-11 | 2 | -0/+58 |
| | | | | | | If debug build, keep a linked list of all allocated resources (textures). The llvmipe_print_resources() function can be called from a debugger to print a list of all resources, their sizes, total size, etc. | ||||
* | llvmpipe: remove trailing whitespace, rewrap comment | Brian Paul | 2010-05-11 | 1 | -3/+2 |
| | |||||
* | scons: Export shouldn't be part of the if stanza. | José Fonseca | 2010-05-11 | 1 | -1/+1 |
| | |||||
* | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-05-11 | 1 | -1/+0 |
| | |||||
* | intel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidate | Kristian Høgsberg | 2010-05-11 | 1 | -1/+3 |
| | |||||
* | intel: Drop viewport hack when we can | Kristian Høgsberg | 2010-05-11 | 7 | -10/+15 |
| | |||||
* | glx: Provide the __DRI_USE_INVALIDATE extension to the driver when we can | Kristian Høgsberg | 2010-05-11 | 1 | -14/+25 |
| | | | | | | | When we have DRI2 protocol at least 2.3, we get an event from the server when the back buffers get invalidated. When that's the case let the driver know that it can rely on invalidate instead of the glViewport polling. | ||||
* | st/xorg: Fix SCons build. | Michel Dänzer | 2010-05-11 | 1 | -1/+3 |
| | |||||
* | mesa/st: Remove internal flushes from Mesa state tracker. | José Fonseca | 2010-05-11 | 13 | -248/+29 |
| | | | | | | | | | | | | | | | Now that transfers are context operations it is the driver's responsibility to ensure that transfers happen in order with all other context operations, so flushes and finishes inside Mesa should be no longer necessary. The attached patch implements that. This should proportionate significant improvements for hardware drivers which are able to stream transfers in the command buffers. You can use the softpipe/llvmpipe_flush_resource() as reference implementation of the worst case scenario, where the driver is not able to streamline transfers. But the expectation is that driver implementators will want to avoid flushing as much as possible. | ||||
* | tests/graw: raw -> graw | José Fonseca | 2010-05-11 | 3 | -1/+1 |
| | | | | for consistency | ||||
* | mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype. | Vinson Lee | 2010-05-10 | 2 | -2/+2 |
| | | | | | | | From http://www.opengl.org/registry/api/glext.h GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); Fixes MinGW build. | ||||
* | gallium: Add llvmpipe support to st/egl. | Chia-I Wu | 2010-05-11 | 2 | -1/+6 |
| | | | | Update Makefile rules for st/egl. | ||||
* | mesa: more transform feedback infrastructure | Brian Paul | 2010-05-10 | 14 | -34/+736 |
| | | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects. | ||||
* | intel: Also flush front buffer in glFinish() | Kristian Høgsberg | 2010-05-10 | 1 | -0/+1 |
| | |||||
* | llvmpipe: enable PIPE_CAP_INDEP_BLEND_ENABLE | Brian Paul | 2010-05-10 | 1 | -1/+1 |
| | | | | | This enables the GL_EXT_draw_buffers2 extension. Tested with progs/tests/drawbuffers2. | ||||
* | llvmpipe: fix up indexing of blend/colormask state for render targets | Brian Paul | 2010-05-10 | 5 | -24/+47 |
| | |||||
* | llvmpipe: update image dump/debug code | Brian Paul | 2010-05-10 | 1 | -16/+17 |
| | |||||
* | llvmpipe: add, update, rewrap comments | Brian Paul | 2010-05-10 | 2 | -6/+16 |
| | |||||
* | gallivm/llvmpipe: move an old comment to a better location | Brian Paul | 2010-05-10 | 2 | -11/+11 |
| | |||||
* | st/mesa: rename vars, added comments | Brian Paul | 2010-05-10 | 1 | -21/+55 |
| | |||||
* | i915: Drop intelFlush(). | Vinson Lee | 2010-05-10 | 1 | -1/+1 |
| | | | | | This was missed in commit c4775a27e3aaa2006b98f225387499b79bc609ef. Fixes i915 build. | ||||
* | intel: Drop intelFlush() | Kristian Høgsberg | 2010-05-10 | 12 | -26/+19 |
| | | | | | Now that intel_flush() deosn't use the needs_mi_flush argument, we can finally drop one of the two flush functions. | ||||
* | intel: Only flush fake front buffer on API level glFlush() | Kristian Høgsberg | 2010-05-10 | 1 | -17/+29 |
| | | | | | | | | | | Without this patch, any old intel_flush() call will cause a round trip to the server and do a copy from fake to real front. We only actually guarantee that frontbuffer results show up when glFlush() ia called, so move the flushing to intel_glFlush(). We also need to flush fake to front before getting new buffers, but we just handle that manually. | ||||
* | intel: Don't mark front buffer dirty if we're only reading | Kristian Høgsberg | 2010-05-10 | 1 | -1/+12 |
| | | | | | | | | | When we call intel_prepare_render() from intelReadPixels(), we'll mark the front buffer dirty. That's silly, since we're only reading from it and marking it dirty will cause us to copy from fake front to front eventually. Just clear the dirty flag after doing the read. | ||||
* | intel: Mark frontbuffer dirty in intel_prepare_render() | Kristian Høgsberg | 2010-05-10 | 1 | -9/+8 |
| | | | | | | Now that we have intel_prepare_render() in place, we can use it to mark the front buffer dirty if we're rendering to the front buffer once we get there. | ||||
* | glx: Only call DRI2 invalidate when necessary | Kristian Høgsberg | 2010-05-10 | 1 | -12/+4 |
| | | | | | | | | | We only need this when the server may have swapped the buffers or when we receive an invalidate event from the server. The default behaviour is still that the DRI driver will invalidate its own buffers when glViewport is called. https://bugs.freedesktop.org/show_bug.cgi?id=27277 | ||||
* | svga: Fill in is_resource_referenced callback. | José Fonseca | 2010-05-10 | 1 | -0/+1 |
| | |||||
* | gallivm: Silent warning. | José Fonseca | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | gallivm: Add missing lvalue. | José Fonseca | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | st/mesa: only set prevInstWrotePsiz if translating a vertex program | Brian Paul | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | st/mesa: additional assertions in dst_register() | Brian Paul | 2010-05-10 | 1 | -0/+10 |
| | |||||
* | i965g: link with software- wrapper winsys and drm api helper | Jakob Bornecrantz | 2010-05-10 | 1 | -0/+2 |
| | |||||
* | gallium: Add software drm api helper to scons build | Jakob Bornecrantz | 2010-05-10 | 2 | -0/+22 |
| | |||||
* | gallium: Add pipe wrapper software winsys to scons build | Jakob Bornecrantz | 2010-05-10 | 2 | -0/+26 |
| | |||||
* | i965g: fix resource creation recursion bug | Roland Scheidegger | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | i965g: add brw_state_debug.c to SConscript | Roland Scheidegger | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | i965g: avoid void * arithmetic | Roland Scheidegger | 2010-05-10 | 1 | -1/+1 |
| | |||||
* | gallivm: Temporarily disable custom LLVMDumpValue on MSVC. | José Fonseca | 2010-05-10 | 1 | -2/+3 |
| | | | | | | | Seeing very weird crashes during std::cout initialization. The fault probably lies in the way I build LLVM on MSVC, but disable for now to allow more time to investigate. | ||||
* | gallivm: cosf/sinf are macros on MSVC. | José Fonseca | 2010-05-10 | 1 | -2/+12 |
| | | | | So taking the function address does not work. | ||||
* | mesa: Update comments in get_gen_es.py. | Vinson Lee | 2010-05-09 | 1 | -2/+2 |
| | |||||
* | swrast: fix 16-bit/channel rendering | Brian Paul | 2010-05-09 | 1 | -1/+1 |
| | | | | NOTE: This is a candidate for the 7.8 stable branch | ||||
* | osmesa: use unsigned 16-bit/channel format | Brian Paul | 2010-05-09 | 1 | -1/+1 |
| | |||||
* | mesa: fix typos, comment in signed 16-bit tex fetch code | Brian Paul | 2010-05-09 | 1 | -4/+4 |
| | |||||
* | mesa: added unsigned 16-bit/channel tex format | Brian Paul | 2010-05-09 | 6 | -10/+127 |
| | |||||
* | mesa: added comments for signed 16-bit formats | Brian Paul | 2010-05-09 | 1 | -4/+4 |
| | |||||
* | mesa: use GL_RGBA16_SNORM for accum buffer | Brian Paul | 2010-05-09 | 2 | -1/+3 |
| | |||||
* | mesa: added texstore function for signed 16-bit formats | Brian Paul | 2010-05-09 | 1 | -4/+74 |
| | |||||
* | mesa: added UNCLAMPED_FLOAT_TO_SHORT macro | Brian Paul | 2010-05-09 | 1 | -0/+3 |
| | |||||
* | mesa: add missing cases for signed 16-bit formats | Brian Paul | 2010-05-09 | 1 | -0/+13 |
| |