Index: content/common/gpu/image_transport_surface_mac.mm |
diff --git a/content/common/gpu/image_transport_surface_mac.mm b/content/common/gpu/image_transport_surface_mac.mm |
index 7244f28dcdf9612016440d0ef830c726d87a65f8..0cce79a9f7585032c30796b3d14751d25ae66a38 100644 |
--- a/content/common/gpu/image_transport_surface_mac.mm |
+++ b/content/common/gpu/image_transport_surface_mac.mm |
@@ -6,6 +6,7 @@ |
#include "content/common/gpu/gpu_messages.h" |
#include "content/common/gpu/image_transport_surface_iosurface_mac.h" |
+#include "content/common/gpu/image_transport_surface_calayer_mac.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gl/gl_context.h" |
#include "ui/gl/gl_implementation.h" |
@@ -48,6 +49,8 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( |
switch (gfx::GetGLImplementation()) { |
case gfx::kGLImplementationDesktopGL: |
case gfx::kGLImplementationAppleGL: |
+ // TODO(ccameron): If the remote layer API is supported on this system, |
+ // use a CALayerStorageProvider instead of an IOSurfaceStorageProvider. |
return scoped_refptr<gfx::GLSurface>(new ImageTransportSurfaceFBO( |
new IOSurfaceStorageProvider, manager, stub, surface_handle.handle)); |
default: |