summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2011-02-28mesa: make_float_temp_image non-staticDave Airlie
We need this to do signed stuff for RGTC.
2011-02-22mesa: move comment, change debug codeBrian Paul
2011-02-22mesa: Avoid undeclared ffs function warning on mingw.José Fonseca
2011-02-21Revert "mesa: convert macros to inline functions"Brian Paul
This reverts commit e9ff76aa81d9bd973d46b7e46f1e4ece2112a5b7. Need to use macros so __FUNCTION__ reports the caller.
2011-02-21mesa: convert macros to inline functionsBrian Paul
2011-02-21i965: Use compiler builtins when availableChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-18mesa: MESA_VERBOSE logging for glRead/Draw/CopyPixels, glBlitFramebufferBrian Paul
2011-02-18Point to bugs.freedesktop.org rather than bugzilla.freedesktop.orgCyril Brulebois
Suggested by a freedesktop.org admin. Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-02-17mesa: fix comments for _mesa_clip_readpixels()Brian Paul
2011-02-17mesa: remove the MESA_NO_DITHER env varBrian Paul
This was sometimes useful back when 16-bit framebuffers were prominent.
2011-02-16mesa: make _mesa_write_renderbuffer_image() non-staticBrian Paul
2011-02-16mesa: 80-column wrapBrian Paul
2011-02-16mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2 and 4_4Marek Olšák
Oops, I copy-pasted a typo from 3_3_2. The 3_3_2 part is a candidate for 7.9 and 7.10. The 4_4 part isn't, because AL44 is in neither branches.
2011-02-16mesa: fix mipmap generation for MESA_FORMAT_AL44Marek Olšák
This was missed when implementing AL44.
2011-02-16mesa: use gl_format type instead of GLuintBrian Paul
2011-02-14vbo: bind arrays only when necessaryMarek Olšák
We don't need to call bind_arrays in the vbo module if the states which the function depends on are not dirty.
2011-02-11mesa: remove some unused gl_shader fieldsBrian Paul
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.