Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: remove _mesa_initialize_context_for_api() | Brian Paul | 2011-02-08 | 2 | -35/+9 |
| | | | | Just add the gl_api parameter to _mesa_initialize_context(). | ||||
* | mesa: add/update VERBOSE_API logging | Brian Paul | 2011-02-08 | 8 | -6/+113 |
| | |||||
* | mesa/965: add support for GL_EXT_framebuffer_sRGB (v2) | Dave Airlie | 2011-02-05 | 4 | -4/+10 |
| | | | | | | | | | | | | 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 <[email protected]> | ||||
* | mesa: Fix error checks in GetVertexAttrib functions | Ian Romanick | 2011-02-04 | 1 | -36/+32 |
| | | | | | | | | | 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. | ||||
* | mesa: glGetUniform only returns a single element of an array | Ian Romanick | 2011-02-01 | 1 | -14/+41 |
| | | | | | | | 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. | ||||
* | mesa: Initial size for secondary color array is 3 | Ian Romanick | 2011-01-31 | 1 | -1/+1 |
| | | | | See table 6.7 on page 347 of the OpenGL 3.0 specification. | ||||
* | Convert everything from the talloc API to the ralloc API. | Kenneth Graunke | 2011-01-31 | 2 | -10/+10 |
| | |||||
* | mesa: fix typo, wrap long line | Brian Paul | 2011-01-28 | 1 | -2/+3 |
| | |||||
* | mesa: Fix available APIs for AMD_conservative_depth | Chad Versace | 2011-01-28 | 1 | -1/+1 |
| | | | | | Remove ES2, since AMD_conservative_depth is not listed in the OpenGL ES extension registry. | ||||
* | mesa: fix compilation | Zack Rusin | 2011-01-26 | 1 | -5/+10 |
| | | | | this isn't c++ please don't mix declerations with code | ||||
* | mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+' | Chad Versace | 2011-01-26 | 1 | -0/+5 |
| | | | | | If an extension is prefixed with '+', attempt to enable it. This introduces symmetry with the prefix '-', which is already allowed. | ||||
* | mesa: Simplify logic in get_extension_override() | Chad Versace | 2011-01-26 | 1 | -62/+41 |
| | | | | | | * Reduce max indentation level from 7 to 3. * Eliminate counter variables. * Remove function append(). | ||||
* | mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IR | Chad Versace | 2011-01-26 | 1 | -0/+18 |
| | |||||
* | mesa: Add AMD_conservative_depth to extension list | Chad Versace | 2011-01-26 | 2 | -0/+2 |
| | | | | | | | The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler. | ||||
* | mesa: Support internalFormat=GL_BGRA for DRI drivers | Kristian Høgsberg | 2011-01-26 | 1 | -0/+11 |
| | |||||
* | mesa: fix MESA/EXT typo | Brian Paul | 2011-01-26 | 1 | -1/+1 |
| | | | | Spotted by Bernd Buschinski. | ||||
* | mesa: remove isProxy local var | Brian Paul | 2011-01-25 | 1 | -4/+2 |
| | |||||
* | mesa: use texFormat local var in more places | Brian Paul | 2011-01-25 | 1 | -4/+4 |
| | |||||
* | mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv() | Brian Paul | 2011-01-25 | 1 | -26/+19 |
| | |||||
* | mesa: consolidate error handling in set_tex_parameteri() | Brian Paul | 2011-01-25 | 1 | -38/+36 |
| | |||||
* | mesa: add checks for GL_EXT_texture_array | Brian Paul | 2011-01-25 | 2 | -16/+23 |
| | | | | In case the driver enables GL_MESA_texture_array but not the EXT version. | ||||
* | mesa: add red, red/green formats in _mesa_base_fbo_format() | Brian Paul | 2011-01-24 | 1 | -1/+11 |
| | |||||
* | mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer() | Brian Paul | 2011-01-24 | 3 | -1/+33 |
| | | | | | The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation. | ||||
* | mesa: new cases in _mesa_base_fbo_format() | Brian Paul | 2011-01-24 | 1 | -8/+35 |
| | | | | | | | | 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(). | ||||
* | Revert "mesa: Simplify _mesa_base_fbo_format by making it exceptions to ↵ | Brian Paul | 2011-01-24 | 1 | -24/+43 |
| | | | | | | | | | teximages." This reverts commit 65c41d55a06137115f0b4c67f9a3fd2708f0b625. There really are quite a few differences in the set of internal formats allowed by glTexImage and glRenderbufferStorage. | ||||
* | mesa/es: require internalFormat==format in TexImage2D | Benjamin Franzke | 2011-01-24 | 1 | -4/+57 |
| | |||||
* | mesa: allow internalFormat=GL_BGRA_EXT in TexImage2D | Benjamin Franzke | 2011-01-24 | 1 | -0/+9 |
| | |||||
* | mesa: add ARB_framebuffer_sRGB as alias of the EXT variant | Marek Olšák | 2011-01-23 | 1 | -0/+1 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: return GL_LINEAR for ..COLOR_ENCODING if framebuffer_sRGB is unsupported | Marek Olšák | 2011-01-23 | 1 | -1/+8 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #defines | Brian Paul | 2011-01-23 | 3 | -35/+30 |
| | | | | | | 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. | ||||
* | mesa: smarter glTexParameter state invalidation | Brian Paul | 2011-01-23 | 1 | -25/+38 |
| | | | | | | 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. | ||||
* | mesa: EXT_framebuffer_sRGB interface additions. | Dave Airlie | 2011-01-21 | 3 | -0/+21 |
| | | | | | | | | | | | 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 <[email protected]> | ||||
* | mesa: Set correct values for range/precision of shader integer types | Ian Romanick | 2011-01-20 | 1 | -2/+11 |
| | |||||
* | mesa: Connect glGetShaderPrecisionFormat into the dispatch table | Ian Romanick | 2011-01-20 | 1 | -0/+1 |
| | |||||
* | Fix the build from 887d2b64 | Ian Romanick | 2011-01-20 | 2 | -2/+2 |
| | | | | | Thanks to all the include frobbing, GLuint is not known in some places that included enums.h. | ||||
* | mesa: clean-up _mesa_lookup_prim_by_nr() | Brian Paul | 2011-01-20 | 4 | -41/+28 |
| | | | | Remove the redundant public _mesa_prim_name[] array. | ||||
* | mesa: move extra prim mode #defines | Brian Paul | 2011-01-20 | 2 | -5/+5 |
| | |||||
* | mesa: minor formatting fixes | Brian Paul | 2011-01-20 | 1 | -4/+7 |
| | |||||
* | mesa: document sRGBDecode field | Brian Paul | 2011-01-20 | 1 | -1/+1 |
| | |||||
* | mesa: implement glGetShaderPrecisionFormat() | Brian Paul | 2011-01-19 | 3 | -5/+68 |
| | | | | | Drivers should override the default range/precision info as needed. No drivers do this yet. | ||||
* | mesa: s/primcount/numInstances/ | Brian Paul | 2011-01-17 | 1 | -8/+8 |
| | | | | | primcount is also a parameter to glMultiDrawElements(). Use numInstances to avoid confusion between these things. | ||||
* | mesa: minor tweaks in _mesa_set_fetch_functions() | Brian Paul | 2011-01-15 | 1 | -3/+3 |
| | |||||
* | mesa: add comment for _mesa_get_srgb_format_linear() | Brian Paul | 2011-01-15 | 1 | -0/+5 |
| | |||||
* | mesa: move declarations before code | Brian Paul | 2011-01-15 | 1 | -1/+2 |
| | |||||
* | mesa/swrast: implement EXT_texture_sRGB_decode | Dave Airlie | 2011-01-16 | 8 | -2/+88 |
| | | | | | | | This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: implement glGet queries for GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 1 | -0/+47 |
| | |||||
* | mesa: display list support for GL_ARB_draw_buffers_blend functions | Brian Paul | 2011-01-15 | 1 | -0/+108 |
| | |||||
* | mesa: plug in GL_ARB_draw_buffers_blend functions | Brian Paul | 2011-01-15 | 1 | -0/+6 |
| | |||||
* | glapi: regenerated files | Brian Paul | 2011-01-15 | 2 | -1981/+2032 |
| | |||||
* | mesa: begin implementation of GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 8 | -188/+423 |
| |