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

Unified Diff: ui/gl/io_surface_support_mac.h

Issue 100053005: Allow AllocateGpuMemoryBuffer to be called from multiple threads. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | ui/gl/io_surface_support_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/io_surface_support_mac.h
diff --git a/ui/gl/io_surface_support_mac.h b/ui/gl/io_surface_support_mac.h
index d8699c833a7da4a4c171346876f94cbae36e047c..93b2d2de17683f3a454895a8e97cd3aa4abcd129 100644
--- a/ui/gl/io_surface_support_mac.h
+++ b/ui/gl/io_surface_support_mac.h
@@ -60,6 +60,10 @@ class GL_EXPORT IOSurfaceSupport {
uint32 options,
uint32* seed) = 0;
+ virtual void IOSurfaceDecrementUseCount(CFTypeRef io_surface) = 0;
+ virtual void IOSurfaceIncrementUseCount(CFTypeRef io_surface) = 0;
+ virtual Boolean IOSurfaceIsInUse(CFTypeRef io_surface) = 0;
+
virtual CGLError CGLTexImageIOSurface2D(CGLContextObj ctx,
GLenum target,
GLenum internal_format,
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | ui/gl/io_surface_support_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698