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

Unified Diff: content/browser/compositor/io_surface_layer_mac.h

Issue 647553002: Revert of Use a single CGLContextObj to draw and update the IOSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: content/browser/compositor/io_surface_layer_mac.h
diff --git a/content/browser/compositor/io_surface_layer_mac.h b/content/browser/compositor/io_surface_layer_mac.h
index a52a75cc95f88a0ff846e13efa2a9cb29a4dc010..5a218e8f66529e0b94e40ba596d5ea73d3defcfd 100644
--- a/content/browser/compositor/io_surface_layer_mac.h
+++ b/content/browser/compositor/io_surface_layer_mac.h
@@ -16,6 +16,7 @@
namespace content {
class IOSurfaceTexture;
+class IOSurfaceContext;
// The interface through which the IOSurfaceLayer calls back into
// the structrue that created it (RenderWidgetHostViewMac or
@@ -116,6 +117,8 @@
@interface IOSurfaceLayer : CAOpenGLLayer {
@private
scoped_refptr<content::IOSurfaceTexture> iosurface_;
+ scoped_refptr<content::IOSurfaceContext> context_;
+
scoped_ptr<content::IOSurfaceLayerHelper> helper_;
}
« no previous file with comments | « content/browser/compositor/io_surface_context_mac.mm ('k') | content/browser/compositor/io_surface_layer_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698