summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-153/+153
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul2006-05-091-6/+6
| | | | | | | all formats or just those without restrictions/limitations should be returned. We want all when validating the internalFormat parameter to glCompressedTexImage2D but only want unrestricted formats when handling the GL_COMPRESSED_TEXTURE_FORMATS query.
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-251-3/+3
| | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
* Fix comment about MaxTextureUnits, needs to be min of coord and image units.Brian Paul2006-04-131-3/+3
| | | | | | | | See bug 5994. Also add a few assertions. Use MaxTextureUnits in get.c code. There's probably other places where we need to clean-up the usage of the MaxTexture[Coord/Image]Units constants.
* Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning theBrian Paul2006-03-191-18/+18
| | | | | pre-GL_EXT_framebuffer_object state. Now return the read/draw state stored in the framebuffer objects.
* Use standard ARB names instead of vendor-specific NV names for the ↵Roland Scheidegger2006-03-031-183/+183
| | | | ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
* Fix more enums defined not only by one extension when queried by glGet ↵Roland Scheidegger2006-03-021-24/+24
| | | | (GL_COLOR_SUM_EXT, GL_POINT_SPRITE_NV, GL_POINT_SPRITE_COORD_ORIGIN, GL_TRANSPOSE_CURRENT_MATRIX_ARB). Fix similar bugs (also those previously overseen dependant on NV/ARB_vertex_program) in glIsEnabled. Add missing GL_COLOR_SUM_EXT enum to glIsEnabled.
* Fix glGet with enums which are used not only in NV_vertex_program, but other ↵Roland Scheidegger2006-03-011-29/+48
| | | | extensions too (ARB_vertex_program, ARB_fragment_program, NV_fragment_program), if no support for NV_vertex_program is present. While here, fix return value if enum is used which is not supported by the exposed extensions (GL_INVALID_ENUM instead of GL_INVALID_VALUE). Fix some compile-time #ifs depending on NV_vertex/fragment_program which should also be dependant on ARB_vertex/fragment_program. See bug #6070
* Allow error checking to look for presence of either of two extensions.Brian Paul2006-02-281-480/+474
| | | | See bug 6070.
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-141-60/+0
| | | | done with fragment programs nowadays.
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-011-3/+3
| | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
* Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul2005-10-081-0/+10
| | | | etc. after calling glRenderBufferStorageEXT gave undefined results.
* removed GL_HP_occlusion_test extensionBrian Paul2005-08-251-54/+0
|
* need to flush vertices for GL_OCCLUSION_TEST_RESULT_HP queryBrian Paul2005-07-151-0/+3
|
* fix for-loop in _mesa_GetDouble to avoid out of bounds memory readBrian Paul2005-06-261-1/+1
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-57/+57
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and ↵Brian Paul2005-04-301-2/+5
| | | | regenerate get.c
* Fixed bogus ENUM_TO_BOOLEAN inFelix Kuehling2005-04-301-1/+1
| | | | | | _mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
* remove carriage returnsBrian Paul2005-04-151-5630/+5630
|
* ARB_fragment/vertex_shader stateMichal Krol2005-04-141-5558/+5630
|
* glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding.Brian Paul2005-02-091-3/+3
|
* additional work on GL_EXT_framebuffer_objectBrian Paul2005-02-071-0/+49
|
* fix max viewport queryBrian Paul2005-01-301-6/+6
|
* fix MAX_VERTEX_ATTRIBS_ARB queryMichal Krol2005-01-181-3/+3
|
* _mesa_GetInteger/Float/Boolean/Doublev() are now generated with the newBrian Paul2005-01-161-4521/+3137
| | | | | get_gen.py Python script. Moved GetString(), GetPointer(), GetError() into new getstring.c file.
* missing `or' in preprocessor conditionalDaniel Borca2004-12-211-1/+1
|
* allow ARB vp/fp query program errorsDaniel Borca2004-12-201-7/+10
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+138
| | | | no error detection, slow, may not be 100% correct but a good start
* Add support for OES_read_format. As soon as glext.h is updated with theIan Romanick2004-10-161-0/+28
| | | | enums for this extension, the changes to gl.h can be removed.
* added support for GL_ARB_draw_buffersBrian Paul2004-10-021-6/+143
|
* Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().Brian Paul2004-09-131-8/+32
| | | | Define 2.0 point-sprite related tokens in glheader.h (temporary).
* changes towards GL_ARB_point_sprite (two-zero)Daniel Borca2004-09-131-0/+24
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-2/+2
| | | | 1015696)
* don't check for ARB_texture_non_power_of_two for OpenGL 1.5 (Philipp Klaus ↵Brian Paul2004-08-191-2/+1
| | | | Krause)
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-5/+5
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-0/+40
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-8/+20
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
* added blurb about NVIDIA extensionsBrian Paul2004-01-141-0/+8
|
* Version bumps, etc for Mesa 6.0Brian Paul2003-12-211-3/+3
|
* current raster color index should be GLfloatBrian Paul2003-11-251-1/+1
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-5/+5
|
* GL_ARB_point_sprite is not part of 1.5Brian Paul2003-11-221-1/+0
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-8/+8
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-7/+7
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* version tweaksBrian Paul2003-09-181-1/+1
|
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-171-40/+40
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* minor simplificationBrian Paul2003-09-151-4/+4
|
* Some work on ARB_vertex_buffer_object.Brian Paul2003-09-151-70/+62
| | | | Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
* Added OpenGL 1.4's per-texture LOD bias.Brian Paul2003-08-281-0/+1
|
* Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick2003-08-231-24/+34
| | | | subset of GL_NV_point_sprite (which was already supported).