summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-01-04r600: support vertex_array_bgraAndre Maasikas
Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
2010-01-03Only enable verbose NoOp dispatch if DEBUG is definedKristian Høgsberg
By default we generate a function per GL entry point to warn if it's called without a context set. This is to allow the function to print it's name in the warning. By using a generic function that doesn't print the function name in the non-DEBUG case, we reduce libGL size from 320008 bytes to 283144 bytes (11%).
2010-01-03Noop dispatch: move warning code out of the generated functionsKristian Høgsberg
This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
2010-01-03Export a few glapi functions used by gallium and r300Kristian Høgsberg
Fixes breakage from -fvisibility-hidden commit.
2010-01-03mesa: fix blend enable/disable calls in meta.c codeFrancis Galiegue
Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-02mesa: added _mesa_GetBufferParameteri64v()Brian Paul
This is a new function in GL 3.2. No dispatch for this function yet.
2010-01-01mesa: Make condrender.[ch] prototypes match.José Fonseca
GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-31mesa: remove a line of dead codeBrian Paul
2009-12-31mesa: enable ColorMaskIndexed in display listsBrian Paul
2009-12-31mesa: enable GL_EXT_draw_buffers2 for sw driversBrian Paul
2009-12-31mesa: turn on NV_conditional_render for software driversBrian Paul
2009-12-31swrast: add check for conditional renderingBrian Paul
2009-12-31tnl: add check for conditional renderingBrian Paul
2009-12-31mesa: plug in API functions for conditional renderingBrian Paul
2009-12-31mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul
2009-12-31mesa: added FLUSH_VERTICES(), more commentsBrian Paul
2009-12-31mesa: add flag for GL_NV_conditional_render extensionBrian Paul
2009-12-31mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul
For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
2009-12-31mesa: make _mesa_lookup_query_object() an non-private inline functionBrian Paul
2009-12-31swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul
When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
2009-12-31mesa: Silence unused variable warning.Vinson Lee
2009-12-30mesa: implement _mesa_GetStringi() for GL3Brian Paul
Note: not plugged into the dispatch table yet.
2009-12-30mesa: _mesa_get_enabled_extension() functionBrian Paul
2009-12-30mesa: implement GL3 GL_NUM_EXTENSIONS queryBrian Paul
2009-12-30mesa: simplify some extension testing codeBrian Paul
2009-12-30mesa: display list support for glClearBuffer functionsBrian Paul
Note: some code disabled until dispatch table supports GL3 entrypoints.
2009-12-30mesa: implement GL3 glClearBuffer() functionsBrian Paul
These functions clear color/depth/stencil buffers with a value that's passed to the function, rather than the context clear values. For now these functions are implemented in terms of the existing ctx->Driver.Clear() hook. In the future when we have non-normalized integer and unsigned integer color buffer formats we'll need new driver hook(s) to pass int and uint clear values to the driver. Note: these functions are not hooked into the dispatch table at this time.
2009-12-29st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()Brian Paul
Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <luca@luca-barbieri.com>.
2009-12-29mesa: fix-up blend enable/disable code in _mesa_PopAttrib()Brian Paul
2009-12-29mesa: finish-up indexed color mask code in _mesa_PopAttrib()Brian Paul
2009-12-29mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul
2009-12-29mesa: regenerate API files related to GL_EXT_draw_buffers2Brian Paul
2009-12-29glapi: extension info for GL_EXT_draw_buffers2Brian Paul
2009-12-29tdfx: Silence uninitialized variable warning.Vinson Lee
2009-12-29mesa: added infrastructure for GL_EXT_draw_buffers2Brian Paul
2009-12-29mesa: add dlist support for indexed colormask and indexed enables/disablesBrian Paul
Not plugged into dispatch table yet...
2009-12-29mesa: implement per-buffer color maskingBrian Paul
This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
2009-12-29mesa: implement indexed glGet functionsBrian Paul
The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time.
2009-12-29mesa: per-buffer blend enabled flagsBrian Paul
ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled.
2009-12-29mesa: Initialize variable in get_tex_color_index.Vinson Lee
2009-12-29glsl: added uniform initializer checkBrian Paul
GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader.
2009-12-29ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slotsBrian Paul
This function will search the constant parameters in an effort to re-use constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in one constant slot and accessed with different swizzles. The swizzle info must be propogated though the parsing code in a few places. Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.
2009-12-28intel: Fix false positives in checking for non-packed depth/stencil RB.Eric Anholt
The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case.
2009-12-28intel: Allow binding a stencil but not a depth buffer.Eric Anholt
Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it.
2009-12-28intel: Improve INTEL_DEBUG=fbo output.Eric Anholt
2009-12-28intel: Remove dead fthrottle_mode option. We only do IRQ waits.Eric Anholt
Noticed by clang.
2009-12-28mesa: remove gratuitous stores I added in remove_instructions.Eric Anholt
2009-12-28intel: Silence compiler warnings.Vinson Lee
2009-12-27Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul
Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h