Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: split driver-independent code out of xlib winsys | Keith Whitwell | 2009-01-08 | 30 | -359/+873 |
| | | | | Place in new xlib state-tracker. This is a statetracker for the GLX API. | ||||
* | egl: fix egl closure | Alan Hourihane | 2008-12-23 | 1 | -2/+29 |
| | |||||
* | egl: fix startup query version | Alan Hourihane | 2008-12-23 | 1 | -4/+8 |
| | |||||
* | egl: support GLXFBConfigs, pbuffers and pixmaps. | Alan Hourihane | 2008-12-23 | 1 | -13/+246 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2008-12-22 | 8 | -6/+482 |
|\ | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/Makefile | ||||
| * | softpipe: initialize refcount and winsys | Jerome Glisse | 2008-12-22 | 1 | -0/+2 |
| | | |||||
| * | softpipe: convert to use texture instead of surface | Jerome Glisse | 2008-12-22 | 1 | -35/+30 |
| | | |||||
| * | gallium: const correctness. | José Fonseca | 2008-12-22 | 4 | -18/+18 |
| | | |||||
| * | Ignore new tests executables. | José Fonseca | 2008-12-21 | 1 | -5/+20 |
| | | |||||
| * | gallium: Fix typo in define name. | José Fonseca | 2008-12-20 | 1 | -1/+1 |
| | | |||||
| * | gallium: Simple and efficient cache. | José Fonseca | 2008-12-19 | 6 | -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 #else | Brian Paul | 2008-12-19 | 1 | -1/+1 |
| | | |||||
| * | tgsi: scan for additional info: uses_fogcoord, uses_frontfacing | Brian Paul | 2008-12-18 | 2 | -15/+37 |
| | | |||||
| * | gallium: fix two-sided lighting test in state tracker | Brian Paul | 2008-12-18 | 1 | -3/+6 |
| | | | | | | | | This fixes two-sided lighting for vertex shaders. | ||||
| * | Gallium: fix for conform test | Robert Ellison | 2008-12-18 | 1 | -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 Krol | 2008-12-18 | 1 | -2/+15 |
| | | |||||
| * | mesa: Pass the context to query object delete cb to avoid null dereference. | Eric Anholt | 2008-12-18 | 1 | -1/+1 |
| | | |||||
| * | gallium: Enable memory debugging on all windows platforms. | José Fonseca | 2008-12-18 | 1 | -1/+1 |
| | | |||||
| * | mesa: choose GLSL vertex shader over ARB/internal vertex program in ↵ | Brian Paul | 2008-12-17 | 1 | -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.c | Brian Paul | 2008-12-17 | 1 | -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 Paul | 2008-12-17 | 1 | -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 targets | Brian Paul | 2008-12-17 | 1 | -6/+10 |
| | | |||||
| * | Revert "mesa: fix vertex program test in get_fp_input_mask()" | Brian Paul | 2008-12-17 | 1 | -1/+3 |
| | | | | | | | | This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708. | ||||
| * | mesa: fix vertex program test in get_fp_input_mask() | Brian Paul | 2008-12-17 | 1 | -3/+1 |
| | | | | | | | | | | We were accidentally using the fixed-function logic when a vertex shader was being used. | ||||
| * | winsys: fix depth buffer size when using stencil | Brian Paul | 2008-12-17 | 1 | -0/+3 |
| | | |||||
| * | gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition. | Michal Krol | 2008-12-15 | 1 | -1/+1 |
| | | |||||
* | | gdi: Cleanup sconsfile. | José Fonseca | 2008-12-22 | 1 | -5/+9 |
| | | |||||
* | | Merge commit 'origin/master' into gallium-0.2 | Brian Paul | 2008-12-19 | 8 | -118/+573 |
|\ \ | |||||
| * | | Add do_row_3d for mipmapping 3D textures | Ian Romanick | 2008-12-19 | 1 | -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_REV | Ian Romanick | 2008-12-19 | 1 | -1/+1 |
| | | | |||||
| * | | 965 / GLSL: Use full precision for EXP instruction | Ian Romanick | 2008-12-19 | 1 | -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 precision | Ian Romanick | 2008-12-19 | 1 | -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 Anholt | 2008-12-19 | 1 | -40/+35 |
| | | | | | | | | | | | | Bug #19139. | ||||
| * | | intel: Don't forget the source bitmap size when clipping the size we draw. | Eric Anholt | 2008-12-19 | 1 | -1/+3 |
| | | | |||||
| * | | intel: Update mesa state in blit operations that want post-scissor draw bounds. | Eric Anholt | 2008-12-19 | 2 | -0/+7 |
| | | | |||||
| * | | intel: don't clip to scissor-clipped read framebuffer bounds in copypixels. | Eric Anholt | 2008-12-19 | 1 | -2/+2 |
| | | | |||||
| * | | intel: Move copyteximage source clipping out of copytexsubimage. | Eric Anholt | 2008-12-18 | 1 | -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 Anholt | 2008-12-18 | 1 | -1/+1 |
| | | | |||||
| * | | mesa: Correct _mesa_clip_to_region() off-by-one. | Eric Anholt | 2008-12-18 | 1 | -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 Krol | 2008-12-18 | 1 | -2/+15 |
| | | | |||||
| * | | demos: all glutDestroyWindow() upon exit to test query object clean-up | Brian Paul | 2008-12-18 | 1 | -2/+3 |
| | | | |||||
| * | | i915: check WRAP_T instead of WRAP_R for cube map texture. | Xiang, Haihao | 2008-12-18 | 1 | -1/+1 |
| | | | |||||
| * | | i915: fix abort issue. (bug #19147) | Xiang, Haihao | 2008-12-18 | 2 | -4/+24 |
| | | | |||||
| * | | mesa: remove unneeded _mesa_reference_fragprog() call | Brian Paul | 2008-12-17 | 1 | -4/+2 |
| | | | | | | | | | | | | The subsequent if/else cases always call _mesa_reference_fragprog() anyway. | ||||
| * | | dri: fix for Cygwin compilation, bug 19144 | Jon Turney | 2008-12-17 | 1 | -2/+2 |
| | | | |||||
| * | | mesa: updated comments | Brian Paul | 2008-12-17 | 1 | -10/+12 |
| | | | |||||
| * | | demos: add test of vertex-only and fragment-only shader programs | Brian Paul | 2008-12-17 | 2 | -0/+200 |
| | | | |||||
| * | | util: check for frag/vertShader=0 before attaching | Brian Paul | 2008-12-17 | 1 | -2/+7 |
| | | | |||||
* | | | gallium: begin adapting Ian's 3D mipmap gen code to gallium utility lib | Brian Paul | 2008-12-19 | 1 | -6/+576 |
| | | | | | | | | | | | | Unfinished, a big no-op for now. | ||||
* | | | gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Brian Paul | 2008-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f |