diff options
Diffstat (limited to 'chrome/renderer/ggl/ggl.h')
-rw-r--r-- | chrome/renderer/ggl/ggl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/renderer/ggl/ggl.h b/chrome/renderer/ggl/ggl.h index ce34c7f..b005d56 100644 --- a/chrome/renderer/ggl/ggl.h +++ b/chrome/renderer/ggl/ggl.h @@ -11,6 +11,7 @@ #define CHROME_RENDERER_GGL_GGL_H_ #pragma once +#include "base/callback.h" #include "gfx/native_widget_types.h" #include "gfx/size.h" @@ -83,6 +84,11 @@ void ResizeOffscreenContext(Context* context, const gfx::Size& size); // parent. uint32 GetParentTextureId(Context* context); +// Provides a callback that will be invoked when SwapBuffers has completed +// service side. +void SetSwapBuffersCallback(Context* context, + Callback1<Context*>::Type* callback); + // Set the current GGL context for the calling thread. bool MakeCurrent(Context* context); |