summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* linker: Track and validate GLSL versions used in shadersIan Romanick2010-07-191-0/+4
|
* i915: Ask the compiler to flatten out all the if statements that it can.Eric Anholt2010-07-191-0/+5
|
* linker: Don't dynamically allocate slots for linked shadersIan Romanick2010-06-301-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 Anholt2010-06-301-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 Anholt2010-06-301-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 GetFramebufferAttachmentParameterivKristian Høgsberg2010-06-151-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 Anholt2010-06-102-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 relnotesMarek Olšák2010-06-051-0/+1
| | | | The specifications are identical.
* mesa: whitespace and 80 column wrappingBrian Paul2010-06-021-3/+12
|
* mesa: Fix excess initializers in get.c table.Chia-I Wu2010-05-311-2/+2
|
* Always define int32_t in compiler headers.Chia-I Wu2010-05-311-3/+1
| | | | eglplatform.h no longer defines int32_t.
* Update OpenGL ES headers.Chia-I Wu2010-05-311-3/+0
|
* mesa: Fix/add feature test to shader.c.Chia-I Wu2010-05-311-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 checkBrian Paul2010-05-271-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 962f92611216e304c95e7c089b38d58066236014Kristian Høgsberg2010-05-262-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.cBrian Paul2010-05-252-0/+274
|
* mesa: added _mesa_VertexAttribIPointer()Brian Paul2010-05-252-0/+24
|
* mesa: new GL 3.0 VertexAttrib commandsBrian Paul2010-05-251-0/+174
| | | | Still need to plug in API dispatch...
* mesa: make a bunch of shader API functions staticBrian Paul2010-05-253-377/+173
|
* mesa: display list support for uint uniformsBrian Paul2010-05-251-1/+199
| | | | Still need to plug into dispatcher...
* mesa: unsigned int uniform functions (GL3)Brian Paul2010-05-252-0/+96
|
* mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXTKristian Høgsberg2010-05-241-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 tooKristian Høgsberg2010-05-241-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 tableBrian Paul2010-05-211-326/+330
|
* Add __DragonFly__ in querymatrix for fpclassify()David Shao2010-05-211-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* fpclassify is available on C99-compliant Solaris releases tooAlan Coopersmith2010-05-191-1/+2
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa: Remove unnecessary header.Vinson Lee2010-05-151-2/+0
|
* mesa: silence void * / func * conversion warningsBrian Paul2010-05-141-5/+10
|
* mesa: enum bitfields are a gcc-only feature, use GLubyteBrian Paul2010-05-141-2/+2
|
* mesa: print enum name instead of hexadecimal value in glGet errorsBrian Paul2010-05-141-4/+9
|
* mesa: another transform feedback error check, 80-col wrappingBrian Paul2010-05-141-3/+9
|
* mesa: fpclassify dummy definition is not needed on FreeBSD.Alex Kozlov2010-05-141-1/+1
|
* mesa: Remove no-op wrappers around trig functions.Eric Anholt2010-05-133-51/+1
|
* mesa: Remove _mesa_pow(), which is always just pow().Eric Anholt2010-05-137-18/+6
|
* mesa: silence compiler warningAlan Hourihane2010-05-131-1/+3
|
* mesa: Make FEATURE_ATI_fragment_shader more modular.Chia-I Wu2010-05-121-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 Wu2010-05-121-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 Wu2010-05-121-0/+6
| | | | This allows condrender.c to be compiled without FEATURE_queryobj.
* mesa: Make FEATURE_EXT_transform_feedback more modular.Chia-I Wu2010-05-123-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 stringsBrian Paul2010-05-111-5/+5
|
* mesa: added glGet code for GL_ARB_transform_feedback2Brian Paul2010-05-111-0/+18
|
* mesa: remove unused headerBrian Paul2010-05-111-1/+0
|
* mesa: remove unused headerBrian Paul2010-05-111-1/+0
|
* mesa: Optimize get.c by using a table-driven approachKristian Høgsberg2010-05-1110-10157/+2351
|
* mesa: s/uint/GLuint/ in _mesa_BindTransformFeedback prototype.Vinson Lee2010-05-102-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 infrastructureBrian Paul2010-05-107-32/+549
| | | | | Includes GL_ARB_transform_feedback2 which encapsulates transform feedback state in objects.
* mesa: Update comments in get_gen_es.py.Vinson Lee2010-05-091-2/+2
|
* mesa: fix typos, comment in signed 16-bit tex fetch codeBrian Paul2010-05-091-4/+4
|
* mesa: added unsigned 16-bit/channel tex formatBrian Paul2010-05-096-10/+127
|
* mesa: added comments for signed 16-bit formatsBrian Paul2010-05-091-4/+4
|