aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_screen.c
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-08-02 13:28:15 -0400
committerJerome Glisse <[email protected]>2010-08-02 13:28:15 -0400
commit3d39f56a8721ec6aa6d00965b7740fc8cb5edaae (patch)
treefae87801106ca1df2e4a60057b4e1408e6c4b1e2 /src/mesa/drivers/dri/radeon/radeon_screen.c
parentafa925066c158ac49e3b0f883f67debd8545bf26 (diff)
Revert "radeon: Add DRI2 flush extension to so we synchronize properly."
This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_screen.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index d3d7b216baa..82107cc6aeb 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -376,21 +376,6 @@ static const __DRItexBufferExtension r600TexBufferExtension = {
};
#endif
-static void
-radeonDRI2Flush(__DRIdrawable *drawable)
-{
- radeonContextPtr rmesa;
-
- rmesa = (radeonContextPtr) drawable->driContextPriv->driverPrivate;
- radeonFlush(rmesa->glCtx);
-}
-
-static const struct __DRI2flushExtensionRec radeonFlushExtension = {
- { __DRI2_FLUSH, __DRI2_FLUSH_VERSION },
- radeonDRI2Flush,
- dri2InvalidateDrawable,
-};
-
static int radeon_set_screen_flags(radeonScreenPtr screen, int device_id)
{
screen->device_id = device_id;
@@ -1394,8 +1379,6 @@ radeonCreateScreen2(__DRIscreen *sPriv)
screen->extensions[i++] = &r600TexBufferExtension.base;
#endif
- screen->extensions[i++] = &radeonFlushExtension.base;
-
screen->extensions[i++] = NULL;
sPriv->extensions = screen->extensions;