DRI1-only as well.
*/
static const __DRIextension *dri_screen_extensions[] = {
- &driSwapControlExtension.base,
&driMediaStreamCounterExtension.base,
&driTexBufferExtension.base,
&dri2FlushExtension.base,
};
static const __DRIextension *dri_screen_extensions_throttle[] = {
- &driSwapControlExtension.base,
&driMediaStreamCounterExtension.base,
&driTexBufferExtension.base,
&dri2FlushExtension.base,
};
-static void driSetSwapInterval(__DRIdrawable *dPriv, unsigned int interval)
-{
- dPriv->swap_interval = interval;
-}
-
-static unsigned int driGetSwapInterval(__DRIdrawable *dPriv)
-{
- return dPriv->swap_interval;
-}
-
-const __DRIswapControlExtension driSwapControlExtension = {
- { __DRI_SWAP_CONTROL, __DRI_SWAP_CONTROL_VERSION },
- driSetSwapInterval,
- driGetSwapInterval
-};
-
-
/**
* This is called via __DRIscreenRec's createNewDrawable pointer.
*/
*/
extern const __DRIcoreExtension driCoreExtension;
extern const __DRIdri2Extension driDRI2Extension;
-extern const __DRIswapControlExtension driSwapControlExtension;
extern const __DRImediaStreamCounterExtension driMediaStreamCounterExtension;
extern const __DRI2configQueryExtension dri2ConfigQueryExtension;
i = 0;
screen->extensions[i++] = &dri2ConfigQueryExtension.base;
- if ( screen->irq != 0 ) {
- screen->extensions[i++] = &driSwapControlExtension.base;
+ if ( screen->irq != 0 )
screen->extensions[i++] = &driMediaStreamCounterExtension.base;
- }
#if defined(RADEON_R100)
screen->extensions[i++] = &radeonTexBufferExtension.base;