summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: remove Z16 format override hackBrian Paul2010-02-231-6/+0
|
* llvmpipe: Z16 format is not supportedBrian Paul2010-02-231-0/+4
|
* st/glx: improved depth/stencil format selection codeBrian Paul2010-02-233-43/+71
| | | | | Actually ask the gallium screen what Z/stencil format is supported. This will let us remove some hacks in the llvmpipe driver.
* st/glx: added PIPE_FORMAT_Z24S8_UNORM codeBrian Paul2010-02-231-1/+6
|
* llvmpipe: added assertions to verify that scene is emptyBrian Paul2010-02-232-0/+5
|
* llvmpipe: added some assertionsBrian Paul2010-02-231-0/+3
|
* glapi: fix es after mvGeorge Sapountzis2010-02-2414-17/+17
|
* glapi: fix code generation Makefile after mvGeorge Sapountzis2010-02-241-73/+118
|
* glapi: mv code generation to subdirGeorge Sapountzis2010-02-2442-0/+0
| | | | This just moves files, code generation Makefile will be fixed in next commit for easier review.
* r300g: fix texture swizzling for the SRGB formatsMarek Olšák2010-02-241-4/+20
|
* glx: Fix some typos in pointer checking for OML_sync_control entry points.kleinerm2010-02-231-3/+3
| | | | | Signed-off-by: Mario Kleiner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* pipebuffer: slab: if size < alignment, use alignment to find bucketLuca Barbieri2010-02-231-1/+5
| | | | | | | | | | If the size is lower than the alignment, we must use the alignment to select the bucket. Otherwise, the selected bucket won't be able to satisfy our request and will fail. Signed-off-by: José Fonseca <[email protected]>
* pipebuffer: fix inverted signalled checkingLuca Barbieri2010-02-231-1/+1
| | | | | | A return of 0 means the fence is signalled. Signed-off-by: José Fonseca <[email protected]>
* pipebuffer: avoid assert due to increasing a zeroed refcntLuca Barbieri2010-02-231-1/+1
| | | | | | | | The cache manager stores buffers with a reference count that dropped to 0. pipe_reference asserts in this case on debug builds, so use pipe_reference_init instead. Signed-off-by: José Fonseca <[email protected]>
* i965: Enable GL_ARB_fragment_coord_conventions now that the GLSL is fixed.Eric Anholt2010-02-231-0/+1
| | | | Tested with piglit glsl-arb-fragment-coord-conventions.
* egl: Remove unused _EGL_SKIP_HANDLE_CHECK.Chia-I Wu2010-02-234-53/+0
| | | | | | It was added to skip checking EGLDisplay, EGLSurface, and etc. It is never defined and the spec does not allow the checks to be skipped. Remove it for good.
* st/egl: Unify surface creation.Chia-I Wu2010-02-231-107/+97
| | | | | Add a new function egl_g3d_create_surface and use it to create window, pixmap, buffer, and screen surfaces.
* mesa: Assert that array index is not negative.Vinson Lee2010-02-231-0/+1
|
* glsl/apps: Assert that ftell does not return an error.Vinson Lee2010-02-225-0/+6
|
* i965g: Add fallthrough comments in switch statement.Vinson Lee2010-02-221-3/+3
| | | | Silences warnings about missing break statements in static analysis.
* draw: Remove dead code.Vinson Lee2010-02-221-7/+1
|
* r300g: fix draw_elements for "start" != 0Marek Olšák2010-02-231-7/+2
| | | | Reported-by: Andre Maasikas <[email protected]>
* svga: Upload user buffers only once.José Fonseca2010-02-224-29/+46
|
* svga: Fix the guest offset of piecewise buffer DMAs.José Fonseca2010-02-223-7/+9
| | | | | It was being erroneously set equal to the host offset, but it should be zero.
* svga: Emit a scalar rcp in shadow maps.José Fonseca2010-02-221-4/+4
| | | | Small improvement in Lightsmark 2008.
* svga: Don't emit zero writemasks.José Fonseca2010-02-222-28/+39
| | | | | | | | This fixes a regression with Lightsmark, where more compact TGSI from Mesa was causing a zero mask MOV to be emitted for shadow map compare, causing problems in some backends. Add a few more assertions to catch cases like this.
* tgsi: Report an error when a destination has an empty writemask.José Fonseca2010-02-221-0/+3
|
* svga: Upload the dirty ranges instead of the whole buffer.José Fonseca2010-02-221-45/+48
|
* svga: Break uploads of big buffers into smaller pieces.José Fonseca2010-02-222-22/+147
| | | | | | Fixes crash in Homeworld2 which tries to create a 14MB buffer, because we now avoid creating GMR buffers larger than 8MB to ensure progress given we have only a 16MB pool.
* svga: Note ranges even when there is no hardware buffer around.José Fonseca2010-02-221-5/+2
| | | | | Not having a hardware buffer around doesn't change the fact that the range is dirty and needs to be uploaded eventually.
* svga: Further cleanup/comment svga buffer code.José Fonseca2010-02-222-112/+142
| | | | Just cosmetic changes -- no behavior change.
* svga: Temporarily create a sw vertex buf when failed to create a hw buf.José Fonseca2010-02-221-7/+20
| | | | | Many apps don't check the return of map buffer so it is better not to fail.
* svga: Remove unused buffer download code.José Fonseca2010-02-222-45/+0
| | | | Unnecessary now that we never destroy buffer storage.
* pipebuffer: Don't synchronize when checking for buffer overflows.José Fonseca2010-02-221-1/+3
| | | | To avoid masking synchronization issues in debug builds.
* python/retrace: Dump all vertices for verbosity level 3.José Fonseca2010-02-221-1/+1
|
* svga: Prevent buffer overflow in buffer ranges.José Fonseca2010-02-221-8/+54
| | | | | | | Do this by extending the nearest range to cover the new range. This fixes an access fault in Call of Duty which was doing many disjoint glBufferSubData calls.
* svga: Fix PIPE_LOGICOP_INVERT.José Fonseca2010-02-221-6/+1
| | | | | | Actually the current XOR implementation is an INVERT. This fixes rectangle selection in Maya.
* bin/mklib: Clear CDPATH to avoid damaging expand_archive outputKeith Packard2010-02-221-0/+4
| | | | | | | | | | | The bash 'cd' command tends to emit random stuff to stdout when the CDPATH variable is set, so clear it to keep extra filenames from being emitted from the expand_archive function, which would otherwise cause mklib to fail. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Dan Nicholson <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* glxinfo: Fix User error in glGetProgramivARBBrian Paul2010-02-221-4/+17
| | | | | | | | | | | | glxinfo needed fixing after commit 4bccd69. Move fragment program only parameters into their own list so that they are not queried for a vertex program. Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit b0e5dcb859692707fec8752dd21fc61fc4c3dbcc)
* i965g: added missing texture cap queriesBrian Paul2010-02-221-0/+4
|
* i915g: added missing texture cap queriesBrian Paul2010-02-221-0/+4
|
* st/mesa: change viewport Z scale/bias for glBitmap/glDrawPixelsBrian Paul2010-02-222-4/+10
| | | | | | | This fixes incorrect Z position of glBitmap, glDraw/CopyPixels for the svga driver. Now we use 0.5, 0.5 as is typical for ordinary 3D rendering. (cherry picked from commit bcd561c66777e58dbb29a573c4d2279772bac6c5)
* st/mesa: Add checks for ST_SURFACE_x vs MESA_BUFFER_xBrian Paul2010-02-222-1/+9
| | | | | | | The ST_SURFACE_x values should match the Mesa BUFFER_x values. Added some assertions to prevent future mix-ups. (cherry picked from commit 13cbb5fff68ef8831230638e9f0b29a217750e9d)
* mesa/st: Make ST_SURFACE_DEPTH index consistent with mesa's BUFFER_DEPTH.Brian Paul2010-02-221-1/+1
| | | | | | Some st functions assume that they are identical. (cherry picked from commit 9d17ad2891b58de9e33e943ff918a678c6a3c2bd)
* intel: assert that we do not overflow the batch buffer.Chris Wilson2010-02-221-1/+2
| | | | Signed-off-by: Chris Wilson <[email protected]>
* i915: Fix logic !gen >= 3Chris Wilson2010-02-221-1/+1
| | | | | | | The effect of this was that all objects were aligned to 128 bytes on all generations, rather than just gen2. Signed-off-by: Chris Wilson <[email protected]>
* i915: Remove superfluous MI_NOOP from vertex emissionChris Wilson2010-02-221-2/+1
| | | | Signed-off-by: Chris Wilson <[email protected]>
* intel: Check that we have a bufmgr or bail out when initializing the context.Chris Wilson2010-02-221-0/+4
| | | | Signed-off-by: Chris Wilson <[email protected]>
* Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"Dave Airlie2010-02-2223-1247/+347
| | | | | | | | | | This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <[email protected]>
* r300g: rebuild winsys/pipe buffer handling and add buffer mapDave Airlie2010-02-2223-347/+1247
| | | | | | | | | | | | | This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <[email protected]>