summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-31util: List new file in SConscript.José Fonseca
2008-12-31Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
2008-12-31i915: Avoid ptr->int conversion.José Fonseca
2008-12-31draw: Avoid integer overflow converting pointers on 64bit archs.José Fonseca
Not really an error, as we only care for the lower 4 bits.
2008-12-30Merge commit 'origin/master' into gallium-0.2Brian Paul
Conflicts: src/mesa/main/config.h
2008-12-30mesa: fix bug in evaluation of structure fieldsBrian Paul
Fixes incorrect size information. See bug 19273.
2008-12-30mesa: allow variable indexing into the predefined uniform variable arraysBrian Paul
This allows code such as "vec4 a = gl_LightSource[i].ambient;" to work. When a built-in uniform array is indexed with a variable index we need to "unroll" the whole array into the parameter list (aka constant buffer) because we don't know which elements may be accessed at compile-time. In the case of the gl_LightSource array of size [8], we emit 64 state references into the parameter array (8 elements times 8 vec4s per gl_LightSourceParameters struct). Previously, we only allowed constant-indexed references to uniform arrays (such as gl_LightSource[2].position) which resulted in a single state reference being added to the parameter array, not 64. We still optimize this case. Users should be aware that using "gl_LightSource[i].ambient" in their shaders is a bit expensive since state validation will involve updating all 64 light source entries in the parameter list.
2008-12-30mesa: better error message when running out of GLSL samplersBrian Paul
2008-12-30mesa: comments for some state varsBrian Paul
2008-12-30mesa: increase max constants/uniforms to 256 (vec4 vectors)Brian Paul
2008-12-30gallium: Initialize var before use.José Fonseca
2008-12-30glut: List new source file in sconscript.José Fonseca
2008-12-30mesa: Do not specify types in bitfields.José Fonseca
As advised by gcc -pedantic.
2008-12-30draw: Do not specify types in bitfields.José Fonseca
As advised by gcc -pedantic.
2008-12-30gallium: Remove unused variables.José Fonseca
2008-12-30gallium: Don't redefine INLINE.José Fonseca
INLINE is commonly used in third-party headers.
2008-12-30scons: Specify C99 throughout all the tree.José Fonseca
MSVC may not support full C99, but supports more than plain C90. And -pedantic without -std=c99 generates too many spurious warnings (specially C++ style comments) to be of any use. Note that using certain C99 features in the cross-platform parts of Gallium is still not possible; namely mid-of-scope variable declarations and named structure initializers will break MSVC builds.
2008-12-30rtasm: Remove spurious semi-colons after function bodies.José Fonseca
2008-12-30gdi: Remove accidental keypresses.José Fonseca
2008-12-30mesa: updated compilation documentationBrian Paul
2008-12-30demos: minor fixes to twoside.c glsl demoBrian Paul
2008-12-30intel: disable ATI_texture_env_combine3 for i830( and related device).Xiang, Haihao
Thanks to Eric for pointing it out.
2008-12-29dri: Fix driWaitForMSC32 when divisor >= 2 and msc < 0.Eric Anholt
We'd come up with a negative remainder, while we were looking for the positive version of it in the loop conditional. And, since the "did we hit our target" break was disabled for the target_msc == 0 ("Just make the divisor/remainder work") path, we'd never exit. Simplify the code by just using int64_t all over instead of trying to do it in a u32 space.
2008-12-29R300: missing semicolonAlex Deucher
2008-12-29intel: enable ATI_texture_env_combine3. Fixes #17707Xiang, Haihao
2008-12-28r300: remove the unknowns from the indx_buffer codeDave Airlie
2008-12-24i915: separate the fog term from the specular color term.Xiang, Haihao
Previously fog parameter and specular color are packed into the same dword. Note specular color should be packed in BGRA for device, so if fog parameter and specular color all are present, fog parameter will dirty the alpha term of specular color. This fixes rendering issue when playing 'Yo Frankie' on 915/945.
2008-12-23intel: Fix glBitmap clipping for DRI1.Eric Anholt
2008-12-23Remove third buffer support from Mesa.Dave Airlie
This is part of the deprecated pageflipping infrastructure.
2008-12-23egl: fix egl closureAlan Hourihane
2008-12-23egl: fix startup query versionAlan Hourihane
2008-12-23egl: support GLXFBConfigs, pbuffers and pixmaps.Alan Hourihane
2008-12-22softpipe: Don't fill surfaces's winsys fields.José Fonseca
This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces.
2008-12-22softpipe: Call surface_alloc_storage to get the pipebuffer for display targets.José Fonseca
Otherwise blitting from display target surfaces to front screen fails in several platforms.
2008-12-22Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
Conflicts: src/gallium/auxiliary/util/Makefile
2008-12-22gdi: Cleanup sconsfile.José Fonseca
2008-12-22softpipe: initialize refcount and winsysJerome Glisse
2008-12-22softpipe: convert to use texture instead of surfaceJerome Glisse
2008-12-22gallium: const correctness.José Fonseca
2008-12-21Ignore new tests executables.José Fonseca
2008-12-20gallium: Fix typo in define name.José Fonseca
2008-12-19Merge commit 'origin/master' into gallium-0.2Brian Paul
2008-12-19gallium: begin adapting Ian's 3D mipmap gen code to gallium utility libBrian Paul
Unfinished, a big no-op for now.
2008-12-19gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REVBrian Paul
This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f
2008-12-19Add do_row_3d for mipmapping 3D texturesIan Romanick
Previously 3D textures were mipmapped using multiple passed through the 2D mipmap generation code. This had 3 disadvantages. First, the extra passes were slow. Second, this required the allocation of a temporary buffer to hold intermediate data. Third, and most important, the extra passes caused loss of additional bits due to integer division / bit-shifting. With this change, our mipmapgen conformance test passes for non-compressed texture formats.
2008-12-19Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REVIan Romanick
2008-12-19965 / GLSL: Use full precision for EXP instructionIan Romanick
The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
2008-12-19GLSL: The LOG2 macro doesn't have enough precisionIan Romanick
It looks like the LOG2 macro only has 8 or 9 bits of precission, but the ARB_vertex_program spec says "accurate to at least 10 bits".
2008-12-19intel: Fix glBitmap top/bottom clipping.Eric Anholt
Bug #19139.
2008-12-19intel: Don't forget the source bitmap size when clipping the size we draw.Eric Anholt