summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* st/glx: Remove a wrong assertion in choose_pixel_format.Chia-I Wu2010-03-302-2/+11
| | | | | | There are X visuals that Gallium or the code does not support. We could not assert the color format to be supported. Return PIPE_FORMAT_NONE in such cases and let the caller handle it.
* st/python: Update for util_draw_vertex_buffer changes.José Fonseca2010-03-291-3/+35
|
* st/python: Move surface read/write methods to context.José Fonseca2010-03-294-245/+267
|
* st/dri/sw: add drisw_api similarly to dri1_apiGeorge Sapountzis2010-03-294-81/+53
| | | | | I am pretty sure that this is in gallium spirit, so commit. Thanks to Chia-I for suggesting this.
* Revert "python: Temporarily disable python state tracker until transfers are ↵José Fonseca2010-03-291-2/+1
| | | | | | done by contexts" This reverts commit 50a778661930ec7aa875a9c5235e9910143ec700.
* st/python: updates for recent interface changesKeith Whitwell2010-03-284-57/+58
| | | | | | Still problems at runtime with vertex elements, etc. Building still disabled.
* drisw: probably better hack for stride and some commentsGeorge Sapountzis2010-03-281-3/+16
|
* drisw: make stride issue profoundGeorge Sapountzis2010-03-271-5/+5
|
* st/dri: Fix SCons build.Vinson Lee2010-03-262-2/+0
| | | | | This was missed in commit 4b722bf9fde668dff1c2b55b34eb3f86c78f43fb. dri_extensions.c was removed from Makefile but not from SConscript.
* swrastg: allow for any of the software rasterizers.George Sapountzis2010-03-261-6/+0
| | | | | | | | This function should be put in targets/common or winsys/sw/common and shared with targers/libgl-xlib and winsys/sw/drm. For targets/common, you get layering violations in the build system unless all of drm_api's are moved under targets.
* st/dri: add comment about the ifdef in dri_screen.cGeorge Sapountzis2010-03-261-13/+10
|
* st/dri: factor out common init_screen codeGeorge Sapountzis2010-03-265-56/+67
|
* st/dri mv __driDriverExtensions to drisw.c and dri2.cGeorge Sapountzis2010-03-263-15/+15
|
* st/dri: fold dri_extensions.c into dri_context.cGeorge Sapountzis2010-03-267-58/+13
|
* swrastg: Build with sconsJakob Bornecrantz2010-03-262-0/+30
|
* st/dri: Move common files to common directoryJakob Bornecrantz2010-03-2627-15/+15
| | | | | | | | | | | | | | | | 27 files changed, 15 insertions(+), 15 deletions(-) rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri1_helper.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_context.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_context.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_drawable.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_extensions.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_screen.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_screen.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.c (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_st_api.h (100%) rename src/gallium/state_trackers/dri/{ => common}/dri_wrapper.h (100%)
* st/dri: Reshuffle files and make it obvious which files are sharedJakob Bornecrantz2010-03-2630-62/+87
| | | | | | | | | | In short: git mv ../drisw/Makefile dri/sw git mv drisw.[c|h] sw git mv dri2.[c|h] dri1.[c|h] Makefile drm git rm ../drisw ln -s <common files> drm/* ln -s <common files> sw/*
* st/dri: Don't include sw vs drm dri headersJakob Bornecrantz2010-03-252-0/+6
|
* st/dri: Add dri2 prefix for all dri2.c functionsJakob Bornecrantz2010-03-254-25/+25
|
* st/dri: add TODO list for DRISWGeorge Sapountzis2010-03-251-0/+30
|
* swrastg_dri: add state_trackerGeorge Sapountzis2010-03-258-0/+33
|
* st/dri: add driswGeorge Sapountzis2010-03-255-0/+399
|
* st/dri: add dri_wrapper.hGeorge Sapountzis2010-03-256-6/+14
|
* st/dri: export DRI1 surface / pipeGeorge Sapountzis2010-03-259-90/+218
| | | | They will be used by DRISW. Also, add destroy functions.
* st/dri: split out DRI2 codeGeorge Sapountzis2010-03-259-370/+476
|
* st/dri: make get_texture into validate_attGeorge Sapountzis2010-03-253-23/+26
| | | | | This is a wrapper around dri_st_framebuffer_validate for a single attachment. Also, call validate through hook to make it more generic.
* st/dri: flush_frontbuffer, allocate_textures for dri2George Sapountzis2010-03-251-17/+40
| | | | dri_st_framebuffer functions just forward to dri1/dri2 functions.
* st/dri: flush_frontbuffer, allocate_textures for dri1George Sapountzis2010-03-253-25/+37
| | | | | | * ptex is get by flush_frontbuffer, similar to swap_buffers * comment for allocate_textures * texture_mask is managed at the st_fb level
* st/dri: minor cosmetic for buffersGeorge Sapountzis2010-03-251-14/+17
|
* st/dri: minor cosmetic for screenGeorge Sapountzis2010-03-251-20/+27
| | | | | - put extensions above init_screen - split out destroy_option_cache
* st/dri: add inline for dri2 check done in multiple placesGeorge Sapountzis2010-03-253-8/+13
|
* st/dri: Fix for X server 1.6.0 (DRI2 version 1)Jakob Bornecrantz2010-03-251-1/+9
|
* st/glx: add support for multiple displaysBrian Paul2010-03-231-4/+26
| | | | | | | | This is a quick & dirty solution, but it works. See comments in the code for other ideas. Fixes regressions/breakage seen in progs/xdemos/glxheads, etc. from commit 6632915e957149c153a3f793c400a532b4995b18.
* Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson2010-03-231-1/+1
| | | | | | | | The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]>
* st/glx: fix depth/stencil format selection codeBrian Paul2010-03-221-7/+12
| | | | | | | | | | | | | This fixes a pretty big performance regression caused by commit 3475e88442c16fb2b50b903fe246b3ebe49da226. When the user does not request a stencil buffer it's important that we don't use a depth/stencil format (or at least make it our last choice). If the user calls glClear(GL_DEPTH_BUFFER_BIT) when we have a combined depth/stencil buffer, that causes us to hit the clear_with_quad() path which can be much, much slower than calling pipe_context::clear(). Also, try to use a shallower depth format before a deeper one.
* Merge remote branch 'origin/gallium-st-api-dri'Chia-I Wu2010-03-2113-905/+1345
|\
| * st/dri: fix bug in make_currentGeorge Sapountzis2010-03-201-1/+1
| |
| * st/dri: fix bug in allocate_texturesGeorge Sapountzis2010-03-201-1/+1
| |
| * st/dri: Switch from st_public.h to st_api.h.Chia-I Wu2010-03-1810-558/+393
| | | | | | | | | | This is tested with demos found in progs/demos. However, only the DRI2 path is tested.
| * st/dri: Implement st_api.h callbacks.Chia-I Wu2010-03-185-0/+505
| | | | | | | | | | This commit adds dri_st_api.c that implements st_api.h callbacks. A following commit will switch st/dri from st_public.h to st_api.h.
| * st/dri: Headers and public symbols clean up.Chia-I Wu2010-03-185-14/+8
| | | | | | | | Remove unused headers and stop marking driDriverAPI as PUBLIC.
| * st/dri: Move DRI1 bits in dri_context.c to dri1.c.Chia-I Wu2010-03-183-66/+64
| |
| * st/dri: Move DRI1 bits in dri_drawable.c to dri1.c.Chia-I Wu2010-03-185-319/+336
| |
| * st/dri: Move DRI1 bits in dri_screen.c to dri1.c.Chia-I Wu2010-03-189-82/+173
| |
* | st/vega: fix up vega state tracker to use cso changesRoland Scheidegger2010-03-1913-146/+253
| | | | | | | | | | | | use cso fragment sampler views instead of sampler textures. since we don't really change views, try to store sampler views instead of the textures to avoid having to recreate views most of the time.
* | es: added -I$(TOP)/include pathBrian Paul2010-03-191-0/+1
|/
* st/xorg: fix up xorg state tracker to use cso changesRoland Scheidegger2010-03-166-23/+78
| | | | use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
* Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell2010-03-1626-789/+1512
|\ | | | | | | | | | | | | This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
| * Merge remote branch 'origin/gallium-st-api'Chia-I Wu2010-03-1626-788/+1511
| |\
| | * st/glx: Fix glXCopySubBufferMESA.Chia-I Wu2010-03-141-1/+1
| | | | | | | | | | | | Honor the (x, y) and (width, height) pairs.