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

Unified Diff: content/browser/aura/image_transport_factory.h

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to make tests happy by still creating shared context Created 6 years, 11 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/aura/image_transport_factory.h
diff --git a/content/browser/aura/image_transport_factory.h b/content/browser/aura/image_transport_factory.h
index c01ee8746d7d34b81165a65d03cf38bf25cd8102..b2c807fdb9cbe8c0ed1eb0a4292bf022fcfca164 100644
--- a/content/browser/aura/image_transport_factory.h
+++ b/content/browser/aura/image_transport_factory.h
@@ -67,13 +67,7 @@ class CONTENT_EXPORT ImageTransportFactory {
// Gets the image transport factory as a context factory for the compositor.
virtual ui::ContextFactory* AsContextFactory() = 0;
- // Creates a shared surface handle.
- // Note: the handle may get lost at any time, a state that an
- // ImageTransportFactoryObserver gets notified of.
- virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() = 0;
-
- // Destroys a shared surface handle.
- virtual void DestroySharedSurfaceHandle(gfx::GLSurfaceHandle surface) = 0;
+ virtual gfx::GLSurfaceHandle GetSharedSurfaceHandle() = 0;
// Creates a transport texture for a given scale factor.
virtual scoped_refptr<ui::Texture> CreateTransportClient(
« no previous file with comments | « content/browser/aura/gpu_process_transport_factory.cc ('k') | content/browser/aura/no_transport_image_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698