From 828d944fd6670b44b2dd640a92bc0f9fe983a520 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 3 Nov 2010 16:07:23 +0800 Subject: st/egl: Remove flush_frontbuffer and swap_buffers. They are deprecated by native_surface::present and there is no user of them. --- src/gallium/state_trackers/egl/common/native.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/gallium/state_trackers/egl/common/native.h') diff --git a/src/gallium/state_trackers/egl/common/native.h b/src/gallium/state_trackers/egl/common/native.h index 446c6b45a9..07ff87a554 100644 --- a/src/gallium/state_trackers/egl/common/native.h +++ b/src/gallium/state_trackers/egl/common/native.h @@ -75,19 +75,6 @@ struct native_surface { void (*destroy)(struct native_surface *nsurf); - /** - * Swap the front and back buffers so that the back buffer is visible. It - * is no-op if the surface is single-buffered. The contents of the back - * buffer after swapping may or may not be preserved. - */ - boolean (*swap_buffers)(struct native_surface *nsurf); - - /** - * Make the front buffer visible. In some native displays, changes to the - * front buffer might not be visible immediately and require manual flush. - */ - boolean (*flush_frontbuffer)(struct native_surface *nsurf); - /** * Present the given buffer to the native engine. */ -- cgit v1.2.3