summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-06-30mesa: Use fpclassify for GL_OES_query_matrix on OpenBSD and NetBSD.Chia-I Wu
Patch from Brad Smith <brad@comstyle.com> The attached patch allows the GL_OES_query_matrix function to use the systems fpclassify() for OpenBSD and NetBSD.
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-26mesa: Remove unnecessary header.Vinson Lee
2010-06-25mesa: initialize extension string when context is first boundBrian Paul
...instead of waiting until glGetString(GL_EXTENSIONS) is called. This fixes a problem where the MESA_EXTENSION_OVERRIDE env var is ignored if the app never calls glGetString(GL_EXTENSIONS). NOTE: this is a candidate patch for the 7.8 branch.
2010-06-23Merge branch 'shader-file-reorg'Brian Paul
1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c
2010-06-22mesa: fix attachment error checking for glGetFramebufferAttachmentParameteriv()Brian Paul
This is a follow-on to commit 80dfec3e53fd5b5c8c31fb16376c9910258c91b0. The valid attachments for glGetFramebufferAttachmentParameteriv() depends on whether we're querying the default FBO or a user-created FBO.
2010-06-23mesa: fix assertion failure for GL_ALPHA FBOsMarek Olšák
2010-06-15mesa: Allow querying the system FBO in GetFramebufferAttachmentParameterivKristian Høgsberg
If the default framebuffer is bound to <target>, then <attachment> must be one of FRONT_LEFT, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, AUXi, DEPTH_BUFFER, or STENCIL_BUFFER, identifying a color buffer, the depth buffer, or the stencil buffer, and <pname> may be FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE or FRAMEBUFFER_ATTACHMENT_OBJECT_NAME. as well as these <pname> values FRAMEBUFFER_ATTACHMENT_RED_SIZE, FRAMEBUFFER_ATTACHMENT_GREEN_SIZE, FRAMEBUFFER_ATTACHMENT_BLUE_SIZE, FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE, FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, or FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING. https://bugs.freedesktop.org/show_bug.cgi?id=28551
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move shader/slang/* sources to main/slang/*Brian Paul
Reduce the source tree depth a bit.
2010-06-10mesa: move nvprogram.[ch] to main/Brian Paul
2010-06-10mesa: move arbprogram.[ch] to main/Brian Paul
2010-06-10mesa: move atifragshader.[ch] to main/Brian Paul
2010-06-10mesa: move uniforms.c to main/Brian Paul
2010-06-10mesa: refactor shader api / object codeBrian Paul
Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
2010-06-10mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object.Eric Anholt
Drivers still reject them today, but cairo would like to use these.
2010-06-05mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotesMarek Olšák
The specifications are identical.
2010-06-02mesa: whitespace and 80 column wrappingBrian Paul
2010-05-31mesa: Fix excess initializers in get.c table.Chia-I Wu
2010-05-31Always define int32_t in compiler headers.Chia-I Wu
eglplatform.h no longer defines int32_t.
2010-05-31Update OpenGL ES headers.Chia-I Wu
2010-05-31mesa: Fix/add feature test to shader.c.Chia-I Wu
Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined.
2010-05-27mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format checkBrian Paul
We want to check the incoming renderbuffer format, not the (potentially non-existant) current attachment. Fixes segfault w/ fbotexture -ds2. NOTE: this will be applied to the 7.8 branch too.
2010-05-26Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014Kristian Høgsberg
The es1 and es2 dispath table initialization code is generated from the API XML files and we can't easily share the dispatch table code setup. Keep the _mesa_init_shader_dispatch() part of the patch, but roll back the static-ization of shader entrypoints so es1 and es2 dispatch initialization still works.
2010-05-25mesa: move all vertex array functions into varray.cBrian Paul
2010-05-25mesa: added _mesa_VertexAttribIPointer()Brian Paul
2010-05-25mesa: new GL 3.0 VertexAttrib commandsBrian Paul
Still need to plug in API dispatch...
2010-05-25mesa: make a bunch of shader API functions staticBrian Paul
2010-05-25mesa: display list support for uint uniformsBrian Paul
Still need to plug into dispatcher...
2010-05-25mesa: unsigned int uniform functions (GL3)Brian Paul
2010-05-24mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXTKristian Høgsberg
The check was disabled when FEATURE_OES_framebuffer_object was enabled, since that used to mean we weren't implementing regular OpenGL semantics. Now that we can compile in support for multiple APIs, change the #ifdef to compile the check in when FEATURE_GL is enabled and enable the check for contexts that implement OpenGL at runtime.
2010-05-24mesa: Handle FEATURE_es2_glsl differences at runtime tooKristian Høgsberg
Now that we can support different APIs at runtime, we need to check the context for the API we're currently providing as well. https://bugs.freedesktop.org/show_bug.cgi?id=28194
2010-05-21mesa: fix warnings about missing initializers in get.c tableBrian Paul
2010-05-21Add __DragonFly__ in querymatrix for fpclassify()David Shao
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-19fpclassify is available on C99-compliant Solaris releases tooAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-15mesa: Remove unnecessary header.Vinson Lee
2010-05-14mesa: silence void * / func * conversion warningsBrian 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-14mesa: another transform feedback error check, 80-col wrappingBrian Paul
2010-05-14mesa: fpclassify dummy definition is not needed on FreeBSD.Alex Kozlov
2010-05-13mesa: Remove no-op wrappers around trig functions.Eric Anholt
2010-05-13mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt
2010-05-13mesa: silence compiler warningAlan Hourihane
2010-05-12mesa: Make FEATURE_ATI_fragment_shader more modular.Chia-I Wu
This allows atifragshader.h to be used without knowing if FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is removed from the omit list in ES overlay.
2010-05-12mesa/es: Update sources.mak and fix the build.Chia-I Wu
Remove sources that are feature-aware from the omit list. x86 -O0 build is ~12KiB smaller afther making those sources feature-aware. Also, remove get.c from the omit list as get_es[12].c have been merged to it.
2010-05-12mesa: Add dummy _mesa_lookup_query_object to queryobj.h.Chia-I Wu
This allows condrender.c to be compiled without FEATURE_queryobj.
2010-05-12mesa: Make FEATURE_EXT_transform_feedback more modular.Chia-I Wu
This allows transformfeedback.h and st_cb_xformfb.h to be included and used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix build of ES overlay.
2010-05-11mesa: fix error message stringsBrian Paul
2010-05-11mesa: added glGet code for GL_ARB_transform_feedback2Brian Paul