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

Unified Diff: ui/compositor/compositor.h

Issue 1139903005: Add PERSISTENT_MAP usage for GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: persistentmap: fixmandolinebetter Created 5 years, 7 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: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index cf115b0238f0646ec43532acbe032ad775f89e8c..0e34ea1c6b6e390965d0c832a063120fdf84b520 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -94,8 +94,11 @@ class COMPOSITOR_EXPORT ContextFactory {
// operations.
virtual bool DoesCreateTestContexts() = 0;
- // Returns the OpenGL target to use for image textures.
- virtual uint32 GetImageTextureTarget() = 0;
+ // Returns the OpenGL target to use for mapable image textures.
+ virtual uint32 GetMapImageTextureTarget() = 0;
+
+ // Returns the OpenGL target to use for persistent-mapable image textures.
+ virtual uint32 GetPersistentMapImageTextureTarget() = 0;
reveman 2015/05/20 14:26:08 Same here. Having a different function for each co
// Gets the shared bitmap manager for software mode.
virtual cc::SharedBitmapManager* GetSharedBitmapManager() = 0;

Powered by Google App Engine
This is Rietveld 408576698