summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| | * st/glx: Sync the back buffer to the front buffer.Chia-I Wu2010-03-141-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * st/glx: Add support for GLX_MESA_copy_sub_buffer.Chia-I Wu2010-03-144-6/+53
| | | | | | | | | | | | | | | | | | 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.
| | * st/glx: Add xmesa_display to hold per-display variables.Chia-I Wu2010-03-142-58/+73
| | | | | | | | | | | | | | | | | | 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.
| | * st/glx: Fix framebuffer validation.Chia-I Wu2010-03-131-24/+29
| | | | | | | | | | | | | | | | | | | | | 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.
| | * st/glx: Correctly set buffer_mask of a visual.Chia-I Wu2010-03-131-3/+3
| | | | | | | | | | | | Stupid typos again..
| | * st/glx: Make xmesa_create_st_api a callback of xm_driver.Chia-I Wu2010-03-134-19/+9
| | | | | | | | | | | | | | | Instead of guessing the API in st/glx, let the target decide how to create st_api.
| | * st/egl: Fix eglCopyBuffers.Chia-I Wu2010-03-132-13/+22
| | | | | | | | | | | | | | | Use a (real) pipe context to copy between pipe surfaces. Fix a NULL dereference of the temporary native surface created for copying.
| | * st/glx: Fix leaks in xmesa_st_framebuffer.Chia-I Wu2010-03-131-0/+6
| | | | | | | | | | | | | | | The textures and surface of a framebuffer should be unreferenced when the framebuffer is destroyed.
| | * st/glx: Add xm_st.c to SConscript.Chia-I Wu2010-03-121-0/+1
| | |
| | * st/glx: Return a better format in choose_depth_stencil_format.Chia-I Wu2010-03-121-13/+9
| | | | | | | | | | | | | | | Return a better format instead of an exact format in choose_depth_stencil_format. Also, prefer formats with stencil bits.
| | * st/glx: Fix an infinite recursion in flush_front.Chia-I Wu2010-03-121-1/+1
| | | | | | | | | | | | It was a stupid typo by me when I refactored the code.
| | * st/glx: Use st_api.h instead of st_public.h.Chia-I Wu2010-03-126-165/+470
| | |
| | * st/egl: Use st_api.h instead of st_public.h.Chia-I Wu2010-03-126-576/+474
| | | | | | | | | | | | | | | Switch from st_public.h to st_api.h. The latter has intrinsic multiple APIs support and allows various EGLImage extensions to be supported.
| | * winsys/xlib, st/es: Advertise st_api.h support.Chia-I Wu2010-03-123-2/+13
| | | | | | | | | | | | | | | This is done by defining one of st_module_OpenGL_ES1, st_module_OpenGL_ES2, and st_module_OpenGL.
| | * st/mesa: Implement st_api.h.Chia-I Wu2010-03-122-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before. ST_TEXTURE_2D is both defined by st_public.h and st_api.h. Reorder the headers in st/dri to avoid conflicts.
| | * st/vega: Implement st_api.h.Chia-I Wu2010-03-127-4/+427
| | | | | | | | | | | | | | | There is currently no user of this new interface. As the inteface can coexist with st_public.h, everthing should work as before.
| * | gallium: fix frontbuffer rendering with r300gDave Airlie2010-03-161-1/+1
| | | | | | | | | | | | | | | | | | No idea if this is the correct fix, but it makes it work again at least. Signed-off-by: Dave Airlie <[email protected]>
* | | Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell2010-03-151-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | gallium: Respect user's CFLAGS for including X headersDan Nicholson2010-03-131-1/+2
| | | | | | | | | | | | | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]>