Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / gpu / command_buffer / client / context_support.h
index 9becfc8..2678ba9 100644 (file)
@@ -10,7 +10,6 @@
 #include "ui/gfx/rect.h"
 
 namespace gpu {
-struct ManagedMemoryStats;
 
 class ContextSupport {
  public:
@@ -26,14 +25,9 @@ class ContextSupport {
   // Clients aren't expected to draw to an invisible surface.
   virtual void SetSurfaceVisible(bool visible) = 0;
 
-  virtual void SendManagedMemoryStats(const ManagedMemoryStats& stats) = 0;
-
   virtual void Swap() = 0;
   virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0;
 
-  virtual void SetSwapBuffersCompleteCallback(
-      const base::Closure& callback) = 0;
-
   // Schedule a texture to be presented as an overlay synchronously with the
   // primary surface during the next buffer swap.
   // This method is not stateful and needs to be re-scheduled every frame.
@@ -43,6 +37,9 @@ class ContextSupport {
                                     const gfx::Rect& display_bounds,
                                     const gfx::RectF& uv_rect) = 0;
 
+  virtual uint32 InsertFutureSyncPointCHROMIUM() = 0;
+  virtual void RetireSyncPointCHROMIUM(uint32 sync_point) = 0;
+
  protected:
   ContextSupport() {}
   virtual ~ContextSupport() {}