summaryrefslogtreecommitdiff
path: root/src/mesa/main/get.c
AgeCommit message (Collapse)Author
2006-05-09Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul
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.
2006-04-25Put color index attribute into the 6th attribute slot.Brian Paul
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.
2006-04-13Fix comment about MaxTextureUnits, needs to be min of coord and image units.Brian Paul
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.
2006-03-19Queries of GL_READ_BUFFER and GL_DRAW_BUFFER were still returning theBrian Paul
pre-GL_EXT_framebuffer_object state. Now return the read/draw state stored in the framebuffer objects.
2006-03-03Use standard ARB names instead of vendor-specific NV names for the ↵Roland Scheidegger
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.
2006-03-02Fix more enums defined not only by one extension when queried by glGet ↵Roland Scheidegger
(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.
2006-03-01Fix glGet with enums which are used not only in NV_vertex_program, but other ↵Roland Scheidegger
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
2006-02-28Allow error checking to look for presence of either of two extensions.Brian Paul
See bug 6070.
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-11-01Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul
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.
2005-10-08Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul
etc. after calling glRenderBufferStorageEXT gave undefined results.
2005-08-25removed GL_HP_occlusion_test extensionBrian Paul
2005-07-15need to flush vertices for GL_OCCLUSION_TEST_RESULT_HP queryBrian Paul
2005-06-26fix for-loop in _mesa_GetDouble to avoid out of bounds memory readBrian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-04-30apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and ↵Brian Paul
regenerate get.c
2005-04-30Fixed bogus ENUM_TO_BOOLEAN inFelix Kuehling
_mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT. mesa/progs/tests/texenv now lists supported compressed texture formats correctly.
2005-04-15remove carriage returnsBrian Paul
2005-04-14ARB_fragment/vertex_shader stateMichal Krol
2005-02-09glGet*(GL_FRAGMENT_PROGRAM_BINDING_NV) was returning the vertex program binding.Brian Paul
2005-02-07additional work on GL_EXT_framebuffer_objectBrian Paul
2005-01-30fix max viewport queryBrian Paul
2005-01-18fix MAX_VERTEX_ATTRIBS_ARB queryMichal Krol
2005-01-16_mesa_GetInteger/Float/Boolean/Doublev() are now generated with the newBrian Paul
get_gen.py Python script. Moved GetString(), GetPointer(), GetError() into new getstring.c file.
2004-12-21missing `or' in preprocessor conditionalDaniel Borca
2004-12-20allow ARB vp/fp query program errorsDaniel Borca
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-10-16Add support for OES_read_format. As soon as glext.h is updated with theIan Romanick
enums for this extension, the changes to gl.h can be removed.
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-09-13Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().Brian Paul
Define 2.0 point-sprite related tokens in glheader.h (temporary).
2004-09-13changes towards GL_ARB_point_sprite (two-zero)Daniel Borca
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-08-19don't check for ARB_texture_non_power_of_two for OpenGL 1.5 (Philipp Klaus ↵Brian Paul
Krause)
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-01-27Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick
The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
2004-01-14added blurb about NVIDIA extensionsBrian Paul
2003-12-21Version bumps, etc for Mesa 6.0Brian Paul
2003-11-25current raster color index should be GLfloatBrian Paul
2003-11-24Merge vtx-0-2-branchKeith Whitwell
2003-11-22GL_ARB_point_sprite is not part of 1.5Brian Paul
2003-10-22Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul
Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-09-18version tweaksBrian Paul
2003-09-17More work on ARB_vertex_buffer_object.Brian Paul
Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
2003-09-15minor simplificationBrian Paul
2003-09-15Some work on ARB_vertex_buffer_object.Brian Paul
Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
2003-08-28Added OpenGL 1.4's per-texture LOD bias.Brian Paul
2003-08-23Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick
subset of GL_NV_point_sprite (which was already supported).
2003-08-06prep for OpenGL 1.5Brian Paul