summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '7.8'Michel Dänzer2010-03-122-2/+2
|\
| * Grammar and spelling fixesJeff Smith2010-03-122-2/+2
| | | | | | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | mesa: raise an error when trying to bind non-existant texture to FBOBrian Paul2010-03-101-0/+8
| | | | | | | | | | | | | | | | 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?
* | mesa: added new function commentsBrian Paul2010-03-101-0/+8
| |
* | Merge branch '7.8'Brian Paul2010-03-081-12/+85
|\|
| * mesa: add additional missing z formats for render to textureBrian Paul2010-03-081-15/+83
| | | | | | | | | | Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
| * mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul2010-03-081-0/+5
| |
| * mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul2010-03-081-1/+1
| | | | | | | | MESA_FORMAT_Z16 has no stencil bits.
* | mesa: bump version to 7.9Brian Paul2010-03-051-3/+3
|/ | | | Now that the 7.8 branch has been created Mesa/master will be version 7.9
* Always return VOLATILE for ObjectPurgeable(VOLATILE)Chris Wilson2010-03-051-4/+16
| | | | | | | | | | | | 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 <[email protected]>
* mesa: minor reformatting, new commentsBrian Paul2010-03-051-2/+9
|
* mesa: whitespace fixes, 80-column wrapping, etc.Brian Paul2010-03-051-84/+102
|
* Merge branch 'object-purgeable'Chris Wilson2010-03-0510-4554/+4999
|\ | | | | | | Acked-by: Brian Paul <[email protected]>
| * APPLE_object_purgeable: coreChris Wilson2010-03-058-0/+405
| | | | | | | | Signed-off-by: Chris Wilson <[email protected]>
| * APPLE_object_purgeable: autogenerated filesChris Wilson2010-03-042-4554/+4594
| |
* | Fix comparison of unsigned value against < 0.Michel Dänzer2010-03-051-1/+1
|/
* Revert "mesa: Fix unsigned comparison."Vinson Lee2010-03-041-1/+1
| | | | | | This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d. This patch is incorrect.
* mesa: Fix unsigned comparison.Vinson Lee2010-03-041-1/+1
|
* mesa: Add asserts to check inputs to memcpy.Vinson Lee2010-03-041-0/+2
|
* Fix unmatched parenthesis introduce by previous commitsIan Romanick2010-03-031-1/+1
| | | | | | | | 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 <[email protected]>
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-032-9/+5
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove unused RasterIndex fieldIan Romanick2010-03-032-2/+0
| | | | | | | With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Always return default value for CURRENT_RASTER_INDEXIan Romanick2010-03-032-5/+5
| | | | | | | 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 <[email protected]>
* mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick2010-03-033-12/+2
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-032-7/+0
| | | | | | | | 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 <[email protected]>
* mesa: Remove _mesa_add_color_index_renderbuffersIan Romanick2010-03-032-62/+0
| | | | | | | After all the recent color-index visual support removal, _mesa_add_color_index_renderbuffers is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove checks of Visual.rgbMode in Get pathsIan Romanick2010-03-032-10/+10
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove checks of Visual.rgbModeIan Romanick2010-03-038-119/+48
| | | | | | This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-032-15/+6
| | | | | | | | 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 <[email protected]>
* mesa: Add asserts to check inputs to memcpy.Vinson Lee2010-03-021-0/+2
|
* mesa: Add asserts to check inputs to memcpy.Vinson Lee2010-02-271-0/+3
|
* mesa: Add assert to check input to memcpy is not null.Vinson Lee2010-02-271-0/+1
|
* mesa: Remove unnecessary header.Vinson Lee2010-02-261-1/+0
|
* Set API dispatch pointers for OES_EGL_image functionsKristian Høgsberg2010-02-261-0/+5
| | | | This chunk fell through the cracks when I rebase the EGLImage patch series.
* mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()Brian Paul2010-02-261-1/+1
| | | | | | 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.
* mesa: enable GL_EXT_texture_array for sw driversBrian Paul2010-02-251-0/+1
|
* mesa: added new extension flag for GL_EXT_texture_arrayBrian Paul2010-02-252-0/+2
|
* mesa: remove redundant call to _mesa_base_fbo_format()Brian Paul2010-02-251-1/+1
|
* mesa: added renderbuffer->_BaseFormat assertionBrian Paul2010-02-251-0/+1
|
* drop stray src/mesa/main/sourcesGeorge Sapountzis2010-02-261-158/+0
|
* mesa: use simplified _BaseFormat value in render-to-texture codeBrian Paul2010-02-251-1/+4
| | | | Fixes fd.o bug 26762.
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-2523-23/+60
| | | | | | 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.
* glapi: Move src/mesa/main/dispatch.c to glapi and rename.Chia-I Wu2010-02-252-99/+0
| | | | | | 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.
* mesa: Remove unused Makefile.{ugl,win}.Chia-I Wu2010-02-252-572/+0
|
* mesa: Remove dead error condition.Vinson Lee2010-02-251-1/+1
|
* mesa: Fix SCons build.Vinson Lee2010-02-241-2/+2
|
* mesa: put declaration before codeBrian Paul2010-02-241-1/+1
|
* core: Implement GL_OES_EGL_image entry pointsKristian Høgsberg2010-02-246-0/+83
|
* glapi: GL_OES_EGL_image autogenerated filesKristian Høgsberg2010-02-241-1150/+1167
|
* mesa: Assert that array index is not negative.Vinson Lee2010-02-231-0/+1
|