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

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

Issue 8060045: Use shared D3D9 texture to transport the compositor's backing buffer to the browser... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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_mac.cc
===================================================================
--- content/common/gpu/image_transport_surface_mac.cc (revision 108480)
+++ content/common/gpu/image_transport_surface_mac.cc (working copy)
@@ -43,6 +43,7 @@
virtual void OnNewSurfaceACK(uint64 surface_id,
TransportDIB::Handle shm_handle) OVERRIDE;
virtual void OnBuffersSwappedACK() OVERRIDE;
+ virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
private:
@@ -94,6 +95,7 @@
virtual void OnBuffersSwappedACK() OVERRIDE;
virtual void OnNewSurfaceACK(uint64 surface_id,
TransportDIB::Handle shm_handle) OVERRIDE;
+ virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
private:
@@ -239,6 +241,9 @@
helper_->SetScheduled(true);
}
+void IOSurfaceImageTransportSurface::OnResizeViewACK() {
+}
jonathan.backer 2011/11/03 23:09:07 NOTREACHED()
+
void IOSurfaceImageTransportSurface::OnResize(gfx::Size size) {
IOSurfaceSupport* io_surface_support = IOSurfaceSupport::Initialize();
@@ -443,6 +448,9 @@
DCHECK_NE(shared_mem_.get(), static_cast<void*>(NULL));
}
+void TransportDIBImageTransportSurface::OnResizeViewACK() {
+}
jonathan.backer 2011/11/03 23:09:07 NOTREACHED()
+
void TransportDIBImageTransportSurface::OnResize(gfx::Size size) {
size_ = size;

Powered by Google App Engine
This is Rietveld 408576698