Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1646)

Unified Diff: content/common/gpu/image_transport_surface.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OSX compile fix. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface.h
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index 3a9849ee65dc5de79f957d293b6b8f2edca15425..391f72a361527156c666fe1e572daea5f9c121a2 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -60,7 +60,7 @@ class ImageTransportSurface {
public:
ImageTransportSurface();
- virtual void OnBufferPresented(uint32 sync_point) = 0;
+ virtual void OnBufferPresented(bool presented, uint32 sync_point) = 0;
virtual void OnResizeViewACK() = 0;
virtual void OnResize(gfx::Size size) = 0;
virtual void OnSetFrontSurfaceIsProtected(bool is_protected,
@@ -139,7 +139,7 @@ class ImageTransportHelper : public IPC::Listener {
gpu::gles2::GLES2Decoder* Decoder();
// IPC::Message handlers.
- void OnBufferPresented(uint32 sync_point);
+ void OnBufferPresented(bool presented, uint32 sync_point);
void OnResizeViewACK();
void OnSetFrontSurfaceIsProtected(bool is_protected,
uint32 protection_state_id);
@@ -177,7 +177,8 @@ class PassThroughImageTransportSurface
virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE;
// ImageTransportSurface implementation.
- virtual void OnBufferPresented(uint32 sync_point) OVERRIDE;
+ virtual void OnBufferPresented(bool presented,
+ uint32 sync_point) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
virtual gfx::Size GetSize() OVERRIDE;
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698