summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-05-26r300/compiler: move hardware caps to the radeon_compiler base structMarek Olšák
Needed for vertex shaders too.
2010-05-26r300/compiler: shorten swizzle expressionsMarek Olšák
2010-05-24meta: Convert Z value from normalized to object-space in meta codeBrian Paul
Convert Z from a normalized value in the range [0, 1] to an object-space Z coordinate in [-1, +1] so that drawing at the new Z position with the default/identity ortho projection results in the original Z value. Used by the meta-Clear, Draw/CopyPixels and Bitmap functions where the Z value comes from the clear value or raster position. Fixes piglit tests fdo23670-depth_test, quad-invariance and glsl-orangebook-ch06-bump as well as oglc zbfunc.c. https://bugs.freedesktop.org/show_bug.cgi?id=23670
2010-05-24mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXTKristian Høgsberg
The check was disabled when FEATURE_OES_framebuffer_object was enabled, since that used to mean we weren't implementing regular OpenGL semantics. Now that we can compile in support for multiple APIs, change the #ifdef to compile the check in when FEATURE_GL is enabled and enable the check for contexts that implement OpenGL at runtime.
2010-05-24glsl: silence unused var warningsBrian Paul
2010-05-24mesa: Handle FEATURE_es2_glsl differences at runtime tooKristian Høgsberg
Now that we can support different APIs at runtime, we need to check the context for the API we're currently providing as well. https://bugs.freedesktop.org/show_bug.cgi?id=28194
2010-05-23i965: Add support for all 8 possible ARB_draw_buffers in Mesa.Eric Anholt
We should be able to do 16, but are limited by Mesa's static buffer allocations.
2010-05-23i965: Fix bit allocation for number of color regions for ARB_draw_buffers.Eric Anholt
If you used all 4 color targets we currently support, we would see 0 and end up just writing the first output. Give enough bits that we can do the maximum of 16. Fixes piglit fbo-drawbuffers-maxtargets.
2010-05-21st_api: Give get_egl_image arguments directly to the functionJakob Borncrantz
2010-05-21mesa: fix warnings about missing initializers in get.c tableBrian Paul
2010-05-21st/mesa: remove unused varBrian Paul
2010-05-21gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Add __DragonFly__ in querymatrix for fpclassify()David Shao
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-20i965: remove disabled code for cycling through MRF registers in clipping.Eric Anholt
The idea would be that you could have multiple send messages going on if nothing depended on the previous message's results and you used a different send message. The problem is that the later send requires the VUE handle returned by the first send's allocate anyway.
2010-05-20intel: Throttle after doing copyregion/swapbuffers round tripKristian Høgsberg
Before we would throttle in the flush callback prior to round-tripping to the server to do copyregion or swapbuffer. Now, instead just note that we need to throttle and do it in intel_prepare_render(), which will be called after receiving the response from the server but before we start rendering the next frame. Even if the server also throttles us in swapbuffer, this just makes the throttling a no-op when we hit intel_prepare_render(). With that we can drop the using_dri2_swapbuffers hack and just always throttle.
2010-05-18st/mesa: fix wrong argument orderRoland Scheidegger
2010-05-17mesa/st: adapt to interface changesRoland Scheidegger
adapt to blit changes, and also handle a bit more msaa state in theory (incomplete, doesn't handle resolves in any way for now).
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-13i965: Reduce a single GL_QUADS to GL_TRIANGLE_FAN.Eric Anholt
This is similar to the GL_QUAD_STRIP -> TRIANGLE_STRIP optimization -- the GS usage to split the quads into tris is a huge bottleneck, so a quick check improves glean blendFunc time massively (width * height of the window of single-pixel GL_QUADS, many many times). This may also end up helping with cairo performance, which sometimes ends up drawing a single quad.
2010-05-13intel: Don't update window system renderbuffers on TexImage.Eric Anholt
While sometimes rendering occurs in the form of blits for TexImage, it doesn't interact with the window system renderbuffers, so skip it.
2010-05-13mesa: Remove no-op wrappers around trig functions.Eric Anholt
2010-05-13mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt
2010-05-13mesa: silence compiler warningAlan Hourihane
2010-05-13st/mesa: Remove unnecessary header.Vinson Lee
2010-05-12mesa/st: Expose pipe driver's shader limits.José Fonseca
2010-05-12st/mesa: Do not use draw module in OpenGL ES build.Chia-I Wu
This removes references to symbols in draw module for OpenGL ES build. As OpenGL ES does not support feedback/selection mode, draw module is used in pathes that will never be reached. However, if the symbols are referenced, it will bloat the final shared libraries unnecessarily. This is serious when LLVM is enabled.
2010-05-12mesa/es: Merge back to core mesa.Chia-I Wu
With the omit list gone, there are not too many differences in building core mesa and ES overlay. Remove the mesa/es and build both of them in src/mesa/Makefile.
2010-05-12mesa/es: Remove omit list.Chia-I Wu
vbo/vbo_save* are the last members on the omit list. Test FEATURE_dlist in the sources and remove the omit list.
2010-05-12mesa: Make FEATURE_ATI_fragment_shader more modular.Chia-I Wu
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.
2010-05-12mesa/es: Remove sources.mak.Chia-I Wu
All ES overlay sources have been merged into core Mesa. Not much is left in sources.mak so merge it into Makefile.
2010-05-12mesa/es: Update sources.mak and fix the build.Chia-I Wu
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.
2010-05-12st/mesa: Make st_cb_drawtex.h FEATURE_OES_draw_texture aware.Chia-I Wu
This change allows st_cb_drawtex.h to be used without knowing if FEATURE_OES_draw_texture is enabled.
2010-05-12mesa: Add dummy _mesa_lookup_query_object to queryobj.h.Chia-I Wu
This allows condrender.c to be compiled without FEATURE_queryobj.
2010-05-12st/mesa: Make st_cb_blit.h FEATURE_EXT_framebuffer_blit aware.Chia-I Wu
This change allows st_cb_blit.h to be used without knowing if FEATURE_EXT_framebuffer_blit is enabled.
2010-05-12st/mesa: Make st_cb_queryobj.h FEATURE_queryobj aware.Chia-I Wu
This change allows st_cb_queryobj.h to be used without knowing if FEATURE_queryobj is enabled.
2010-05-12st/mesa: Make FEATURE_feedback and FEATURE_rastpos more modular.Chia-I Wu
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.
2010-05-12st/mesa: Make st_cb_{bitmap,drawpixels}.h FEATURE_drawpix aware.Chia-I Wu
This change allows st_cb_{bitmap,drawpixels}.h to be used without knowing if FEATURE_drawpix is enabled.
2010-05-12st/mesa: Make st_cb_accum.h FEATURE_accum aware.Chia-I Wu
This change allows st_cb_accum.h to be used without knowing if FEATURE_accum is enabled.
2010-05-12mesa: Make FEATURE_EXT_transform_feedback more modular.Chia-I Wu
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.
2010-05-11mesa: fix error message stringsBrian Paul
2010-05-11mesa: added glGet code for GL_ARB_transform_feedback2Brian Paul
2010-05-11mesa: remove unused headerBrian Paul
2010-05-11mesa: remove unused headerBrian Paul
2010-05-11st/mesa: update query code for transform feedbackBrian Paul
2010-05-11mesa/st+tgsi: Provide a free callback to match with ureg_get_tokens().José Fonseca
This fixes crashes with the memory debugging routines on Windows. NOTE: This is a candidate for the 7.8 stable branch
2010-05-11mesa: Optimize get.c by using a table-driven approachKristian Høgsberg
2010-05-11st/mesa: Remove unnecessary header.Vinson Lee
2010-05-11intel: Don't update renderbuffers in intelSetTexBuffer2 if we have invalidateKristian Høgsberg