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

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

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/image_transport_surface.h ('k') | content/common/gpu/image_transport_surface_mac.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.cc
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc
index dce01a234876b204cbd5f8ed3ccb2e139855893a..47bb204d7d225474af46f82affacd7ae222385f9 100644
--- a/content/common/gpu/image_transport_surface.cc
+++ b/content/common/gpu/image_transport_surface.cc
@@ -212,8 +212,9 @@ void ImageTransportHelper::OnSetFrontSurfaceIsProtected(
surface_->OnSetFrontSurfaceIsProtected(is_protected, protection_state_id);
}
-void ImageTransportHelper::OnBufferPresented(uint32 sync_point) {
- surface_->OnBufferPresented(sync_point);
+void ImageTransportHelper::OnBufferPresented(bool presented,
+ uint32 sync_point) {
+ surface_->OnBufferPresented(presented, sync_point);
}
void ImageTransportHelper::OnResizeViewACK() {
@@ -311,7 +312,9 @@ bool PassThroughImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) {
return true;
}
-void PassThroughImageTransportSurface::OnBufferPresented(uint32 sync_point) {
+void PassThroughImageTransportSurface::OnBufferPresented(
+ bool /* presented */,
+ uint32 /* sync_point */) {
DCHECK(transport_);
helper_->SetScheduled(true);
}
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/common/gpu/image_transport_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698