aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Initialize var before use.José Fonseca2008-12-301-1/+1
|
* glut: List new source file in sconscript.José Fonseca2008-12-301-0/+1
|
* mesa: Do not specify types in bitfields.José Fonseca2008-12-301-2/+2
| | | | As advised by gcc -pedantic.
* draw: Do not specify types in bitfields.José Fonseca2008-12-301-3/+3
| | | | As advised by gcc -pedantic.
* gallium: Remove unused variables.José Fonseca2008-12-303-3/+0
|
* gallium: Don't redefine INLINE.José Fonseca2008-12-301-14/+16
| | | | INLINE is commonly used in third-party headers.
* scons: Specify C99 throughout all the tree.José Fonseca2008-12-302-5/+2
| | | | | | | | | | 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.
* rtasm: Remove spurious semi-colons after function bodies.José Fonseca2008-12-301-5/+5
|
* gdi: Remove accidental keypresses.José Fonseca2008-12-301-1/+1
|
* egl: fix egl closureAlan Hourihane2008-12-231-2/+29
|
* egl: fix startup query versionAlan Hourihane2008-12-231-4/+8
|
* egl: support GLXFBConfigs, pbuffers and pixmaps.Alan Hourihane2008-12-231-13/+246
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2008-12-228-6/+482
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/Makefile
| * softpipe: initialize refcount and winsysJerome Glisse2008-12-221-0/+2
| |
| * softpipe: convert to use texture instead of surfaceJerome Glisse2008-12-221-35/+30
| |
| * gallium: const correctness.José Fonseca2008-12-224-18/+18
| |
| * Ignore new tests executables.José Fonseca2008-12-211-5/+20
| |
| * gallium: Fix typo in define name.José Fonseca2008-12-201-1/+1
| |
| * gallium: Simple and efficient cache.José Fonseca2008-12-196-0/+476
| | | | | | | | | | | | | | Fixed size hash table. Collisions are handled by simply destroying the previous entry. It hasn't received much testing yet.
| * gallium: replace #elif with #elseBrian Paul2008-12-191-1/+1
| |
| * tgsi: scan for additional info: uses_fogcoord, uses_frontfacingBrian Paul2008-12-182-15/+37
| |
| * gallium: fix two-sided lighting test in state trackerBrian Paul2008-12-181-3/+6
| | | | | | | | This fixes two-sided lighting for vertex shaders.
| * Gallium: fix for conform testRobert Ellison2008-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following construction in util_surface_copy() in gallium/auxiliary/util/u_rect.c, introduced in commit d177c9ddda2c452cf7d6696d89cf4458ef986f98, incorrectly inverts the Y coordinate in the last parameter to pipe_copy_rect(). /* If do_flip, invert src_y position and pass negative src stride */ pipe_copy_rect(dst_map, &dst->block, dst->stride, dst_x, dst_y, w, h, src_map, do_flip ? -(int) src->stride : src->stride, src_x, do_flip ? w - src_y : src_y); The intention is to start at the last Y coordinate line and move backwards, in the case of a flip; in that case, the correct calculation is "src_y + h - 1", not "w - src_y". This fixes a Gallium assertion failure in the conformance tests: u_rect.c:65:pipe_copy_rect: Assertion `src_y >= 0' failed. debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE Trace/breakpoint trap
| * glsl: Fix handling of nested parens in macro actual arguments.Michal Krol2008-12-181-2/+15
| |
| * mesa: Pass the context to query object delete cb to avoid null dereference.Eric Anholt2008-12-181-1/+1
| |
| * gallium: Enable memory debugging on all windows platforms.José Fonseca2008-12-181-1/+1
| |
| * mesa: choose GLSL vertex shader over ARB/internal vertex program in ↵Brian Paul2008-12-171-1/+13
| | | | | | | | | | | | | | | | | | | | | | get_fp_input_mask() This is a work-around the for the fact that we do fragment shader state validation before vertex shader validation (see comments in state.c) so in get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to date yet. This fixes a glean glsl1 test failure.
| * gallium: fix memory corruption in u_gen_mipmap.cBrian Paul2008-12-171-10/+9
| | | | | | | | | | | | | | | | | | Remove the old/initial vbuf allocation in util_create_gen_mipmap(). We were allocating a small vbuf at this point so get_next_slot() didn't have as large of buffer as it expected. So all but the first set_vertex_data() was writing out of bounds. Also added some comments.
| * mesa: fix fixed-function test in get_fp_input_mask() - again.Brian Paul2008-12-171-3/+5
| | | | | | | | | | | | The problem we're solving only occured when there was a user-defined vertex shader but no fragment shader. Check for that case now. Fixes glean api2 vertex array failure.
| * mesa: add missing cases for texture array targetsBrian Paul2008-12-171-6/+10
| |
| * Revert "mesa: fix vertex program test in get_fp_input_mask()"Brian Paul2008-12-171-1/+3
| | | | | | | | This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708.
| * mesa: fix vertex program test in get_fp_input_mask()Brian Paul2008-12-171-3/+1
| | | | | | | | | | We were accidentally using the fixed-function logic when a vertex shader was being used.
| * winsys: fix depth buffer size when using stencilBrian Paul2008-12-171-0/+3
| |
| * gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition.Michal Krol2008-12-151-1/+1
| |
* | gdi: Cleanup sconsfile.José Fonseca2008-12-221-5/+9
| |
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-198-118/+573
|\ \
| * | Add do_row_3d for mipmapping 3D texturesIan Romanick2008-12-191-21/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REVIan Romanick2008-12-191-1/+1
| | |
| * | 965 / GLSL: Use full precision for EXP instructionIan Romanick2008-12-191-1/+1
| | | | | | | | | | | | | | | The partial precision mode doesn't have quite enough bits of precision to pass conformance tests.
| * | GLSL: The LOG2 macro doesn't have enough precisionIan Romanick2008-12-191-2/+9
| | | | | | | | | | | | | | | 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".
| * | intel: Fix glBitmap top/bottom clipping.Eric Anholt2008-12-191-40/+35
| | | | | | | | | | | | Bug #19139.
| * | intel: Don't forget the source bitmap size when clipping the size we draw.Eric Anholt2008-12-191-1/+3
| | |
| * | intel: Update mesa state in blit operations that want post-scissor draw bounds.Eric Anholt2008-12-192-0/+7
| | |
| * | intel: don't clip to scissor-clipped read framebuffer bounds in copypixels.Eric Anholt2008-12-191-2/+2
| | |
| * | intel: Move copyteximage source clipping out of copytexsubimage.Eric Anholt2008-12-181-48/+61
| | | | | | | | | | | | | | | | | | glCopyTexSubImage already gets the (correct) clipping for us, so it doesn't need the path. While moving the clipping out, replace the code with the mesa path to do the same job.
| * | mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region.Eric Anholt2008-12-181-1/+1
| | |
| * | mesa: Correct _mesa_clip_to_region() off-by-one.Eric Anholt2008-12-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note how if: x + width == xmax + 0: width -= 0 x + width == xmax + 1: width -= 0 x + width == xmax + 2: width -= 1 So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was supposed to. Same for ymax.
| * | glsl: Fix handling of nested parens in macro actual arguments.Michal Krol2008-12-181-2/+15
| | |
| * | demos: all glutDestroyWindow() upon exit to test query object clean-upBrian Paul2008-12-181-2/+3
| | |
| * | i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao2008-12-181-1/+1
| | |