summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)AuthorFilesLines
2010-10-01rgtc: Detect RGTC formats as color formats and as compressed formatsIan Romanick1-0/+9
2010-10-01mesa: Trivial correction to commentIan Romanick1-1/+1
2010-10-01mesa: Fix misplaced #endifIan Romanick1-1/+1
If FEATURE_texture_s3tc is not defined, FXT1 formats would erroneously fall through to the MESA_FORMAT_RGBA_FLOAT32 case.
2010-10-01ARB_texture_rg: Add GL_COMPRESSED_{RED,RG} cases in _mesa_is_color_formatIan Romanick1-0/+2
2010-10-01mesa: Add ARB_texture_compression_rgtc as an alias for ↵Ian Romanick4-8/+9
EXT_texture_compression_rgtc Change the name in the extension tracking structure to ARB (from EXT).
2010-10-01mesa: Enable GL_ARB_texture_rg in software pathsIan Romanick1-0/+1
2010-10-01ARB_texture_rg: Allow RED and RG textures as FBO color buffer attachmentsIan Romanick1-2/+8
2010-10-01ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formatsIan Romanick8-30/+515
2010-10-01ARB_texture_rg: Handle RED and RG the same as RGB for tex envIan Romanick1-0/+6
2010-10-01ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODEIan Romanick1-1/+2
2010-10-01ARB_texture_rg: Add GL_TEXTURE_{RED,GREEN}_SIZE query supportIan Romanick1-0/+10
2010-10-01ARB_texture_rg: Correct some errors in RED / RG internal format handlingIan Romanick1-9/+32
Fixes several problems: The half-float, float, and integer internal formats depend on ARB_texture_rg and other extensions. RG_INTEGER is not a valid internal format. Generic compressed formats depend on ARB_texture_rg, not EXT_texture_compression_rgtc. Use GL_RED instead of GL_R.
2010-09-30mesa: Don't reference a W component in setting up a vec3 uniform component.Eric Anholt1-1/+5
The 965 driver would try to set up storage for the W component, and the offsets would get mixed up.
2010-09-30main: remove duplicated includesNicolas Kaiser3-6/+1
Remove duplicated includes. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-28mesa: Move the list of builtin uniform info from ir_to_mesa to shared code.Eric Anholt2-1/+245
I'm still not pleased with how builtin uniforms are handled, but as long as we're relying on the prog_statevar stuff this seems about as good as it'll get.
2010-09-27Remove GL_EXT_cull_vertexIan Romanick7-1782/+1719
This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
2010-09-27Remove GL_MESA_packed_depth_stencilIan Romanick2-2/+0
This extension was never enabled in any driver.
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick3-29/+9
As per discussions at XDS.
2010-09-27mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick2-10/+4
As per discussions at XDS.
2010-09-25mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0Dave Airlie1-1/+1
1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast.
2010-09-24mesa: Remove unnecessary headers.Vinson Lee3-6/+0
2010-09-24mesa: Fix type typo in glGenerateMipmap handling of GL_UNSIGNED_INT data.Eric Anholt1-1/+1
Fixes ARB_depth_texture/fbo-generatemipmap-formats.
2010-09-24mesa: fix assertions to handle srgb formatsBrian Paul1-4/+8
http://bugs.freedesktop.org/show_bug.cgi?id=30333 NOTE: This is a candidate for the 7.9 branch.
2010-09-23mesa: Remove EXT_convolution.Eric Anholt15-1855/+44
More optional code.
2010-09-23mesa: Remove SGI_color_matrix.Eric Anholt11-172/+3
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove SGI_color_table.Eric Anholt10-316/+4
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove EXT_histogram.Eric Anholt11-1124/+10
This has always been optional, and not useful.
2010-09-23mesa: Remove the non-required ARB_imaging extension.Eric Anholt5-21/+15
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-21mesa: don't advertise bogus GL_ARB_shading_language_120 extensionBrian Paul5-18/+43
Instead of using the invalid GL_ARB_shading_language_120 extension to determine the GLSL version, use a new ctx->Const.GLSLVersion field. Updated the intel and r600 drivers, but untested. See fd.o bug 29910 NOTE: This is a candidate for the 7.9 branch (but let's wait and see if there's any regressions).
2010-09-20mesa: don't call valid_texture_object() in non-debug buildsBrian Paul1-5/+2
This reverts commit c32bac57ed445e48856d74113364287ed6e5cdd4 and silences the warning differently. The _mesa_reference_texobj() function is called quite a bit and we don't want to call valid_texture_object() all the time in non- debug builds.
2010-09-17mesa: Silence "'valid_texture_object' defined but not used" warning.Vinson Lee1-1/+5
2010-09-17mesa: bump version to 7.10Vinson Lee1-3/+3
2010-09-17glsl2: Add flags to enable variable index loweringIan Romanick1-0/+10
2010-09-16mesa: include mfeatures.h in formats.cBrian Paul1-0/+1
Otherwise, FEATURE_EXT_texture_sRGB was undefined. This is (part of?) the fix for fd.o bug 30177.
2010-09-16mesa: Update ES APIspec.xml.Chia-I Wu1-9/+5
Enable some extensions now that the needed tokens are defined in GLES/glext.h and GLES2/glext.h. Update the prototype of MultiDrawArrays now that the prototype of _mesa_MultiDrawArraysEXT has been updated.
2010-09-14mesa: update to version 64 of GL/glext.hBrian Paul4-9/+9
A number of other files had to be updated as well because const qualifiers were added to the glMultiDrawArrays() function. Also, GL_FIXED is now defined in glext.h.
2010-09-14mesa: move, redefine MESA_GEOMETRY_PROGRAMBrian Paul2-9/+15
2010-09-14mesa: Less FEATURE_ARB_sync tests.Chia-I Wu5-25/+60
Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync is 0, and remove most FEATURE_ARB_sync tests.
2010-09-14mesa: Remove unused _MESA_INIT_*_FUNCTIONS.Chia-I Wu11-90/+0
They were intended to be used to build OpenGL ES only DRI drivers, but that never happened.
2010-09-10mesa: Remove unused Emit flags from gl_shader_compiler_optionsIan Romanick1-2/+0
2010-09-10gallium: Add context profile support to st_api.Chia-I Wu1-1/+5
Add struct st_context_attribs to describe context profiles and attributes. Modify st_api::create_context to take the new struct instead of an st_visual. st_context_attribs can be used to support GLX_ARB_create_context_profile and GLX_EXT_create_context_es2_profile in the future. But the motivation for doing it now is to be able to replace ST_API_OPENGL_ES1 and ST_API_OPENGL_ES2 by profiles. Having 3 st_api's to provide OpenGL, OpenGL ES 1.1, and OpenGL ES 2.0 is not a sane abstraction, since all of them share glapi for current context/dispatch management.
2010-09-09Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg5-47/+8
This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
2010-09-09glsl2: Add EmitNoNoise flag, use it to remove noise opcodesIan Romanick2-11/+3
2010-09-09mesa: Only reference logging symbols in debug buildsKristian Høgsberg1-0/+11
2010-09-09mesa: Don't reuse DummyFramebuffer as the incomplete framebufferKristian Høgsberg2-1/+10
Binding framebuffer 0 on a context that doesn't have a winsys drawable will try to bind the incomplete framebuffer. That fails when that's also the dummy framebuffer.
2010-09-09glapi: Implement optional dispatch loggingKristian Høgsberg5-8/+36
There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
2010-09-08glsl: add several EmitNo* options, and MaxUnrollIterationsLuca Barbieri2-2/+11
This increases the chance that GLSL programs will actually work. Note that continues and returns are not yet lowered, so linking will just fail if not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-09-08glsl: make compiler options per-targetLuca Barbieri3-15/+35
This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-09-08mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2)Luca Barbieri2-0/+40
Changes in v2: - No longer adds tessellation enums
2010-09-08mesa: Refactor parameter processing in set_combiner_(operand|source)Ian Romanick1-68/+22
The enum values were chosen to have sequential values for a reason. Use that to compact and simplify the code.