Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | linker: Link built-in functions instead of including them in every shader | Ian Romanick | 2010-07-21 | 1 | -0/+4 |
| | | | | | | | | 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. | ||||
* | linker: Track and validate GLSL versions used in shaders | Ian Romanick | 2010-07-19 | 1 | -0/+4 |
| | |||||
* | i915: Ask the compiler to flatten out all the if statements that it can. | Eric Anholt | 2010-07-19 | 1 | -0/+5 |
| | |||||
* | linker: Don't dynamically allocate slots for linked shaders | Ian Romanick | 2010-06-30 | 1 | -1/+6 |
| | | | | | The can be at most one shader per stage. There are currently only two stages. There is zero reason to dynamically size this array. | ||||
* | glsl2: Use Mesa's gl_shader_program instead of our own struct glsl_program. | Eric Anholt | 2010-06-30 | 1 | -0/+3 |
| | | | | This avoids more allocation and shuffling of data around. | ||||
* | glsl2: Move our data from a glsl_shader* on the side to the main gl_shader *. | Eric Anholt | 2010-06-30 | 1 | -0/+3 |
| | | | | | 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. | ||||
* | mesa: Allow querying the system FBO in GetFramebufferAttachmentParameteriv | Kristian Høgsberg | 2010-06-15 | 1 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | mesa: Allow GL_ALPHA FBOs with ARB_framebuffer_object. | Eric Anholt | 2010-06-10 | 2 | -3/+7 |
| | | | | Drivers still reject them today, but cairo would like to use these. | ||||
* | mesa: add ARB_texture_swizzle as alias of EXT_texture_swizzle, update relnotes | Marek Olšák | 2010-06-05 | 1 | -0/+1 |
| | | | | The specifications are identical. | ||||
* | mesa: whitespace and 80 column wrapping | Brian Paul | 2010-06-02 | 1 | -3/+12 |
| | |||||
* | mesa: Fix excess initializers in get.c table. | Chia-I Wu | 2010-05-31 | 1 | -2/+2 |
| | |||||
* | Always define int32_t in compiler headers. | Chia-I Wu | 2010-05-31 | 1 | -3/+1 |
| | | | | eglplatform.h no longer defines int32_t. | ||||
* | Update OpenGL ES headers. | Chia-I Wu | 2010-05-31 | 1 | -3/+0 |
| | |||||
* | mesa: Fix/add feature test to shader.c. | Chia-I Wu | 2010-05-31 | 1 | -1/+3 |
| | | | | | Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined. | ||||
* | mesa: fix incorrect GL_DEPTH_STENCIL_ATTACHMENT format check | Brian Paul | 2010-05-27 | 1 | -3/+3 |
| | | | | | | | | | 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. | ||||
* | Revert the 'make static' part of 962f92611216e304c95e7c089b38d58066236014 | Kristian Høgsberg | 2010-05-26 | 2 | -81/+307 |
| | | | | | | | | 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. | ||||
* | mesa: move all vertex array functions into varray.c | Brian Paul | 2010-05-25 | 2 | -0/+274 |
| | |||||
* | mesa: added _mesa_VertexAttribIPointer() | Brian Paul | 2010-05-25 | 2 | -0/+24 |
| | |||||
* | mesa: new GL 3.0 VertexAttrib commands | Brian Paul | 2010-05-25 | 1 | -0/+174 |
| | | | | Still need to plug in API dispatch... | ||||
* | mesa: make a bunch of shader API functions static | Brian Paul | 2010-05-25 | 3 | -377/+173 |
| | |||||
* | mesa: display list support for uint uniforms | Brian Paul | 2010-05-25 | 1 | -1/+199 |
| | | | | Still need to plug into dispatcher... | ||||
* | mesa: unsigned int uniform functions (GL3) | Brian Paul | 2010-05-25 | 2 | -0/+96 |
| | |||||
* | mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT | Kristian Høgsberg | 2010-05-24 | 1 | -21/+23 |
| | | | | | | | | 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. | ||||
* | mesa: Handle FEATURE_es2_glsl differences at runtime too | Kristian Høgsberg | 2010-05-24 | 1 | -12/+22 |
| | | | | | | | 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 | ||||
* | mesa: fix warnings about missing initializers in get.c table | Brian Paul | 2010-05-21 | 1 | -326/+330 |
| | |||||
* | Add __DragonFly__ in querymatrix for fpclassify() | David Shao | 2010-05-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | fpclassify is available on C99-compliant Solaris releases too | Alan Coopersmith | 2010-05-19 | 1 | -1/+2 |
| | | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: Remove unnecessary header. | Vinson Lee | 2010-05-15 | 1 | -2/+0 |
| | |||||
* | mesa: silence void * / func * conversion warnings | Brian Paul | 2010-05-14 | 1 | -5/+10 |
| | |||||
* | mesa: enum bitfields are a gcc-only feature, use GLubyte | Brian Paul | 2010-05-14 | 1 | -2/+2 |
| | |||||
* | mesa: print enum name instead of hexadecimal value in glGet errors | Brian Paul | 2010-05-14 | 1 | -4/+9 |
| | |||||
* | mesa: another transform feedback error check, 80-col wrapping | Brian Paul | 2010-05-14 | 1 | -3/+9 |
| | |||||
* | mesa: fpclassify dummy definition is not needed on FreeBSD. | Alex Kozlov | 2010-05-14 | 1 | -1/+1 |
| | |||||
* | mesa: Remove no-op wrappers around trig functions. | Eric Anholt | 2010-05-13 | 3 | -51/+1 |
| | |||||
* | mesa: Remove _mesa_pow(), which is always just pow(). | Eric Anholt | 2010-05-13 | 7 | -18/+6 |
| | |||||
* | mesa: silence compiler warning | Alan Hourihane | 2010-05-13 | 1 | -1/+3 |
| | |||||
* | mesa: Make FEATURE_ATI_fragment_shader more modular. | Chia-I Wu | 2010-05-12 | 1 | -18/+1 |
| | | | | | | 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. | ||||
* | mesa/es: Update sources.mak and fix the build. | Chia-I Wu | 2010-05-12 | 1 | -0/+6 |
| | | | | | | | | 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. | ||||
* | mesa: Add dummy _mesa_lookup_query_object to queryobj.h. | Chia-I Wu | 2010-05-12 | 1 | -0/+6 |
| | | | | This allows condrender.c to be compiled without FEATURE_queryobj. | ||||
* | mesa: Make FEATURE_EXT_transform_feedback more modular. | Chia-I Wu | 2010-05-12 | 3 | -10/+61 |
| | | | | | | 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. | ||||
* | mesa: fix error message strings | Brian Paul | 2010-05-11 | 1 | -5/+5 |
| | |||||
* | mesa: added glGet code for GL_ARB_transform_feedback2 | Brian Paul | 2010-05-11 | 1 | -0/+18 |
| | |||||
* | mesa: remove unused header | Brian Paul | 2010-05-11 | 1 | -1/+0 |
| | |||||
* | mesa: remove unused header | Brian Paul | 2010-05-11 | 1 | -1/+0 |
| | |||||
* | mesa: Optimize get.c by using a table-driven approach | Kristian Høgsberg | 2010-05-11 | 10 | -10157/+2351 |
| | |||||
* | mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype. | Vinson Lee | 2010-05-10 | 2 | -2/+2 |
| | | | | | | | From http://www.opengl.org/registry/api/glext.h GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); Fixes MinGW build. | ||||
* | mesa: more transform feedback infrastructure | Brian Paul | 2010-05-10 | 7 | -32/+549 |
| | | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects. | ||||
* | mesa: Update comments in get_gen_es.py. | Vinson Lee | 2010-05-09 | 1 | -2/+2 |
| | |||||
* | mesa: fix typos, comment in signed 16-bit tex fetch code | Brian Paul | 2010-05-09 | 1 | -4/+4 |
| | |||||
* | mesa: added unsigned 16-bit/channel tex format | Brian Paul | 2010-05-09 | 6 | -10/+127 |
| |