summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add AMD_conservative_depth to extension listChad Versace2011-01-262-0/+2
| | | | | | | The extension is off by default. First in a patchset that implements support for AMD_conservative_depth in the compiler.
* mesa: Support internalFormat=GL_BGRA for DRI driversKristian Høgsberg2011-01-261-0/+11
|
* mesa: fix MESA/EXT typoBrian Paul2011-01-261-1/+1
| | | | Spotted by Bernd Buschinski.
* st/mesa: support for 1D/2D texture arraysBrian Paul2011-01-253-5/+12
|
* mesa: remove isProxy local varBrian Paul2011-01-251-4/+2
|
* mesa: use texFormat local var in more placesBrian Paul2011-01-251-4/+4
|
* mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv()Brian Paul2011-01-251-26/+19
|
* mesa: consolidate error handling in set_tex_parameteri()Brian Paul2011-01-251-38/+36
|
* mesa: add checks for GL_EXT_texture_arrayBrian Paul2011-01-252-16/+23
| | | | In case the driver enables GL_MESA_texture_array but not the EXT version.
* ir_to_mesa: Add several assertions about sizes of arraysIan Romanick2011-01-251-0/+4
| | | | | Both of these assertions are triggered by the test case in bugzilla size of 0.
* st/mesa: add comments in emit_wpos()Brian Paul2011-01-251-0/+12
|
* st/mesa: fix incorrect fragcoord.x translationBrian Paul2011-01-251-4/+6
| | | | | | | | | emit_adjusted_wpos() needs separate x,y translation values. If we invert Y, we don't want to effect X. Part of the fix for http://bugs.freedesktop.org/show_bug.cgi?id=26795 NOTE: This is a candidate for the 7.9 and 7.10 branches.
* mesa: add red, red/green formats in _mesa_base_fbo_format()Brian Paul2011-01-241-1/+11
|
* mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer()Brian Paul2011-01-244-1/+34
| | | | | The software renderer doesn't support GL_ALPHA, GL_LUMINANCE, etc so we should report GL_FRAMEBUFFER_UNSUPPORTED during FBO validation.
* mesa: new cases in _mesa_base_fbo_format()Brian Paul2011-01-241-8/+35
| | | | | | | | The set of internalFormat parameters accepted by glRenderBufferStorage depends on the EXT vs. ARB version of framebuffer_object. The later added support for GL_ALPHA, GL_LUMINANCE, etc. formats. Note that these formats might be legal but might not be supported. That should be checked with glCheckFramebufferStatus().
* Revert "mesa: Simplify _mesa_base_fbo_format by making it exceptions to ↵Brian Paul2011-01-241-24/+43
| | | | | | | | | teximages." This reverts commit 65c41d55a06137115f0b4c67f9a3fd2708f0b625. There really are quite a few differences in the set of internal formats allowed by glTexImage and glRenderbufferStorage.
* st/mesa: Enable EXT_texture_format_BGRA8888 for gles1/2Benjamin Franzke2011-01-241-0/+2
|
* st/mesa: support internalFormat=GL_BGRA in TexImage2DBenjamin Franzke2011-01-241-1/+10
|
* mesa/es: require internalFormat==format in TexImage2DBenjamin Franzke2011-01-241-4/+57
|
* mesa: allow internalFormat=GL_BGRA_EXT in TexImage2DBenjamin Franzke2011-01-241-0/+9
|
* mesa: s/movzxw/movzwl/ in read_rgba_span_x86.SDimitry Andric2011-01-241-1/+1
| | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33386 NOTE: This is a candidate for the 7.9 and 7.10 branches Signed-off-by: Brian Paul <[email protected]>
* mesa: s/movzx/movzbl/Dimitry Andric2011-01-241-7/+7
| | | | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33388 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <[email protected]>
* osmesa: mklib requires arguments before objectsChristopher James Halse Rogers2011-01-241-1/+1
| | | | | | | | | | | | | | | | Fixes the build when selecting driver=osmesa and building static libraries. Otherwise, mklib tries to add the ‘-ltalloc’ object to the archive, which obviously fails. Clients which statically link to osmesa will need to link to libtalloc also, as specified in the Libs.private of osmesa.pc. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=33360 NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Christopher James Halse Rogers <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* r600c: only colors can be flat shadedAndre Maasikas2011-01-242-36/+9
| | | | fixes stellarium text and menu display
* r300g: Increase fragment shader limits for r400 cardsTom Stellard2011-01-235-33/+205
| | | | | r400 fragment shaders now support up to 64 temporary registers, 512 ALU instructions, and 512 TEX instructions.
* gldirect: remove _NEW_ACCUMBrian Paul2011-01-233-6/+0
|
* i965: remove _NEW_ACCUMBrian Paul2011-01-231-1/+0
|
* mesa: add ARB_framebuffer_sRGB as alias of the EXT variantMarek Olšák2011-01-231-0/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: return GL_LINEAR for ..COLOR_ENCODING if framebuffer_sRGB is unsupportedMarek Olšák2011-01-231-1/+8
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #definesBrian Paul2011-01-233-35/+30
| | | | | | The _NEW_ACCUM flag was only set when changing the accumulation buffer clear color and never used anywhere. Reclaim that dirty bit. Clean up the definitions of the other dirty bit flags.
* mesa: smarter glTexParameter state invalidationBrian Paul2011-01-231-25/+38
| | | | | | Only a few texture object parameters can effect texture completeness: min level, max level, minification filter. Don't mark the texture incomplete for other texture object state changes.
* r300/compiler: remove any code related to relative addressing of temporariesMarek Olšák2011-01-239-120/+13
| | | | | The hw can't do it and the code was useless anyway (it's lowered in the GLSL compiler).
* st/mesa: ensure that all pixel paths operation on linear RGB data, not sRGBBrian Paul2011-01-225-18/+39
| | | | | | | | | | | | Before, we were converting between linear/sRGB in glReadPixels, glDrawPixels, glAccum, etc if the renderbuffer was an sRGB texture. Those all need to operate on pixel values as-is without conversion. Also, when setting up render-to-texture, if the texture is sRGB the pipe_surface view must be linear RGB. This will change when we support GL_ARB_framebuffer_sRGB. This fixes http://bugs.freedesktop.org/show_bug.cgi?id=33353
* st/mesa: update comment, use st_fb_orientation()Brian Paul2011-01-221-6/+8
|
* st/mesa: comments in update_viewport()Brian Paul2011-01-221-0/+4
|
* scons: Add support for GLES.Chia-I Wu2011-01-221-0/+63
| | | | | | | | | | | | | | | | | | GLES can be enabled by running scons with $ scons gles=yes When gles=yes is given, the build is changed in three ways. First, libmesa.a will be built with FEATURE_ES1 and FEATURE_ES2. This makes DRI drivers and libEGL support and advertise GLES support. Second, GLES libraries will be created. They are libGLESv1_CM, libGLESv2, and libglapi. Last, libGL or opengl32 will link to libglapi. This change is required as _glapi_* will be declared as __declspec(dllimport) in libmesa.a on windows. libmesa.a expects those symbols to be defined in another DLL. Due to this change to GL, GLES support is marked experimental. Note that GLES requires libxml2-python to generate some of its sources.
* glsl, i965: Remove unnecessary talloc includes.Kenneth Graunke2011-01-213-3/+0
| | | | These are already picked up by ir.h or glsl_types.h.
* ra: Use the same context when realloc'ing arrays.Kenneth Graunke2011-01-211-2/+2
| | | | | | The original allocations use regs->regs as the context, so talloc will happily ignore the context given here. Change it to match to clarify that it isn't changing.
* mesa: EXT_framebuffer_sRGB interface additions.Dave Airlie2011-01-213-0/+21
| | | | | | | | | | | This adds the get/enable enums and internal gl_config storage for this extension. In theory this is all that is needed to enable this extension from what I can see, since its not mandatory to implement the features if you don't advertise the visuals or the fb configs. Signed-off-by: Dave Airlie <[email protected]>
* r600c: get OQ results only for 4 DBs on r600 classAndre Maasikas2011-01-211-2/+6
| | | | | - since evergreen addition which increased this to 8 depth backends other bytes may contain garbage values
* intel: Fix typeos from 3d028024 and 790ff232Ian Romanick2011-01-202-15/+15
| | | | ...and remove egg from face.
* i915: Set correct values for range/precision of fragment shader typesIan Romanick2011-01-201-0/+14
|
* i965: Set correct values for range/precision of fragment shader typesIan Romanick2011-01-201-0/+9
|
* mesa: Set correct values for range/precision of shader integer typesIan Romanick2011-01-201-2/+11
|
* mesa: Connect glGetShaderPrecisionFormat into the dispatch tableIan Romanick2011-01-201-0/+1
|
* Fix the build from 887d2b64Ian Romanick2011-01-202-2/+2
| | | | | Thanks to all the include frobbing, GLuint is not known in some places that included enums.h.
* mesa: clean-up _mesa_lookup_prim_by_nr()Brian Paul2011-01-204-41/+28
| | | | Remove the redundant public _mesa_prim_name[] array.
* mesa: move extra prim mode #definesBrian Paul2011-01-202-5/+5
|
* vbo: added commentBrian Paul2011-01-201-1/+1
|
* mesa: minor formatting fixesBrian Paul2011-01-201-4/+7
|