summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2011-02-08mesa: remove unused BITFIELD64 macrosBrian Paul
2011-02-08mesa: remove _mesa_create_context_for_api()Brian Paul
Just add the gl_api parameter to _mesa_create_context().
2011-02-08mesa: remove _mesa_initialize_context_for_api()Brian Paul
Just add the gl_api parameter to _mesa_initialize_context().
2011-02-08mesa: add/update VERBOSE_API loggingBrian Paul
2011-02-05mesa/965: add support for GL_EXT_framebuffer_sRGB (v2)Dave Airlie
This adds i965 support for GL_EXT_framebuffer_sRGB, it introduces a new constant to say that the driver can support sRGB enabled FBOs since enabling the extension doesn't mean the driver can actually support sRGB. Also adds the suggested state flush in the core code suggested by Brian. fix the ARB_fbo color encoding. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-04mesa: Fix error checks in GetVertexAttrib functionsIan Romanick
Querying index zero is not an error in OpenGL ES 2.0. Querying an index larger than the value returned by GL_MAX_VERTEX_ATTRIBS is an error in all APIs. Fixes bugzilla #32375.
2011-02-01mesa: glGetUniform only returns a single element of an arrayIan Romanick
Also return it as the correct type. Previously the whole array would be returned and each element would be expanded to a vec4. Fixes piglit test getuniform-01 and bugzilla #29823.
2011-01-31mesa: Initial size for secondary color array is 3Ian Romanick
See table 6.7 on page 347 of the OpenGL 3.0 specification.
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke
2011-01-28mesa: fix typo, wrap long lineBrian Paul
2011-01-28mesa: Fix available APIs for AMD_conservative_depthChad Versace
Remove ES2, since AMD_conservative_depth is not listed in the OpenGL ES extension registry.
2011-01-26mesa: fix compilationZack Rusin
this isn't c++ please don't mix declerations with code
2011-01-26mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+'Chad Versace
If an extension is prefixed with '+', attempt to enable it. This introduces symmetry with the prefix '-', which is already allowed.
2011-01-26mesa: Simplify logic in get_extension_override()Chad Versace
* Reduce max indentation level from 7 to 3. * Eliminate counter variables. * Remove function append().
2011-01-26mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IRChad Versace
2011-01-26mesa: Add AMD_conservative_depth to extension listChad Versace
The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
2011-01-26mesa: Support internalFormat=GL_BGRA for DRI driversKristian Høgsberg
2011-01-26mesa: fix MESA/EXT typoBrian Paul
Spotted by Bernd Buschinski.
2011-01-25mesa: remove isProxy local varBrian Paul
2011-01-25mesa: use texFormat local var in more placesBrian Paul
2011-01-25mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv()Brian Paul
2011-01-25mesa: consolidate error handling in set_tex_parameteri()Brian Paul
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