summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2011-01-25mesa: add checks for GL_EXT_texture_arrayBrian Paul
In case the driver enables GL_MESA_texture_array but not the EXT version.
2011-01-24mesa: add red, red/green formats in _mesa_base_fbo_format()Brian Paul
2011-01-24mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer()Brian Paul
The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation.
2011-01-24mesa: new cases in _mesa_base_fbo_format()Brian Paul
The set of internalFormat parameters accepted by glRenderBufferStorage depends on the EXT vs. ARB version of framebuffer_object. The later added support for GL_ALPHA, GL_LUMINANCE, etc. formats. Note that these formats might be legal but might not be supported. That should be checked with glCheckFramebufferStatus().
2011-01-24Revert "mesa: Simplify _mesa_base_fbo_format by making it exceptions to ↵Brian Paul
teximages." This reverts commit 65c41d55a06137115f0b4c67f9a3fd2708f0b625. There really are quite a few differences in the set of internal formats allowed by glTexImage and glRenderbufferStorage.
2011-01-24mesa/es: require internalFormat==format in TexImage2DBenjamin Franzke
2011-01-24mesa: allow internalFormat=GL_BGRA_EXT in TexImage2DBenjamin Franzke
2011-01-23mesa: add ARB_framebuffer_sRGB as alias of the EXT variantMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-23mesa: return GL_LINEAR for ..COLOR_ENCODING if framebuffer_sRGB is unsupportedMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-23mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #definesBrian Paul
The _NEW_ACCUM flag was only set when changing the accumulation buffer clear color and never used anywhere. Reclaim that dirty bit. Clean up the definitions of the other dirty bit flags.
2011-01-23mesa: smarter glTexParameter state invalidationBrian Paul
Only a few texture object parameters can effect texture completeness: min level, max level, minification filter. Don't mark the texture incomplete for other texture object state changes.
2011-01-21mesa: EXT_framebuffer_sRGB interface additions.Dave Airlie
This adds the get/enable enums and internal gl_config storage for this extension. In theory this is all that is needed to enable this extension from what I can see, since its not mandatory to implement the features if you don't advertise the visuals or the fb configs. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-20mesa: Set correct values for range/precision of shader integer typesIan Romanick
2011-01-20mesa: Connect glGetShaderPrecisionFormat into the dispatch tableIan Romanick
2011-01-20Fix the build from 887d2b64Ian Romanick
Thanks to all the include frobbing, GLuint is not known in some places that included enums.h.
2011-01-20mesa: clean-up _mesa_lookup_prim_by_nr()Brian Paul
Remove the redundant public _mesa_prim_name[] array.
2011-01-20mesa: move extra prim mode #definesBrian Paul
2011-01-20mesa: minor formatting fixesBrian Paul
2011-01-20mesa: document sRGBDecode fieldBrian Paul
2011-01-19mesa: implement glGetShaderPrecisionFormat()Brian Paul
Drivers should override the default range/precision info as needed. No drivers do this yet.
2011-01-17mesa: s/primcount/numInstances/Brian Paul
primcount is also a parameter to glMultiDrawElements(). Use numInstances to avoid confusion between these things.
2011-01-15mesa: minor tweaks in _mesa_set_fetch_functions()Brian Paul
2011-01-15mesa: add comment for _mesa_get_srgb_format_linear()Brian Paul
2011-01-15mesa: move declarations before codeBrian Paul
2011-01-16mesa/swrast: implement EXT_texture_sRGB_decodeDave Airlie
This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-15mesa: implement glGet queries for GL_ARB_draw_buffers_blendBrian Paul
2011-01-15mesa: display list support for GL_ARB_draw_buffers_blend functionsBrian Paul
2011-01-15mesa: plug in GL_ARB_draw_buffers_blend functionsBrian Paul
2011-01-15glapi: regenerated filesBrian Paul
2011-01-15mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul
2011-01-15mesa: support for GL_ARB_instanced_arraysBrian Paul
2011-01-15glapi: regenerated filesBrian Paul
2011-01-15Merge branch 'draw-instanced'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
2011-01-15mesa: Add glDepthRangef and glClearDepthf to APIspec.xml.Chia-I Wu
Core mesa has gained support for GL_ARB_ES2_compatibility. Make GLES generated dispatch table use them.
2011-01-14mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.Eric Anholt
Fixes piglit arb_es2_compatibility-shadercompiler
2011-01-14mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.Eric Anholt
Fixes piglit arb_es2_compatibility-maxvectors.
2011-01-14mesa: Add support for glDepthRangef and glClearDepthf.Eric Anholt
These are ARB_ES2_compatibility float variants of the core double entrypoints. Fixes arb_es2_compatibility-depthrangef.
2011-01-14mesa: Add actual support for glReleaseShaderCompiler from ES2.Eric Anholt
Fixes no-op dispatch warning in piglit arb_es2_compatibility-releaseshadercompiler.c.
2011-01-14mesa: Add extension enable bit for GL_ARB_ES2_compatibility.Eric Anholt
2011-01-14glapi: Regenerate for GL_ARB_ES2_compatibility.Eric Anholt
2011-01-14mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages.Eric Anholt
The comment of "this is just like teximages except for..." is a pretty good clue that we're handling this wrong. By just using the teximage code, we catch a bunch of cases we'd missed, like GL_RED and GL_RG.
2011-01-14gles2: Also support GL_BGRA_EXT for glTexSubImage2dKristian Høgsberg
2011-01-14srgb: fix fbo base format picking.Dave Airlie
Pointed out by Brian.
2011-01-13mesa: Change OES_standard_derivatives to be stand-alone extensionChad Versace
Add a bit in struct gl_extensions for OES_standard_derivatives, and enable the bit by default. Advertise the extension only if the bit is enabled. Previously, OES_standard_derivatives was advertised in GLES2 contexts if ARB_framebuffer_object was enabled.
2011-01-13mesa: Add missing break statement in SARGB8 case.Vinson Lee
2011-01-13mesa/srgb: handle SARGB8 case in the sw fbo renderer.Dave Airlie
2011-01-13mesa/fbo: prevent assert trigger on i965 with piglit fbo-srgb test.Dave Airlie
2011-01-12mesa: Move loop variable declarations outside for loop in extensions.c.Vinson Lee
Fixes MSVC build.
2011-01-12mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT()Brian Paul
Fixes a failed assertion when a renderbuffer ID that was gen'd but not previously bound was passed to glFramebufferRenderbuffer(). Generate the same error that NVIDIA does. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-12mesa: don't assert in GetIntegerIndexed, etcBrian Paul
We were getting an assertion upon invalid pname. NOTE: This is a candidate for the 7.9 and 7.10 branches.