summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* wglSetPixelFormat should ignore the ppfd parameter.Morgan Armand2011-11-021-2/+4
| | | | Signed-off-by: José Fonseca <[email protected]>
* r300g: Fix queries on big endian hosts.Michel Dänzer2011-11-021-1/+2
| | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Corbin Simpson <[email protected]>
* gallium/util: Add macros for converting from little endian to CPU byte order.Michel Dänzer2011-11-021-0/+13
| | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
* gallium/dri: Remove references to vblank.José Fonseca2011-11-022-7/+0
|
* Fix gallium dri compile and a merge conflictKristian Høgsberg2011-11-023-9/+1
|
* svga: Tag cursors with the scanout hintJakob Bornecrantz2011-11-021-2/+3
| | | | | Signed-off-by: Jakob Bornecrantz <[email protected]> Reviewed-by: Thomas Hellstrom <[email protected]>
* dri: Remove unused dri texmem.cKristian Høgsberg2011-11-022-4/+2
|
* dri: Drop unused dri renderbuffer helper functionsKristian Høgsberg2011-11-022-4/+2
|
* dri: Remove unnecessary timestamp pointer indirectionKristian Høgsberg2011-11-023-5/+4
|
* dri: Remove cliprect information from __DRIdrawableKristian Høgsberg2011-11-021-18/+1
|
* dri: Remove driMediaStreamCounterExtensionKristian Høgsberg2011-11-021-2/+0
| | | | Also DRI1-only.
* dri: Remove driSwapControlExtensionKristian Høgsberg2011-11-021-2/+0
| | | | DRI1-only as well.
* dri: Drop driCopySubBufferExtensionKristian Høgsberg2011-11-021-2/+0
| | | | Another DRI1-only extension.
* dri: Drop driReadDrawableExtensionKristian Høgsberg2011-11-021-2/+0
| | | | All DRI2 drivers support setting a separate read drawable.
* dri: Drop driLegacyExtensionKristian Høgsberg2011-11-021-1/+0
| | | | There are no DRI1 drivers left.
* st/dri/sw: add get_image inline helper similar to put_imageGeorge Sapountzis2011-11-021-4/+16
| | | | | TODO: check if GetImage works with passing the pitch as width, similar to PutImage, which avoids the extra copy, ala dri_sw_displaytarget_display() in src/gallium/winsys/sw/dri/dri_sw_winsys.c
* st/dri/sw: Fix incorrect castBenjamin Franzke2011-11-021-1/+1
| | | | | Missed one casting error due to rebase for commit 98aa2a8f725e44aec8bd998fe436a134e94f13bb.
* st/dri/sw: Implement texture_from_pixmapBenjamin Franzke2011-11-024-5/+60
| | | | | | | | | | This is a cleanup of commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c. Update tex buffer using a dri_drawable hook from implemented in sw/drisw.c. This saves us the duplication of dri_drawable.c. CC: Stuart Abercrombie <[email protected]> CC: Stéphane Marchesin <[email protected]>
* Revert "Duplicate state_tracker/dri/sw/dri_drawable.c"Benjamin Franzke2011-11-021-269/+1
| | | | | | | This reverts commit 569bde1fa7d03fb7688d0d391b32e61e857ad44e. CC: Stuart Abercrombie <[email protected]> CC: Stéphane Marchesin <[email protected]>
* Revert "state_trackers/dri/sw: Implement texture_from_pixmap."Benjamin Franzke2011-11-021-43/+7
| | | | | | | This reverts commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c. CC: Stuart Abercrombie <[email protected]> CC: Stéphane Marchesin <[email protected]>
* r600g: add comment about special shader exportsAlex Deucher2011-11-021-0/+32
| | | | | | | | | Certain exports (position, point size, etc.) are treated specially by the shader and not counted as generic exports. Note the exports and any relevant related state bits. Signed-off-by: Alex Deucher <[email protected]>
* r600g: take into account PSIZE output for spi mappingVadim Girlin2011-11-021-3/+6
| | | | | | | | | | | | Skip PSIZE and POSITION when counting VS outputs. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=42435 Tested without regressions on evergreen. NOTE: this is a candidate for the 7.11 branch. Signed-off-by: Vadim Girlin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* svga: Update state prototypes to return pipe_error.José Fonseca2011-11-026-25/+36
| | | | Fixes a bunch of prototype mismatch warnings..
* postprocess: remove const qualifiers on unsigned int parametersBrian Paul2011-11-011-2/+2
| | | | to match the prototype in postprocess.h
* st/xa: Add a scanout flag for surfacesThomas Hellstrom2011-11-012-1/+14
| | | | | | | Bump minor to signal availability. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
* llvmpipe: Re-advertise support for stencil formats...José Fonseca2011-11-011-5/+6
| | | | | | "no fetch_rgba_float for uint formats" => "llvmpipe does not support uint formats" "stencil == uint" => "llvmpipe does not support stencil"
* llvmpipe: Use -1 instead of ~0 for "no slot".José Fonseca2011-11-013-15/+21
| | | | | | As the value of unsigned ~0 depends on the bit-width. Fixes fdo 42411.
* svga: Fix potential buffer overflow in rs draw state.José Fonseca2011-10-314-13/+19
| | | | Reviewed-by: Brian Paul <[email protected]>
* llvmpipe: Remove unsed variables.José Fonseca2011-10-312-6/+1
|
* util: Add missing initializer.José Fonseca2011-10-311-1/+1
|
* svga: Flush the hwtnl primitives before writing to buffers.José Fonseca2011-10-315-4/+62
| | | | | | | | | | | | | | | svga keeps a small queue of similar primitive draws in order to coalesce them into a single draw primitive command. But the buffers referred in primitives not yet emitted were being ignored in the considerations to flush or not the context. This fixes piglit vbo-map-remap, vbo-subdata-sync, vbo-subdata-zero, and Seeker. Based on investigation and patch from Brian Paul. Reviewed-By: Brian Paul <[email protected]>
* st/xa: Plug a pipe context leak.Thomas Hellstrom2011-10-311-0/+2
| | | | | | | Forgot to destroy the pipe context on xa context destroy. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: José Fonseca <[email protected]>
* pipebuffer/debug: Fix a recursive mutex lockThomas Hellstrom2011-10-311-6/+3
| | | | | | | | pb_debug_manager_dump was trying to take a lock already held by all callers. Signed-off-by: Thomas Hellstrom <[email protected]> Signed-off-by: Jos� Fonseca <[email protected]>
* llvmpipe: fix a crash in non-SSE pathChia-I Wu2011-10-301-1/+1
| | | | It is a typo went unnoticed.
* r600g: reset the render condition to NULL when rendering unconditionallyMarek Olšák2011-10-301-1/+5
|
* r600g: shortcut ctx->screen->ws to ctx->wsMarek Olšák2011-10-305-12/+15
|
* r600g: Replace needless flush in texture upload.Mathias Fröhlich2011-10-291-1/+1
| | | | | | | Replace pipe->flush() with pipe->texture_barrier() in the texture upload path for the staging texture. This should be enough to get data out of the gpu caches ready to be read for texture fetch.
* r600g: remove one pointless flushMarek Olšák2011-10-293-25/+4
| | | | | | | | It's not useful for anything. The rest of the patch is just a cleanup resulting from some of the variables being no longer used. There are no piglit regressions.
* implement WGL_ARB_create_contextMorgan Armand2011-10-285-7/+166
| | | | Signed-off-by: José Fonseca <[email protected]>
* r600g: get backend mask after the context is fully set upMarek Olšák2011-10-283-4/+2
|
* u_format: Fix -NaN handling for packing of 10F_11F_11F_REV to match GL specs.Eric Anholt2011-10-281-11/+31
| | | | | | | Fixes the remainder of piglit GL_EXT_packed_float/pack.c Reviewed-by: Marek Ol ák <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* u_format: Fix clamping of overflow in 10F_11F_11F_REV to match GL specs.Eric Anholt2011-10-281-4/+18
| | | | | | | | Fixes the 1000000.0 overflow cases of piglit GL_EXT_packed_float/pack.c Reviewed-by: Marek Ol ák <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* u_format: Fix bitshifting for unpacking from 10F.Eric Anholt2011-10-281-2/+2
| | | | | | | | | This code was copy and pasted from the 11F unpacking, but not updated for actually being 10 bits instead of 11. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41206 Reviewed-by: Marek Ol ák <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* u_format: Fix bit definition of UF10_MANTISSA_BITS.Eric Anholt2011-10-281-1/+1
| | | | | | | | | This is only used in the code for packing to INF, and resulted in an extra bit set that was set anyway, so it was harmless except for the confusion caused. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* r600g: don't flush before reading query resultsMarek Olšák2011-10-281-5/+0
| | | | Taken care of by the winsys.
* r600g: only maintain the list of active queriesMarek Olšák2011-10-284-32/+19
| | | | | | | | And not all existing queries. The only reason we have that list is to be able to suspend and resume the active ones. This reduces looping over queries when suspending and resuming. The queries no longer have to track some of their states.
* r600g: cleanup r600_query_resultMarek Olšák2011-10-281-9/+6
|
* r600g: don't flush in r600_get_backend_maskMarek Olšák2011-10-281-3/+0
| | | | The winsys does the flush in buffer_map.
* r600g: remove redundant variable r600_query::buffer_sizeMarek Olšák2011-10-282-15/+17
|
* r300g: remove useless codeMarek Olšák2011-10-284-22/+3
|