summaryrefslogtreecommitdiff
path: root/src/mesa/main/get.c
AgeCommit message (Collapse)Author
2011-03-11mesa: move location of some geometry program limitsBrian Paul
The gl_program_constants struct is for limits that are applicable to any/all shader stages. Move the geometry shader-only fields into the gl_constants struct. Remove redundant MaxGeometryUniformComponents field too.
2011-02-28mesa: remove GL_SGI_texture_color_table supportBrian Paul
It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
2011-01-21mesa: EXT_framebuffer_sRGB interface additions.Dave Airlie
This adds the get/enable enums and internal gl_config storage for this extension. In theory this is all that is needed to enable this extension from what I can see, since its not mandatory to implement the features if you don't advertise the visuals or the fb configs. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-15mesa: implement glGet queries for GL_ARB_draw_buffers_blendBrian Paul
2011-01-15mesa: begin implementation of GL_ARB_draw_buffers_blendBrian Paul
2011-01-14mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.Eric Anholt
Fixes piglit arb_es2_compatibility-shadercompiler
2011-01-14mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.Eric Anholt
Fixes piglit arb_es2_compatibility-maxvectors.
2011-01-12mesa: don't assert in GetIntegerIndexed, etcBrian Paul
We were getting an assertion upon invalid pname. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-07mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee
2010-12-03mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUMBrian Paul
In find_value() check if we've hit the 0th/invalid entry before checking if the pname matches. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31987 NOTE: This is a candidate for the 7.9 branch.
2010-12-02mesa: Add getters for ARB_copy_buffer's attachment points.Eric Anholt
Fixes more complaints by oglconform.
2010-12-02mesa: Add getters for the rest of the supported draw buffers.Eric Anholt
MAX_DRAW_BUFFERS is 8, so allow all 8 GL_DRAW_BUFFER# to be retrieved. Fixes complaints by oglconform.
2010-11-24mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties.Kenneth Graunke
Previously, the get table listed all three as having custom locations, yet find_custom_value did not have cases to handle them. MAX_VARYING_VECTORS does not need a custom location since MaxVaryings is already stored as float[4] (or vec4). MaxUniformComponents is stored as the number of floats, however, so a custom implementation that divides by 4 is necessary. Fixes bugs.freedesktop.org #31495.
2010-11-10mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisampleIan Romanick
Previously queries of MAX_SAMPLES were only allowed with ARB_framebuffer_object, but EXT_framebuffer_multisample also enables this query. This seems to only effect the i915. All other drivers support both extensions or neither extension. This patch is based on a patch that Kenneth sent along with the report. NOTE: this is a candidate for the 7.9 branch. Reported-by: Kenneth Waters <kwaters@chromium.org>
2010-10-28mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXTBrian Paul
2010-10-27mesa: Track an ActiveProgram distinct from CurrentProgramIan Romanick
ActiveProgram is the GL_EXT_separate_shader_objects state variable used for glUniform calls. glUseProgram also sets this.
2010-10-23mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXTBrian Paul
2010-10-21mesa: set/get primitive restart stateBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-23mesa: Remove EXT_convolution.Eric Anholt
More optional code.
2010-09-23mesa: Remove SGI_color_matrix.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove SGI_color_table.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove EXT_histogram.Eric Anholt
This has always been optional, and not useful.
2010-09-23mesa: Remove the non-required ARB_imaging extension.Eric Anholt
Many of the EXT_ extensions in the subset have significant code overhead with no users. It is not a required part of GL -- though text describing the extension is part of the core spec since 1.2, it is always conditional on the ARB_imaging extension.
2010-09-07mesa: Enable GL_MAX_VERTEX_ATTRIBS in ES2.Kenneth Graunke
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-08-30Fix inverted version checks in check_extra.Kenneth Graunke
Previously, if an attribute was enabled by either a specific GL version or an extension, the check would require -both- to be enabled. This bug was not discovered earlier because version checks are currently only ever used on their own. Signed-off-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-06-28mesa: initial support for ARB_geometry_shader4Zack Rusin
laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-05-31mesa: Fix excess initializers in get.c table.Chia-I Wu
2010-05-21mesa: fix warnings about missing initializers in get.c tableBrian Paul
2010-05-14mesa: enum bitfields are a gcc-only feature, use GLubyteBrian Paul
2010-05-14mesa: print enum name instead of hexadecimal value in glGet errorsBrian Paul
2010-05-13mesa: silence compiler warningAlan Hourihane
2010-05-11mesa: added glGet code for GL_ARB_transform_feedback2Brian Paul
2010-05-11mesa: Optimize get.c by using a table-driven approachKristian Høgsberg
2010-05-10mesa: more transform feedback infrastructureBrian Paul
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
2010-05-07mesa: remove driver hooks for GetFloat/Integer/Doublev, etcBrian Paul
Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them.
2010-04-20mesa: do version checking for GL 3.x queriesBrian Paul
2010-04-20mesa: API and state for GL 3.1 primitive restartBrian Paul
2010-04-20mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul
2010-04-20mesa: better, smaller error handling code for glGet*()Brian Paul
get.o is about 17% smaller.
2010-04-05mesa: check for _NEW_BUFFERS for color read format queriesBrian Paul
2010-03-30mesa: added glGet queries for transform_feedbackBrian Paul
2010-03-26mesa: only call _mesa_update_state() when necessary in glGet functionsBrian Paul
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.
2010-03-20mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXTBrian Paul
2010-03-20mesa: added GL3 ContextFlags field and query codeBrian Paul
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: Remove checks of Visual.rgbMode in Get pathsIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-12mesa: Remove unnecessary header.Vinson Lee
2010-02-03mesa: check for invalid texture coord unit in glGet queriesBrian Paul