summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-03-30mesa: Add umbrella features.Chia-I Wu
Add FEATURE_GL, FEATURE_ES1, and FEATURE_ES2 for OpenGL, OpenGL ES 1.x, and OpenGL ES 2.x respectively. Define individual features through the new umbrella features. There is no real change introduced by this commit.
2010-03-26mesa: only call _mesa_update_state() when necessary in glGet functionsBrian Paul
Only a few state vars require state validation before querying them. This potentially speeds up state queries. Encode that info into the state tuple table. Also, use the new tuple field to indicate when FLUSH_CURRENT() must be called to validate other state vars. Based on a patch submitted by Robert Bragg on Feb 12, 2010.
2010-03-23mesa: Also print _NEW_STENCIL in _mesa_print_state()Kristian Høgsberg
2010-03-22Merge branch '7.8'Brian Paul
Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-22mesa: remove return, do as the comment saysBrian Paul
2010-03-22mesa: Add end of line to the end of a debug output.Pauli Nieminen
2010-03-20mesa: added GL3 query for GL_TEXTURE_SHARED_SIZEBrian Paul
2010-03-20mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXTBrian Paul
2010-03-20mesa: added new GL3 buffer object queriesBrian Paul
And clean up the error checking code.
2010-03-20mesa: added GL3 buffer attachment aliasesBrian Paul
2010-03-20mesa: added GL3 ContextFlags field and query codeBrian Paul
2010-03-17Merge branch '7.8'Brian Paul
Conflicts: src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-17mesa: rename params in prototype to match implementationBrian Paul
2010-03-17Merge branch '7.8' into masterPauli Nieminen
Conflicts: Makefile src/mesa/main/version.h
2010-03-16mesa: set version string to 7.8-rc1Ian Romanick
2010-03-15Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-12Merge branch '7.8'Michel Dänzer
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-10mesa: raise an error when trying to bind non-existant texture to FBOBrian Paul
If the user calls glRenderBufferTexture(texture=N) but texture N doesn't name an existing texture, raise GL_INVALID_ENUM. Plus, add a comment about some questionable error checking code in framebuffer_texture(). Ian?
2010-03-10mesa: added new function commentsBrian Paul
2010-03-08Merge branch '7.8'Brian Paul
2010-03-08mesa: add additional missing z formats for render to textureBrian Paul
Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
2010-03-08mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul
2010-03-08mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul
MESA_FORMAT_Z16 has no stencil bits.
2010-03-05mesa: bump version to 7.9Brian Paul
Now that the 7.8 branch has been created Mesa/master will be version 7.9
2010-03-05Always return VOLATILE for ObjectPurgeable(VOLATILE)Chris Wilson
Fixes fdo bug 26128. The spec mandates that VOLATILE is returned from ObjectPurgeable(VOLATILE) irrespective of the actual status of the object upon completion of marking it purgeable. Conform to the spec, even though it seems wrong. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-05mesa: minor reformatting, new commentsBrian Paul
2010-03-05mesa: whitespace fixes, 80-column wrapping, etc.Brian Paul
2010-03-05Merge branch 'object-purgeable'Chris Wilson
Acked-by: Brian Paul <brianp@vmware.com>
2010-03-05APPLE_object_purgeable: coreChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-05Fix comparison of unsigned value against < 0.Michel Dänzer
2010-03-04APPLE_object_purgeable: autogenerated filesChris Wilson
2010-03-04Revert "mesa: Fix unsigned comparison."Vinson Lee
This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d. This patch is incorrect.
2010-03-04mesa: Fix unsigned comparison.Vinson Lee
2010-03-04mesa: Add asserts to check inputs to memcpy.Vinson Lee
2010-03-03Fix unmatched parenthesis introduce by previous commitsIan Romanick
I wasn't careful enough when removing support for GCC versions earlier than 3.3.0. I could have sworn that I compile tested before pushing, but apparently not. FAIL. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03Remove support for GCC older than 3.3.0Ian Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove unused RasterIndex fieldIan Romanick
With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Always return default value for CURRENT_RASTER_INDEXIan Romanick
Since there is no color-index rendering, it is impossible to update this value. Just return the initial setting and be happy. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick
These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove _mesa_add_color_index_renderbuffersIan Romanick
After all the recent color-index visual support removal, _mesa_add_color_index_renderbuffers is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove checks of Visual.rgbMode in Get pathsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove checks of Visual.rgbModeIan Romanick
This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Remove support for creating color-index visualsIan Romanick
Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-02mesa: Add asserts to check inputs to memcpy.Vinson Lee
2010-02-27mesa: Add asserts to check inputs to memcpy.Vinson Lee
2010-02-27mesa: Add assert to check input to memcpy is not null.Vinson Lee
2010-02-26mesa: Remove unnecessary header.Vinson Lee
2010-02-26Set API dispatch pointers for OES_EGL_image functionsKristian Høgsberg
This chunk fell through the cracks when I rebase the EGLImage patch series.