summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-03-20 09:14:39 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-03-20 09:14:39 +0100
commit1bdd376dbd57de8925244f0808f974d6d8cff39d (patch)
tree4eacba99068b381f658862428fc89a0090434ce6 /src/radeon.h
parent3cfa3a5c8daf03aaad6fc30d275709f6eb717d29 (diff)
radeon: Only sync to hardware when really necessary with EXA.
In particular, don't sync again after accelerated DownloadFromScreen, which syncs implicitly. This avoids calling into the kernel when it's not necessary, which can be relevant in some situations.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 8d0115e9..ce2fe191 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -497,6 +497,8 @@ typedef struct {
#ifdef USE_EXA
ExaDriverPtr exa;
+ int exaSyncMarker;
+ int exaMarkerSynced;
int engineMode;
#define EXA_ENGINEMODE_UNKNOWN 0
#define EXA_ENGINEMODE_2D 1