summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* st/egl: Use xlib_sw_winsys in ximage backend.Chia-I Wu2010-03-098-452/+47
|
* winsys/xlib: Fix a segfault when USE_XSHM is not defined.Chia-I Wu2010-03-091-10/+31
|
* gallium: remove xlib_driver::display_surfaceKeith Whitwell2010-03-084-34/+3
| | | | | | | | | | | | | | Just use flush_frontbuffer directly. The flush_frontbuffer routine has been somewhat devalued recently, but it is actually just the right interface for our needs. It is in pipe_screen, meaning that any wrapping (eg trace module) will get properly unwrapped before we try and use the pipe_surface argument for real. If a particular co-state-tracker needs to implement this itself, it should organize a way to allow the winsys to call back up to its level, rather than hijacking the driver-supplied implementation.
* gallium: make it workKeith Whitwell2010-03-082-0/+50
|
* gallium: introduce target directoryKeith Whitwell2010-03-0820-422/+259
| | | | | | | | | | | | | | | | | | | | | | | | Currently there are still at least two functions bundled up inside the winsys concept: a) that of a backend resource manager, sometimes capable of performing present() operations, b) the initialization code/routine for the whole driver stack. The inclusion of (b) makes it difficult to share implementations of (a) between different drivers. For instance, a clean xlib winsys could be of use for software-rasterized VG, GLES, EGL, etc, stacks. But that is only true as long as there is no dependency from the winsys to higher level code, as would be the case when we include (b) in this component. This change creates a new gallium/targets subtree, specifically for implementing the glue needed to build individual driver stacks, and moves that code out of a single example winsys, namely xlib. Other drivers continue to build unchanged, but hopefully can migrate to this structure over time.
* ws/xlib: remove dead filesKeith Whitwell2010-03-082-510/+0
|
* ws/xlib: fixup softpipe buildKeith Whitwell2010-03-081-2/+2
|
* winsys/xlib: remove dependency on glx/x11 state trackerKeith Whitwell2010-03-088-133/+103
| | | | | Introduce xlib_drawable struct, pass this down to winsys instead of having it use the internal data structures from glx/x11
* ws/xlib: remove redundant declarationsKeith Whitwell2010-03-081-7/+0
|
* winsys/xlib: sketch of cell supportKeith Whitwell2010-03-081-248/+20
|
* softpipe: fix constant buffer tracking after reworkKeith Whitwell2010-03-041-4/+2
|
* gallium: remove redundant includesKeith Whitwell2010-03-0410-11/+0
|
* gallium: fix llvmpipe after winsys moveKeith Whitwell2010-03-047-6/+12
|
* softpipe: rework to use the llvmpipe winsysKeith Whitwell2010-03-0428-1679/+767
| | | | | | | | | Promote the llvmpipe winsys more or less unchanged to state_trackers/sw_winsys.h. Some minor breakages: - softpipe::texture_blanket is broken, but scheduled for removal anyway. - haven't fixed up g3vdl yet.
* DRI: Put back missing break-statementIan Romanick2010-03-041-0/+1
| | | | | | | | The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts it back. Signed-off-by: Ian Romanick <[email protected]>
* Revert "mesa: Fix unsigned comparison."Vinson Lee2010-03-041-1/+1
| | | | | | This reverts commit f9504e75f02586a8561733e0e2711c65efa2979d. This patch is incorrect.
* glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee2010-03-041-1/+1
|
* mesa: Fix unsigned comparison.Vinson Lee2010-03-041-1/+1
|
* glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee2010-03-041-1/+1
|
* glsl: Return NULL on _slan_gen_asm error path on non-debug builds.Vinson Lee2010-03-041-0/+1
| | | | | Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on.
* glsl: Add assert to check input to strcmp.Vinson Lee2010-03-041-0/+1
|
* mesa: Add asserts to check inputs to memcpy.Vinson Lee2010-03-041-0/+2
|
* r300: make blit code work on swtcl machines.Dave Airlie2010-03-041-5/+18
| | | | | | | | Only tested this on my rv530 with R300_NO_TCL=1, but it works there at least. It would be nice to fix the tex_offset by chaning the vertex program on tcl to read from offset 6 but this isn't really necessary. Signed-off-by: Dave Airlie <[email protected]>
* r300_blit: initialise whole fp structure to 0Dave Airlie2010-03-041-0/+1
| | | | | | | at least on the r500 we get a lockup unless I do this, the compiler seems to fail to compile and we just get a null fp. Signed-off-by: Dave Airlie <[email protected]>
* Remove ffb and gamma from configs.Vinson Lee2010-03-035-9/+3
|
* wgl: Fix mingw32 build.Vinson Lee2010-03-031-2/+0
| | | | This was missed in commit fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8.
* Fix unmatched parenthesis introduce by previous commitsIan Romanick2010-03-036-6/+6
| | | | | | | | I wasn't careful enough when removing support for GCC versions earlier than 3.3.0. I could have sworn that I compile tested before pushing, but apparently not. FAIL. Signed-off-by: Ian Romanick <[email protected]>
* Note removal of pre-GCC 3.3.0 support in release notes.Ian Romanick2010-03-031-0/+1
|
* Remove support for GCC older than 3.3.0 from generated sourcesIan Romanick2010-03-036-8/+8
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Remove support for GCC older than 3.3.0 from generator scriptsIan Romanick2010-03-033-4/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-0312-25/+18
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Add version check for GCCIan Romanick2010-03-031-0/+22
| | | | | | | | | Mesa now requires GCC 3.3.0 or later. See the following thread from the mesa3d-dev mailing list for more details: http://marc.info/?t=126748568900005&r=1&w=2 Signed-off-by: Ian Romanick <[email protected]>
* radeon/r200/r300/r600: add check_blit vtbl functionAlex Deucher2010-03-0314-15/+93
| | | | | | | | | Check if the native blit formats are supported, if not, attempt to use an alternate format. Skip 3, >4 bpp as per comments from mcencora on irc. Signed-off-by: Alex Deucher <[email protected]>
* Note removal of color-index rendering in release notes.Ian Romanick2010-03-031-1/+1
|
* Remove stray defines of HAVE_RGBAIan Romanick2010-03-0312-12/+0
| | | | | | | Now that color-index support is removed from t_dd_tritmp.h and t_dd_unfilled.h, drivers no longer need define HAVE_RGBA. Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: Remove color-index support from t_dd_unfilled.hIan Romanick2010-03-031-79/+38
| | | | | | | | The code removal and the re-indent were done together for this one because the cause of the affected code blocks is much, much smaller than in t_dd_tritmp.h. Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: White-space / indentation fixes after previous commitIan Romanick2010-03-031-150/+146
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa/tnl_dd: Remove color-index support from t_dd_tritmp.hIan Romanick2010-03-031-121/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove unused RasterIndex fieldIan Romanick2010-03-032-2/+0
| | | | | | | With the preceeding changes, gl_current_attrib::RasterIndex is not used. Remove it. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Always return default value for CURRENT_RASTER_INDEXIan Romanick2010-03-032-5/+5
| | | | | | | Since there is no color-index rendering, it is impossible to update this value. Just return the initial setting and be happy. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick2010-03-035-15/+4
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-0311-77/+0
| | | | | | | | These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_logicop_ci_spanIan Romanick2010-03-032-33/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_logicop_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove _mesa_add_color_index_renderbuffersIan Romanick2010-03-032-62/+0
| | | | | | | After all the recent color-index visual support removal, _mesa_add_color_index_renderbuffers is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove checks of Visual.rgbMode in Get pathsIan Romanick2010-03-032-10/+10
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove checks of Visual.rgbModeIan Romanick2010-03-038-119/+48
| | | | | | This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-0310-35/+16
| | | | | | | | Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <[email protected]>
* tnl: Remove color-index TNL supportIan Romanick2010-03-035-261/+39
| | | | Signed-off-by: Ian Romanick <[email protected]>
* DRI: Remove support for color-index visualsIan Romanick2010-03-031-10/+5
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast_setup: Remove more color-index rendering supportIan Romanick2010-03-033-155/+79
| | | | Signed-off-by: Ian Romanick <[email protected]>