summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-03-26st/dri: Move common files to common directoryJakob Bornecrantz
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%)
2010-03-26st/dri: Reshuffle files and make it obvious which files are sharedJakob Bornecrantz
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/*
2010-03-25st/dri: Don't include sw vs drm dri headersJakob Bornecrantz
2010-03-25st/dri: Add dri2 prefix for all dri2.c functionsJakob Bornecrantz
2010-03-25st/dri: add TODO list for DRISWGeorge Sapountzis
2010-03-25swrastg_dri: add state_trackerGeorge Sapountzis
2010-03-25st/dri: add driswGeorge Sapountzis
2010-03-25st/dri: add dri_wrapper.hGeorge Sapountzis
2010-03-25st/dri: export DRI1 surface / pipeGeorge Sapountzis
They will be used by DRISW. Also, add destroy functions.
2010-03-25st/dri: split out DRI2 codeGeorge Sapountzis
2010-03-25st/dri: make get_texture into validate_attGeorge Sapountzis
This is a wrapper around dri_st_framebuffer_validate for a single attachment. Also, call validate through hook to make it more generic.
2010-03-25st/dri: flush_frontbuffer, allocate_textures for dri2George Sapountzis
dri_st_framebuffer functions just forward to dri1/dri2 functions.
2010-03-25st/dri: flush_frontbuffer, allocate_textures for dri1George Sapountzis
* ptex is get by flush_frontbuffer, similar to swap_buffers * comment for allocate_textures * texture_mask is managed at the st_fb level
2010-03-25st/dri: minor cosmetic for buffersGeorge Sapountzis
2010-03-25st/dri: minor cosmetic for screenGeorge Sapountzis
- put extensions above init_screen - split out destroy_option_cache
2010-03-25st/dri: add inline for dri2 check done in multiple placesGeorge Sapountzis
2010-03-25st/dri: Fix for X server 1.6.0 (DRI2 version 1)Jakob Bornecrantz
2010-03-23st/glx: add support for multiple displaysBrian Paul
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.
2010-03-23Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson
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 <dbn.lists@gmail.com>
2010-03-22st/glx: fix depth/stencil format selection codeBrian Paul
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.
2010-03-21Merge remote branch 'origin/gallium-st-api-dri'Chia-I Wu
2010-03-20st/dri: fix bug in make_currentGeorge Sapountzis
2010-03-20st/dri: fix bug in allocate_texturesGeorge Sapountzis
2010-03-19st/vega: fix up vega state tracker to use cso changesRoland Scheidegger
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.
2010-03-19es: added -I$(TOP)/include pathBrian Paul
2010-03-18st/dri: Switch from st_public.h to st_api.h.Chia-I Wu
This is tested with demos found in progs/demos. However, only the DRI2 path is tested.
2010-03-18st/dri: Implement st_api.h callbacks.Chia-I Wu
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.
2010-03-18st/dri: Headers and public symbols clean up.Chia-I Wu
Remove unused headers and stop marking driDriverAPI as PUBLIC.
2010-03-18st/dri: Move DRI1 bits in dri_context.c to dri1.c.Chia-I Wu
2010-03-18st/dri: Move DRI1 bits in dri_drawable.c to dri1.c.Chia-I Wu
2010-03-18st/dri: Move DRI1 bits in dri_screen.c to dri1.c.Chia-I Wu
2010-03-16st/xorg: fix up xorg state tracker to use cso changesRoland Scheidegger
use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
2010-03-16Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
2010-03-16Merge remote branch 'origin/gallium-st-api'Chia-I Wu
2010-03-16gallium: fix frontbuffer rendering with r300gDave Airlie
No idea if this is the correct fix, but it makes it work again at least. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-15Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/drivers/nv30/nv30_context.h src/gallium/drivers/nv30/nv30_state.c src/gallium/drivers/nv40/nv40_context.h src/gallium/drivers/nv40/nv40_state.c src/gallium/drivers/r300/r300_emit.c
2010-03-14st/glx: Fix glXCopySubBufferMESA.Chia-I Wu
Honor the (x, y) and (width, height) pairs.
2010-03-14st/glx: Sync the back buffer to the front buffer.Chia-I Wu
Consider this rendering sequence * render to the back buffer * swap buffers * read from the front buffer The front buffer is expected to have the contents of the back buffer.
2010-03-14st/glx: Add support for GLX_MESA_copy_sub_buffer.Chia-I Wu
Create a per-display pipe_context as needed to copy the contents between framebuffer attachments. This allows us to support GLX_MESA_copy_sub_buffer.
2010-03-14st/glx: Add xmesa_display to hold per-display variables.Chia-I Wu
This basically adds a static xmesa_display to collect per-display static variables in xm_api.c. Multiple display support is still missing, but this is a step forward.
2010-03-13gallium: Respect user's CFLAGS for including X headersDan Nicholson
This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-13Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
Conflicts: src/gallium/auxiliary/util/u_tile.c src/gallium/auxiliary/util/u_tile.h src/gallium/drivers/identity/id_context.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup.h src/gallium/drivers/softpipe/sp_tex_tile_cache.c src/gallium/include/pipe/p_context.h src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_drawpixels.c
2010-03-13python: Temporarily disable python state tracker until transfers are done by ↵José Fonseca
contexts It requires changes not ony to the state tracker but to the python scripts too.
2010-03-13st/glx: Fix framebuffer validation.Chia-I Wu
When xmesa_st_framebuffer_validate was called twice with different sets of attachments, the second call was ignored. Add a texture_mask to remember which textures have been requested to make sure the missing ones get created.
2010-03-13st/glx: Correctly set buffer_mask of a visual.Chia-I Wu
Stupid typos again..
2010-03-13st/glx: Make xmesa_create_st_api a callback of xm_driver.Chia-I Wu
Instead of guessing the API in st/glx, let the target decide how to create st_api.
2010-03-13st/egl: Fix eglCopyBuffers.Chia-I Wu
Use a (real) pipe context to copy between pipe surfaces. Fix a NULL dereference of the temporary native surface created for copying.
2010-03-13st/glx: Fix leaks in xmesa_st_framebuffer.Chia-I Wu
The textures and surface of a framebuffer should be unreferenced when the framebuffer is destroyed.
2010-03-13st/egl: Cache the pipe surface used in flush_frontbuffer.Chia-I Wu
It is very likely that the same surface will be flushed again and again. Caching the surface should reduce the overhead of surface creation.
2010-03-12st/xorg: Remove flushes no longer necessary thanks to context transfers.Michel Dänzer