summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: renumber remaining DD_ constantsBrian Paul2012-03-121-10/+10
| | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove unused DD_TRI_CULL_FRONT_BACKBrian Paul2012-03-123-12/+4
| | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove unused DD_FLATSHADEBrian Paul2012-03-124-9/+1
| | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove unused DD_TRI_TWOSTENCILBrian Paul2012-03-124-11/+1
| | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove _DD_NEW_x flagsBrian Paul2012-03-121-21/+0
| | | | | | | They're no longer used anywhere. Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* tnl: stop using _DD_NEW_x flagsBrian Paul2012-03-121-1/+2
| | | | | Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* swrast: s/_DD_NEW_SEPARATE_SPECULAR/_MESA_NEW_SEPARATE_SPECULAR/Brian Paul2012-03-121-3/+3
| | | | | | | Another step toward removing the _DD_NEW_x flags Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: define _MESA_NEW_SEPARATE_SPECULARBrian Paul2012-03-122-2/+8
| | | | | | | | This will replace the soon-to-be-removed _DD_NEW_SEPARATE_SPECULAR flag. Note: there's a similar composite _MESA_NEW_NEED_EYE_COORDS flag set already. Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* i915: remove occurances of _DD_NEW_x flagsBrian Paul2012-03-121-7/+5
| | | | | | | | Just use the corresponding _NEW_x flags intead. The _DD_NEW_x flags will be removed in a following patch. Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove ctx->Driver.ClearColor() hookBrian Paul2012-03-123-34/+0
| | | | | | | The driver Clear() function should just grab the clear color out of the context. Reviewed-by: Dave Airlie <[email protected]>
* mesa/gdi: remove clear_color() functionBrian Paul2012-03-121-32/+15
| | | | | | Setup the clearing color in the clear() function. Reviewed-by: Dave Airlie <[email protected]>
* xlib: remove clear_color() functionBrian Paul2012-03-121-25/+11
| | | | | | Just setup the clearing color in clear_buffers(). Reviewed-by: Dave Airlie <[email protected]>
* radeon/r200: remove ClearColor driver functionsBrian Paul2012-03-125-41/+0
| | | | | | The state.color.clear value was never used anywhere. Reviewed-by: Dave Airlie <[email protected]>
* mesa: remove ctx->Driver.ClearDepth(), ClearStencil() driver hooksBrian Paul2012-03-125-28/+0
| | | | | | | Not used by any drivers. Drivers can easily access the values from the Mesa context at glClear() time. Reviewed-by: Dave Airlie <[email protected]>
* radeon/r200: remove ClearDepth() and ClearStencil() driver hooksBrian Paul2012-03-125-86/+0
| | | | | | | The computed stencil.clear and depth.clear values aren't used anywhere. Those fields have been removed too. Reviewed-by: Dave Airlie <[email protected]>
* radeon/r200: remove hyperz/fast clear testing codeBrian Paul2012-03-122-20/+0
| | | | | | The flags which were computed were never actually used. Reviewed-by: Dave Airlie <[email protected]>
* egl/drm: Include errno.hJosé Fonseca2012-03-111-0/+1
| | | | Fixes scons build.
* Set close on exec flag FD_CLOEXECDavid Fries2012-03-117-6/+66
| | | | | | | | | Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. Signed-off-by: David Fries <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* mapi/glapi: Fix glDebugMessageCallbackARB arg type to GLDEBUGPROCARBJosé Fonseca2012-03-116-8/+10
| | | | | | Necessary to prevent type mismatches on MinGW. Signed-off-by: Dave Airlie <[email protected]>
* glapi/gen: Add support for pointer types.José Fonseca2012-03-113-3/+5
| | | | Signed-off-by: Dave Airlie <[email protected]>
* mesa: Prevent collision of ERROR define on Windows.José Fonseca2012-03-111-0/+3
| | | | | | | | This issue might recur on other OSes. If so then it might be better to remove the C-preprocessor magic, and use fully qualified defines instead. Signed-off-by: Dave Airlie <[email protected]>
* mesa: expose ARB_debug_outputMarek Olšák2012-03-101-0/+1
|
* mesa: display list dispatch for ARB_debug_outputMarek Olšák2012-03-101-0/+3
|
* mesa: print GL errors via debug_outputMarek Olšák2012-03-101-31/+66
|
* mesa: implement the last of GL_ARB_debug_outputnobled2012-03-103-28/+245
| | | | | | Store client-defined message IDs in a hash table, and sort them by severity into three linked lists so they can be selected by severity level later.
* mesa: add struct for managing client debug namespacesnobled2012-03-101-2/+8
| | | | The final piece of the puzzle for GL_ARB_debug_output.
* mesa: add control for categories of application-provided messagesnobled2012-03-101-5/+125
| | | | | | | | | This state is needed for deciding whether or not to log application messages with IDs that haven't been specifically passed to glDebugMessageControlARB yet. State for each individual ID number ever passed to glDebugMessageControlARB (per-context) still needs to be added.
* mesa: add yet more context fields for GL_ARB_debug_outputnobled2012-03-101-2/+8
|
* mesa: add glDebugMessageControlARBnobled2012-03-101-0/+134
| | | | | Controlling the output of client-provided messages isn't done yet.
* mesa: add message-toggle booleans for GL_ARB_debug_outputnobled2012-03-102-2/+28
|
* mesa: add some GL_ARB_debug_output functionsnobled2012-03-103-4/+286
|
* mesa: add infrastructure for GL_ARB_debug_outputnobled2012-03-108-1/+69
| | | | Marek v2: don't add the extension to extensions.c yet
* glapi: regenerate filesMarek Olšák2012-03-1011-9880/+10338
|
* glapi: add ARB_debug_output.xmlnobled2012-03-103-0/+96
| | | | Marek v2: replace GLDEBUGPROCARB with void*
* mesa: split error handling into its own filenobled2012-03-107-252/+357
| | | | Also add _mesa_vsnprintf.
* drirc: Add force_glsl_extensions_warn workaround for Unigine Heaven.Kenneth Graunke2012-03-091-0/+6
| | | | | | | | | Unfortunately, Unigine Heaven 3.0 still needs this. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* svga: Disable bogus assertions concerning min_index/max_index.José Fonseca2012-03-091-8/+7
| | | | | | | min_index/max_index are merely conservative guesses, so we can't make buffer overflow detection based on their values. Tested-by: Jakob Bornecrantz <[email protected]>
* mesa: fix GL_LUMINANCE handling in glGetTexImageBrian Paul2012-03-091-2/+28
| | | | | | | | | | | | | | There are several cases in which we need to explicity "rebase" colors (ex: set G=B=0) when getting GL_LUMINANCE textures: 1. If the luminance texture is actually stored as rgba 2. If getting a luminance texture, but returning rgba 3. If getting an rgba texture, but returning luminance Fixes https://bugs.freedesktop.org/show_bug.cgi?id=46679 Also fixes the new piglit getteximage-luminance test. Reviewed-by: José Fonseca <[email protected]>
* svga: add null vs pointer check in update_need_pipeline()Brian Paul2012-03-091-1/+1
| | | | | | | | | | | | | Based on a patch submitted by Vic Lee. The other part of his patch which checked the fs pointer wasn't needed. This fixes a crash when clear() is called before any VS or FS is set. But this can only happen when the driver is used without the Mesa state tracker. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <[email protected]>
* nv50: add support for R8G8_R8B8 and G8R8_B8R8 formatsChristoph Bumiller2012-03-091-0/+2
|
* nv50,nvc0: share the format table codeChristoph Bumiller2012-03-092-353/+44
|
* vl: handle DRI2GetBuffers reply with multiple buffersChristian König2012-03-091-10/+23
| | | | | | This fixes a crash in XBMC, but we still doesn't see a picture. Signed-off-by: Christian König <[email protected]>
* vl/mpeg12: make bitstream decoder more robustChristian König2012-03-092-1/+2
| | | | | | Just another xine workaround. Signed-off-by: Christian König <[email protected]>
* st/vdpau: fix two small memory leaksChristian König2012-03-092-2/+6
| | | | Signed-off-by: Christian König <[email protected]>
* st/vdpau: add xine workaroundChristian König2012-03-091-1/+1
| | | | | | | For reasons I don't understand xine tries to set the surface format by using a zero pitch. Signed-off-by: Christian König <[email protected]>
* vl/video_buffer: add YUYV and UYVY supportChristian König2012-03-091-16/+59
| | | | | | | | | | This gets xine working with VDPAU. v2: some minor bugfixes. v3: create the resource with the subsampled format to avoid tilling problems Signed-off-by: Christian König <[email protected]>
* r600g: add support for subsampled rgb formatsChristian König2012-03-091-0/+15
| | | | | | v2: r600 formats are msb first! Signed-off-by: Christian König <[email protected]>
* gallivm: add support for R8G8_R8B8 and G8R8_B8R8 formatsChristian König2012-03-091-0/+42
| | | | | | Just to keep lp_test_format happy. Signed-off-by: Christian König <[email protected]>
* gallium: add R8G8_R8B8 and G8R8_B8R8 formatsChristian König2012-03-094-0/+99
| | | | | | | v2: simplify implementation by using correct swizzle v3: fix mix with successor patch Signed-off-by: Christian König <[email protected]>
* u_format: fix a comment about subsampled formatsChristian König2012-03-091-1/+1
| | | | Signed-off-by: Christian König <[email protected]>