summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/dri_drawable.h
Commit message (Collapse)AuthorAgeFilesLines
* gallium: replace INLINE with inlineIlia Mirkin2015-07-211-1/+1
| | | | | | | | | | | | | | | | Generated by running: git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g' git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g' git checkout src/gallium/state_trackers/clover/Doxyfile and manual edits to src/gallium/include/pipe/p_compiler.h src/gallium/README.portability to remove mentions of the inline define. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Marek Olšák <marek.olsak@amd.com>
* st/dri: merge dri/drm and dri/sw backendsEmil Velikov2014-07-101-0/+128
| | | | | | | | | | | | | | Move the driver_name to dri2/drisw and remove all the SPLIT_TAGETS mayhem. In the next step we'll unify the dri and dri-swrast targets, completing the gallium DRI megadriver. v2: Remove leftover st/dri Makefiles from CONFIG_FILES. Spotted by Thomas Helland. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Rob Clark <robclark@freedesktop.org> Tested-by: Thomas Helland <thomashelland90 at gmail.com> Acked-by: Tom Stellard <thomas.stellard@amd.com>
* st/dri: Move common files to common directoryJakob Bornecrantz2010-03-261-89/+0
| | | | | | | | | | | | | | | | 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: split out DRI2 codeGeorge Sapountzis2010-03-251-6/+0
|
* st/dri: Switch from st_public.h to st_api.h.Chia-I Wu2010-03-181-19/+5
| | | | | 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-181-0/+6
| | | | | 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: Move DRI1 bits in dri_drawable.c to dri1.c.Chia-I Wu2010-03-181-12/+0
|
* st/dri: Move DRI1 bits in dri_screen.c to dri1.c.Chia-I Wu2010-03-181-0/+1
|
* st/dri: update dri2 drawables when viewport is changedBen Skeggs2010-01-111-0/+3
| | | | | | | Fixes gnome-shell on nouveau, as well as window resize with various other applications. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-041-9/+9
| | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* st/dri: Slight consolidation of DRI2 buffer handling.Michel Dänzer2009-09-021-2/+1
| | | | | | Always use / assume a combined depth/stencil buffer. Also update drawable formats from surfaces returned by the driver.
* st/dri: Fix some warningsJakob Bornecrantz2009-08-281-0/+1
|
* st/dri: Find out if the drawable is a pixmapJakob Bornecrantz2009-08-221-0/+2
| | | | | | | | | Part of this code is disabled since no performance gains where detected with it enabled. This code only detects if it is a pixmap that it is rendering to on the st/xorg DDX since it sets the fake front to the same handle as front.
* st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering.Michel Dänzer2009-08-131-0/+6
|
* gallium dri st: Probe the driver for supported surface formats.Thomas Hellstrom2009-06-171-0/+4
| | | | | | | | | | | | This is done when constructing the fbconfigs, and the result is saved for window system framebuffer creation. Note: For dri2 the server needs to have an identical format selection logic. Otherwise the dri state-tracker and the xorg driver (state-tracker) will disagree on which format to use for the attachments. Some more work is needed in this area. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
* st/dri: Only create new textures if drawable has changedJakob Bornecrantz2009-05-181-0/+5
|
* gallium: indent and cleanfile the dri state-tracker.Thomas Hellstrom2009-04-281-22/+11
|
* gallium: Update the dri2 state tracker to support dri1.Thomas Hellstrom2009-04-281-1/+17
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: Move the dri2 state tracker since we're about to extend it to dri1.Thomas Hellstrom2009-04-281-0/+89
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>