summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri
AgeCommit message (Collapse)Author
2010-03-30Merge branch 'master' into gallium-new-formatsRoland Scheidegger
Conflicts: src/gallium/auxiliary/util/u_format.csv
2010-03-30gallium: adapt all code to the renamed depth/stencil formatsRoland Scheidegger
2010-03-29st/dri/sw: add drisw_api similarly to dri1_apiGeorge Sapountzis
I am pretty sure that this is in gallium spirit, so commit. Thanks to Chia-I for suggesting this.
2010-03-28drisw: probably better hack for stride and some commentsGeorge Sapountzis
2010-03-27drisw: make stride issue profoundGeorge Sapountzis
2010-03-26st/dri: Fix SCons build.Vinson Lee
This was missed in commit 4b722bf9fde668dff1c2b55b34eb3f86c78f43fb. dri_extensions.c was removed from Makefile but not from SConscript.
2010-03-26swrastg: allow for any of the software rasterizers.George Sapountzis
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.
2010-03-26st/dri: add comment about the ifdef in dri_screen.cGeorge Sapountzis
2010-03-26st/dri: factor out common init_screen codeGeorge Sapountzis
2010-03-26st/dri mv __driDriverExtensions to drisw.c and dri2.cGeorge Sapountzis
2010-03-26st/dri: fold dri_extensions.c into dri_context.cGeorge Sapountzis
2010-03-26swrastg: Build with sconsJakob Bornecrantz
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-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-20st/dri: fix bug in make_currentGeorge Sapountzis
2010-03-20st/dri: fix bug in allocate_texturesGeorge Sapountzis
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-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-12Merge branch '7.8'Michel Dänzer
2010-03-12st/dri: Always try to set up R5G6B5 configs.Michel Dänzer
Allows compiz to work in depth 16. The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth buffers, for colour buffers the only requirement is that the format matches the drawable depth, which we can't check here. (cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)
2010-03-12st/mesa: Implement st_api.h.Chia-I Wu
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.
2010-03-11st/mesa: don't enable extensions which aren't actually supportedRoland Scheidegger
don't enable APPLE_client_storage, TDFX_texture_compression_FXT1, EXT_cull_vertex, NV_vertex_program, NV_vertex_program1_1 - the latter two might work somewhat with some luck. Also don't enable ARB_imaging.
2010-03-11st/dri: move extension initilization to st/mesa completelyMarek Olšák
Extensions were enabled in both st/mesa and st/dri, with st/dri completely overriding the decisions of st/mesa and exposing even the extensions claimed to be unsupported by a pipe driver. This commit moves the differences between the two to st/mesa and removes the responsibilty of advertising extensions from st/dri.
2010-03-10gallium: plumb winsys-drawable-handle through to state trackerKeith Whitwell
The state trackers need this value so that they can supply it as the "void *" argument to flush_frontbuffer. Fixes single-buffer rendering.
2010-03-08Merge commit 'origin/gallium-winsys-handle-rebased'Keith Whitwell
2010-03-01dri: Rename pipe formats.José Fonseca
2010-03-01gallium: Expose a opaque winsys handle and functions on pipe_screenJakob Bornecrantz
Instead of having these functions on a side interface like on drm_api create a opaque winsys_handle that is to be passed down into the winsys. Currently the only thing ported to this new interface is drm_api, and of that only the components that builds by default is ported. All the drivers and any extra state trackers needs to be ported before this can go into master.
2010-02-27st/dri: Assert pointer is not null before dereferencing.Vinson Lee
2010-02-18Revert "st/mesa: Make the frontbuffer visible on st_flush(PIPE_FLUSH_FRAME)."Francisco Jerez
We probably don't want to propagate this condition to the pipe driver, this reverts commit f455ca6490fcb65781b21f81c7117bd923e250d1 and the dri_update_buffer flush altogether until an agreement is reached.
2010-02-17st/dri2: Flush FRAME instead of RENDER_CACHE on buffer invalidation.Francisco Jerez