Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: do version checking for GL 3.x queries | Brian Paul | 2010-04-20 | 1 | -0/+50 |
| | |||||
* | mesa: API and state for GL 3.1 primitive restart | Brian Paul | 2010-04-20 | 1 | -0/+24 |
| | |||||
* | mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query | Brian Paul | 2010-04-20 | 1 | -0/+12 |
| | |||||
* | mesa: better, smaller error handling code for glGet*() | Brian Paul | 2010-04-20 | 1 | -602/+626 |
| | | | | get.o is about 17% smaller. | ||||
* | mesa: check for _NEW_BUFFERS for color read format queries | Brian Paul | 2010-04-05 | 1 | -0/+16 |
| | |||||
* | mesa: added glGet queries for transform_feedback | Brian Paul | 2010-03-30 | 1 | -0/+152 |
| | |||||
* | mesa: only call _mesa_update_state() when necessary in glGet functions | Brian Paul | 2010-03-26 | 1 | -69/+46 |
| | | | | | | | | | | | 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. | ||||
* | mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXT | Brian Paul | 2010-03-20 | 1 | -0/+16 |
| | |||||
* | mesa: added GL3 ContextFlags field and query code | Brian Paul | 2010-03-20 | 1 | -0/+12 |
| | |||||
* | mesa: Always return default value for CURRENT_RASTER_INDEX | Ian Romanick | 2010-03-03 | 1 | -4/+4 |
| | | | | | | | 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: Remove checks of Visual.rgbMode in Get paths | Ian Romanick | 2010-03-03 | 1 | -8/+8 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-02-12 | 1 | -1/+0 |
| | |||||
* | mesa: check for invalid texture coord unit in glGet queries | Brian Paul | 2010-02-03 | 1 | -44/+116 |
| | |||||
* | mesa: add error check for querying invalid texture matrix | Brian Paul | 2010-02-03 | 1 | -4/+32 |
| | |||||
* | mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queries | Brian Paul | 2010-01-05 | 1 | -0/+24 |
| | | | | New in GL 3.0. | ||||
* | mesa: implement GL3 GL_NUM_EXTENSIONS query | Brian Paul | 2009-12-30 | 1 | -0/+12 |
| | |||||
* | mesa: added infrastructure for GL_EXT_draw_buffers2 | Brian Paul | 2009-12-29 | 1 | -0/+6 |
| | |||||
* | mesa: implement per-buffer color masking | Brian Paul | 2009-12-29 | 1 | -19/+46 |
| | | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski(). | ||||
* | mesa: implement indexed glGet functions | Brian Paul | 2009-12-29 | 1 | -0/+74 |
| | | | | | | | | The functions are _mesa_GetBooleanIndexedv(), _mesa_GetIntegerIndexedv(), and _mesa_GetInteger64Indexedv(). These will be called from API functions such as glGetBooleanIndexedvEXT() and glGetBooleani_v(). Only the GL_BLEND query is supported at this time. | ||||
* | mesa: per-buffer blend enabled flags | Brian Paul | 2009-12-29 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled. | ||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2009-12-11 | 1 | -8/+9 |
|\ | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/drivers/dri/intel/intel_span.c | ||||
| * | mesa: Move OES_read_format support from drivers into the core. | Eric Anholt | 2009-12-09 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | | | The assertion is that the correct read type to be using is the native type of the underlying read renderbuffer. For some fallback paths, this may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work. This fixes the intel (and other) DRI drivers to report read formats that should hit blit PBO readpixels paths. | ||||
* | | mesa: Update vertex texture code after gallium changes. | Michal Krol | 2009-12-01 | 1 | -4/+4 |
|/ | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-11-04 | 1 | -172/+172 |
|\ | | | | | | | | | | | Conflicts: src/mesa/drivers/windows/gdi/mesa.def | ||||
| * | mesa: (GLint64) casts in get.c to silence Visual Studio warnings | Brian Paul | 2009-11-03 | 1 | -172/+172 |
| | | | | | | | | Revised version of a patch from Karl Schultz. | ||||
* | | mesa: regenerate get.c form get_gen.py | Brian Paul | 2009-09-09 | 1 | -0/+16 |
|/ | |||||
* | ARB sync: Add support for GL_ARB_sync to swrast | Ian Romanick | 2009-09-03 | 1 | -0/+19 |
| | | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work. | ||||
* | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | 2009-09-03 | 1 | -0/+1832 |
| | |||||
* | mesa: call FLUSH_CURRENT() for GL_CURRENT_TEXTURE_COORDS query | Brian Paul | 2009-08-18 | 1 | -0/+3 |
| | |||||
* | Regenerate files for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 1 | -0/+12 |
| | |||||
* | mesa: glGet queries for GL_EXT_provoking_vertex | Brian Paul | 2009-05-28 | 1 | -0/+24 |
| | |||||
* | mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE | Brian Paul | 2009-05-21 | 1 | -0/+12 |
| | |||||
* | mesa: remove GL_MESA_program_debug extension | Brian Paul | 2009-03-07 | 1 | -48/+0 |
| | | | | This was never fully fleshed out and hasn't been used. | ||||
* | mesa: use an array for current texture objects | Brian Paul | 2009-02-21 | 1 | -21/+21 |
| | | | | Use loops to consolidate lots of texture object code. | ||||
* | mesa: more display list cleanups | Brian | 2009-01-31 | 1 | -3/+3 |
| | | | | Remove some unneeded fields. Rename some function parameters. | ||||
* | Make GL_ARB_draw_buffers mandatory | Ian Romanick | 2009-01-28 | 1 | -15/+0 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | Make GL_ARB_vertex_buffer_object mandatory | Ian Romanick | 2009-01-28 | 1 | -30/+0 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | Make GL_ARB_multisample mandatory | Ian Romanick | 2009-01-28 | 1 | -24/+0 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | Make GL_ARB_texture_compression mandatory | Ian Romanick | 2009-01-28 | 1 | -9/+0 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | mesa: added GL_MAX_SAMPLES query for GL_ARB_fbo | Brian Paul | 2009-01-22 | 1 | -0/+12 |
| | |||||
* | mesa: fix GL_DEPTH_CLEAR_VALUE casting | Brian Paul | 2009-01-06 | 1 | -3/+3 |
| | | | | (cherry picked from commit d14d494dcda3d80ec2cf452551c680ffb432e306) | ||||
* | mesa: fix cast/conversion for optional code | Brian | 2008-09-25 | 1 | -2/+2 |
| | |||||
* | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) | Brian Paul | 2008-09-25 | 1 | -2/+2 |
| | |||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-09-23 | 1 | -2/+2 |
| | |||||
* | mesa: refactor: move various ENUM_TO_x macros into macros.h | Brian Paul | 2008-09-21 | 1 | -4/+0 |
| | |||||
* | mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove ↵ | Brian Paul | 2008-07-16 | 1 | -36/+27 |
| | | | | | | GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison. | ||||
* | add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file | Brian | 2008-03-24 | 1 | -0/+60 |
| | |||||
* | merge from master | Brian | 2007-03-21 | 1 | -39/+39 |
|\ | |||||
| * | Colortable re-org. | Brian | 2007-03-16 | 1 | -9/+9 |
| | | | | | | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables. | ||||
| * | Re-org of gl_pixel_attrib struct. | Brian | 2007-03-14 | 1 | -30/+30 |
| | | | | | | | | | | | | | | | | Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps. |