Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-21 | linker: Link built-in functions instead of including them in every shader | Ian Romanick | |
This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader. | |||
2010-07-19 | linker: Track and validate GLSL versions used in shaders | Ian Romanick | |
2010-07-19 | i915: Ask the compiler to flatten out all the if statements that it can. | Eric Anholt | |
2010-06-30 | linker: Don't dynamically allocate slots for linked shaders | Ian 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-30 | glsl2: 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-30 | glsl2: 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-15 | mesa: Allow querying the system FBO in GetFramebufferAttachmentParameteriv | Kristian 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-10 | mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object. | Eric Anholt | |
Drivers still reject them today, but cairo would like to use these. | |||
2010-06-05 | mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotes | Marek Olšák | |
The specifications are identical. | |||
2010-06-02 | mesa: whitespace and 80 column wrapping | Brian Paul | |
2010-05-31 | mesa: Fix excess initializers in get.c table. | Chia-I Wu | |
2010-05-31 | Always define int32_t in compiler headers. | Chia-I Wu | |
eglplatform.h no longer defines int32_t. | |||
2010-05-31 | Update OpenGL ES headers. | Chia-I Wu | |
2010-05-31 | mesa: 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-27 | mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format check | Brian 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-26 | Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014 | Kristian 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-25 | mesa: move all vertex array functions into varray.c | Brian Paul | |
2010-05-25 | mesa: added _mesa_VertexAttribIPointer() | Brian Paul | |
2010-05-25 | mesa: new GL 3.0 VertexAttrib commands | Brian Paul | |
Still need to plug in API dispatch... | |||
2010-05-25 | mesa: make a bunch of shader API functions static | Brian Paul | |
2010-05-25 | mesa: display list support for uint uniforms | Brian Paul | |
Still need to plug into dispatcher... | |||
2010-05-25 | mesa: unsigned int uniform functions (GL3) | Brian Paul | |
2010-05-24 | mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT | Kristian 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-24 | mesa: Handle FEATURE_es2_glsl differences at runtime too | Kristian 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-21 | mesa: fix warnings about missing initializers in get.c table | Brian Paul | |
2010-05-21 | Add __DragonFly__ in querymatrix for fpclassify() | David Shao | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-05-19 | fpclassify is available on C99-compliant Solaris releases too | Alan Coopersmith | |
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-05-15 | mesa: Remove unnecessary header. | Vinson Lee | |
2010-05-14 | mesa: silence void * / func * conversion warnings | Brian Paul | |
2010-05-14 | mesa: enum bitfields are a gcc-only feature, use GLubyte | Brian Paul | |
2010-05-14 | mesa: print enum name instead of hexadecimal value in glGet errors | Brian Paul | |
2010-05-14 | mesa: another transform feedback error check, 80-col wrapping | Brian Paul | |
2010-05-14 | mesa: fpclassify dummy definition is not needed on FreeBSD. | Alex Kozlov | |
2010-05-13 | mesa: Remove no-op wrappers around trig functions. | Eric Anholt | |
2010-05-13 | mesa: Remove _mesa_pow(), which is always just pow(). | Eric Anholt | |
2010-05-13 | mesa: silence compiler warning | Alan Hourihane | |
2010-05-12 | mesa: 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-12 | mesa/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-12 | mesa: Add dummy _mesa_lookup_query_object to queryobj.h. | Chia-I Wu | |
This allows condrender.c to be compiled without FEATURE_queryobj. | |||
2010-05-12 | mesa: 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-11 | mesa: fix error message strings | Brian Paul | |
2010-05-11 | mesa: added glGet code for GL_ARB_transform_feedback2 | Brian Paul | |
2010-05-11 | mesa: remove unused header | Brian Paul | |
2010-05-11 | mesa: remove unused header | Brian Paul | |
2010-05-11 | mesa: Optimize get.c by using a table-driven approach | Kristian Høgsberg | |
2010-05-10 | mesa: 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-10 | mesa: more transform feedback infrastructure | Brian Paul | |
Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects. | |||
2010-05-09 | mesa: Update comments in get_gen_es.py. | Vinson Lee | |
2010-05-09 | mesa: fix typos, comment in signed 16-bit tex fetch code | Brian Paul | |
2010-05-09 | mesa: added unsigned 16-bit/channel tex format | Brian Paul | |