summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* dri: Drop unused dri renderbuffer helper functionsKristian Høgsberg2011-11-027-259/+3
|
* dri: Move driUpdateFramebufferSize to dri_util.cKristian Høgsberg2011-11-023-21/+21
| | | | drirenderbuffer.[ch] is going bye-bye.
* dri: Remove unnecessary #defines and #includesKristian Høgsberg2011-11-021-8/+0
|
* dri: Remove unnecessary timestamp pointer indirectionKristian Høgsberg2011-11-026-19/+13
|
* dri: Remove unused fields from __DriverAPIRecKristian Høgsberg2011-11-021-34/+0
|
* dri: Remove dri2.enabled flagKristian Høgsberg2011-11-026-79/+9
| | | | DRI2 is always enabled now.
* dri: Remove DRI1 fields from DRI structsKristian Høgsberg2011-11-023-138/+2
|
* dri: Remove remaining DRI1 vblank codeKristian Høgsberg2011-11-028-523/+0
|
* dri: Remove cliprect information from __DRIdrawableKristian Høgsberg2011-11-029-113/+19
|
* dri: Drop unused driCalculateSwapUsageKristian Høgsberg2011-11-022-67/+0
|
* dri: Remove unused driIntersectAreaKristian Høgsberg2011-11-022-16/+0
|
* dri: Drop __driUtilUpdateDrawableInfo and helper macrosKristian Høgsberg2011-11-022-145/+0
|
* dri: Remove unused driSwapBuffersKristian Høgsberg2011-11-021-64/+1
|
* dri: Drop unused driCreateNewContextKristian Høgsberg2011-11-021-52/+0
|
* dri: Fold driCreateNewDrawable into dri2CreateNewDrawableKristian Høgsberg2011-11-021-55/+30
|
* dri: Remove unsused driCreateNewScreenKristian Høgsberg2011-11-021-93/+0
|
* dri: Remove unused __DRIswapInfoRecKristian Høgsberg2011-11-021-40/+0
|
* dri: Remove driMediaStreamCounterExtensionKristian Høgsberg2011-11-024-45/+0
| | | | Also DRI1-only.
* dri: Remove driSwapControlExtensionKristian Høgsberg2011-11-024-23/+1
| | | | DRI1-only as well.
* dri: Drop driCopySubBufferExtensionKristian Høgsberg2011-11-024-23/+0
| | | | Another DRI1-only extension.
* dri: Drop driReadDrawableExtensionKristian Høgsberg2011-11-025-13/+0
| | | | All DRI2 drivers support setting a separate read drawable.
* dri: Drop driLegacyExtensionKristian Høgsberg2011-11-024-11/+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..
* Build fix for -Werror=int-to-pointer-cast -Werror=pointer-to-int-castJeremy Huddleston2011-11-012-4/+4
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* intel: fix potential segfault errorYuanhan Liu2011-11-021-2/+4
| | | | | Signed-off-by: Yuanhan Liu <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* swrast: Use MapRenderbuffer for glReadPixels(GL_DEPTH_COMPONENT) fast-paths.Eric Anholt2011-11-011-68/+63
| | | | | | | | This fixes issues with the code playing fast and loose with types of buffers, and as a bonus avoids the wrappers that were previously used to pull bits out of packed depth/stencil buffers. Reviewed-by: Brian Paul <[email protected]>
* mesa: Make unpack_uint_z_row return 32 bits of data.Eric Anholt2011-11-011-25/+10
| | | | | | | | | Some of the return values were u32, some were 24 bits, and z16 returned 16 bits. The caller would have to do all the work of interpreting the format all over again. However, there are no callers of this function at this point. Reviewed-by: Brian Paul <[email protected]>
* nouveau: Add implementation of MapRenderbuffer.Eric Anholt2011-11-011-0/+46
| | | | | | | | Perhaps the easiest implementation, nouveau can directly map buffers even if tiled, and uses separate surfaces for its texture renderbuffers so we don't have to worry about that offset. Reviewed-by: Brian Paul <[email protected]>
* radeon: Add implementation of MapRenderbuffer.Eric Anholt2011-11-012-0/+98
| | | | | | | | | | | Unlike intel, we do a blit to/from GTT memory in order to untile/retile the renderbuffer data, since we don't have fence registers for accessing it. (There is software tiling code in radeon_tile.c, but it's unused and doesn't support macro tiling) Reviewed-by: Brian Paul <[email protected]>
* intel: Use MapRenderbuffer in spans setup.Eric Anholt2011-11-011-23/+10
| | | | Reviewed-by: Brian Paul <[email protected]>
* intel: Add an implementation of MapRenderbuffer.Eric Anholt2011-11-014-1/+130
| | | | | | | | | v2: Add separate stencil S8 W-tile swizzling/deswizzling. Tested for the swizzling case with env INTEL_SEPARATE_STENCIL=1 INTEL_HIZ=1 ./bin/hiz-depth-stencil-test-fbo-d24-s8 v3: Apply Chad's fix for S8 window system buffers. Reviewed-by: Chad Versace <[email protected]>
* intel: Improve the debug info for renderbuffer allocation.Eric Anholt2011-11-011-4/+4
|
* Add MapRenderbuffer implementations for software drivers.Eric Anholt2011-11-016-4/+127
| | | | | | | | | | Mesa core's is generic for things like osmesa. For swrast_dri.so, we have to do Y flipping. The front-buffer path isn't actually tested, though, because both before and after it fails with a BadMatch in XGetImage. Reviewed-by: Brian Paul <[email protected]>
* mesa: Add a driver hook for mapping renderbuffers.Eric Anholt2011-11-011-0/+9
| | | | Reviewed-by: Brian Paul <[email protected]>
* Revert "intel: Drop the immediate validation of the texture object in TFP."Eric Anholt2011-11-011-0/+5
| | | | | | | | | | | | | | | | | | This reverts commit abaebcee787eeb8a89bf7a82ed4d1532fcde5e39. The assertion I made was that "the zero-copy code in validation" would zero copy. Of course, I deleted that check back in January because the two sites that would trigger it (glTexImage() and this one) both immediately bound their mt to the object, making the other check pointless. Removes two extra blits in glx-tfp. Also fixed the Android home screen, which wasn't rendering because the extra copy broke the relationship between the texture and the eglimage. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42152 Tested-by: Chad Versace <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa: make save_EndConditionalRender param list (void) to silence warningBrian Paul2011-11-011-1/+1
|
* postprocess: remove const qualifiers on unsigned int parametersBrian Paul2011-11-011-2/+2
| | | | to match the prototype in postprocess.h
* scons: include src/glsl/Makefile.sourcesChia-I Wu2011-11-021-68/+14
| | | | Reviewed-by: Brian Paul <[email protected]>
* android: include src/glsl/Makefile.sourcesChia-I Wu2011-11-021-86/+10
| | | | | | | | | | This also fixes the build error due to missing link_uniforms.cpp in the source lists. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]> [olv: the missing link_uniforms.cpp was added before this patch is committed]
* glsl: Refactor source lists to Makefile.sourcesChia-I Wu2011-11-022-73/+113
| | | | | | | | With the hope that Android.mk and SConscript can share the file to reduce future breakage. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* mesa: Fix memory leak in out-of-memory path.Vinson Lee2011-11-011-0/+1
| | | | Fixes Coverity resource leak defect.
* drisw: Enable SGI_make_current_read for direct contextsAdam Jackson2011-11-011-0/+2
| | | | | | | Equivalent to glXMakeContextCurrent, which had better already work since we advertise GLX 1.3. Signed-off-by: Adam Jackson <[email protected]>
* 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]>