summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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.
2010-02-26mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()Brian Paul
The rb->InternalFormat field will be set by the caller if the allocation succeeds. Until then, this field's value can't be used. Fixes a failed assertion with FlightGear.
2010-02-25mesa: enable GL_EXT_texture_array for sw driversBrian Paul
2010-02-25mesa: added new extension flag for GL_EXT_texture_arrayBrian Paul
2010-02-25mesa: remove redundant call to _mesa_base_fbo_format()Brian Paul
2010-02-25mesa: added renderbuffer->_BaseFormat assertionBrian Paul
2010-02-26drop stray src/mesa/main/sourcesGeorge Sapountzis
2010-02-25mesa: use simplified _BaseFormat value in render-to-texture codeBrian Paul
Fixes fd.o bug 26762.
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-25glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu
main/dispatch.c is a glapi source file. It is part of GLAPI_SOURCES in sources.mak and part of glapi_sources in SConscript. This commit moves it to glapi/ and renames it to glapi_dispatch.c.
2010-02-25mesa: Remove unused Makefile.{ugl,win}.Chia-I Wu
2010-02-25mesa: Remove dead error condition.Vinson Lee
2010-02-24mesa: Fix SCons build.Vinson Lee
2010-02-24mesa: put declaration before codeBrian Paul
2010-02-24core: Implement GL_OES_EGL_image entry pointsKristian Høgsberg
2010-02-24glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg