Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Make FEATURE_ATI_fragment_shader more modular. | Chia-I Wu | 2010-05-12 | 4 | -23/+53 |
| | | | | | | This allows atifragshader.h to be used without knowing if FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is removed from the omit list in ES overlay. | ||||
* | mesa/es: Remove sources.mak. | Chia-I Wu | 2010-05-12 | 2 | -116/+33 |
| | | | | | All ES overlay sources have been merged into core Mesa. Not much is left in sources.mak so merge it into Makefile. | ||||
* | mesa/es: Update sources.mak and fix the build. | Chia-I Wu | 2010-05-12 | 2 | -16/+8 |
| | | | | | | | | Remove sources that are feature-aware from the omit list. x86 -O0 build is ~12KiB smaller afther making those sources feature-aware. Also, remove get.c from the omit list as get_es[12].c have been merged to it. | ||||
* | st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware. | Chia-I Wu | 2010-05-12 | 3 | -13/+26 |
| | | | | | This change allows st_cb_drawtex.h to be used without knowing if FEATURE_OES_draw_texture is enabled. | ||||
* | mesa: Add dummy _mesa_lookup_query_object to queryobj.h. | Chia-I Wu | 2010-05-12 | 1 | -0/+6 |
| | | | | This allows condrender.c to be compiled without FEATURE_queryobj. | ||||
* | st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware. | Chia-I Wu | 2010-05-12 | 3 | -9/+14 |
| | | | | | This change allows st_cb_blit.h to be used without knowing if FEATURE_EXT_framebuffer_blit is enabled. | ||||
* | st/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware. | Chia-I Wu | 2010-05-12 | 3 | -2/+15 |
| | | | | | This change allows st_cb_queryobj.h to be used without knowing if FEATURE_queryobj is enabled. | ||||
* | st/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular. | Chia-I Wu | 2010-05-12 | 6 | -21/+50 |
| | | | | | | Make st_cb_feedback.h FEATURE_feedback aware and st_cb_rastpos.h FEATURE_rastpos aware. Move creation of selection/feedback draw context to st_init_draw. | ||||
* | st/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware. | Chia-I Wu | 2010-05-12 | 6 | -10/+60 |
| | | | | | This change allows st_cb_{bitmap,drawpixels}.h to be used without knowing if FEATURE_drawpix is enabled. | ||||
* | st/mesa: Make st_cb_accum.h FEATURE_accum aware. | Chia-I Wu | 2010-05-12 | 3 | -2/+22 |
| | | | | | This change allows st_cb_accum.h to be used without knowing if FEATURE_accum is enabled. | ||||
* | mesa: Make FEATURE_EXT_transform_feedback more modular. | Chia-I Wu | 2010-05-12 | 6 | -14/+75 |
| | | | | | | This allows transformfeedback.h and st_cb_xformfb.h to be included and used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix build of ES overlay. | ||||
* | mesa: fix error message strings | Brian Paul | 2010-05-11 | 1 | -5/+5 |
| | |||||
* | mesa: added glGet code for GL_ARB_transform_feedback2 | Brian Paul | 2010-05-11 | 1 | -0/+18 |
| | |||||
* | mesa: remove unused header | Brian Paul | 2010-05-11 | 1 | -1/+0 |
| | |||||
* | mesa: remove unused header | Brian Paul | 2010-05-11 | 1 | -1/+0 |
| | |||||
* | st/mesa: update query code for transform feedback | Brian Paul | 2010-05-11 | 2 | -3/+26 |
| | |||||
* | mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens(). | José Fonseca | 2010-05-11 | 1 | -2/+2 |
| | | | | | | This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch | ||||
* | mesa: Optimize get.c by using a table-driven approach | Kristian Høgsberg | 2010-05-11 | 12 | -10166/+2352 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | st/mesa: Ignore internal_format in st_context_teximage. | Chia-I Wu | 2010-05-09 | 1 | -1/+10 |
| | | | | | | | When internal_format and tex->format differ, st_finailize_texture will surface_copy between surfaces with different formats. This commit works around the issue by ignoring internal_format. A sane fix is needed here. | ||||
* | r300g: respect compare mode regardless of sampler type | Marek Olšák | 2010-05-08 | 2 | -1/+8 |
| | |||||
* | r300/compiler: fake equal/notequal for shadow samplers | Marek Olšák | 2010-05-08 | 1 | -0/+7 |
| | | | | | This is actually better than a real implementation, which would be useless due to inaccuracy (I know because I've tried to implement it). | ||||
* | r300/compiler: use perspective division only for TXP in shadow samplers | Marek Olšák | 2010-05-08 | 1 | -23/+36 |
| | |||||
* | r300/compiler: make shadow sampler codegen more readable, add comments | Marek Olšák | 2010-05-08 | 1 | -16/+28 |
| | |||||
* | r300/compiler: shorten RC_*SWIZZLE* expressions | Marek Olšák | 2010-05-08 | 4 | -4/+5 |
| | |||||
* | r300/compiler: generalize depth texture mode to support arbitrary swizzles | Marek Olšák | 2010-05-08 | 3 | -11/+7 |
| |