summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-06-30linker: Don't dynamically allocate slots for linked shadersIan Romanick
The can be at most one shader per stage. There are currently only two stages. There is zero reason to dynamically size this array.
2010-06-30glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program.Eric Anholt
This avoids more allocation and shuffling of data around.
2010-06-30glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *.Eric Anholt
This saves recompiling at link time. gl_shader->ir is made a pointer so that we don't have to bring exec_list into mtypes.h.
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: 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
2010-05-11mesa: remove unused headerBrian Paul
2010-05-11mesa: remove unused headerBrian Paul
2010-05-11mesa: Optimize get.c by using a table-driven approachKristian Høgsberg
2010-05-10mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype.Vinson Lee
From http://www.opengl.org/registry/api/glext.h GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); Fixes MinGW build.
2010-05-10mesa: more transform feedback infrastructureBrian Paul
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
2010-05-09mesa: Update comments in get_gen_es.py.Vinson Lee
2010-05-09mesa: fix typos, comment in signed 16-bit tex fetch codeBrian Paul
2010-05-09mesa: added unsigned 16-bit/channel tex formatBrian Paul
2010-05-09mesa: added comments for signed 16-bit formatsBrian Paul
2010-05-09mesa: use GL_RGBA16_SNORM for accum bufferBrian Paul
2010-05-09mesa: added texstore function for signed 16-bit formatsBrian Paul