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

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

Issue 11194042: Implement TextureImageTransportSurface using texture mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased, fixed post sub buffer, use multiple mailbox names Created 8 years, 1 month 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
Index: content/common/gpu/image_transport_surface_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index 54d9e0627de29d2b91a75ea8c518c861f1ee530c..1914c5d381f18f1d072a76b7a6a27c5fc93b07e3 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -50,7 +50,8 @@ class PbufferImageTransportSurface
protected:
// ImageTransportSurface implementation
- virtual void OnBufferPresented(bool presented, uint32 sync_point) OVERRIDE;
+ virtual void OnBufferPresented(uint64 surface_handle,
+ uint32 sync_point) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
virtual gfx::Size GetSize() OVERRIDE;
@@ -206,7 +207,7 @@ void PbufferImageTransportSurface::SendBuffersSwapped() {
is_swap_buffers_pending_ = true;
}
-void PbufferImageTransportSurface::OnBufferPresented(bool presented,
+void PbufferImageTransportSurface::OnBufferPresented(uint64 surface_handle,
uint32 sync_point) {
is_swap_buffers_pending_ = false;
if (did_unschedule_) {

Powered by Google App Engine
This is Rietveld 408576698