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

Unified Diff: content/browser/browser_io_surface_manager_mac.h

Issue 1280513002: Add GenericSharedMemoryId and use w/ GpuMemoryBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trackpools
Patch Set: remove "tracing" from name Created 5 years, 4 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/browser_io_surface_manager_mac.h
diff --git a/content/browser/browser_io_surface_manager_mac.h b/content/browser/browser_io_surface_manager_mac.h
index 7d786eb0b0681ae5ff3a43827a713e9aed205bbd..62ae750deb9c967666d3cbcf871eec03c4b1484c 100644
--- a/content/browser/browser_io_surface_manager_mac.h
+++ b/content/browser/browser_io_surface_manager_mac.h
@@ -24,6 +24,11 @@
namespace content {
+// TODO(ericrk): Use gfx::GenericSharedMemoryId as the |io_surface_id| in
+// this file. Allows for more type-safe usage of GpuMemoryBufferIds as the
+// type of the |io_surface_id|, as it is a typedef of
+// gfx::GenericSharedMemoryId.
+
// Implementation of IOSurfaceManager that provides a mechanism for child
// processes to register and acquire IOSurfaces through a Mach service.
class CONTENT_EXPORT BrowserIOSurfaceManager : public IOSurfaceManager {
« no previous file with comments | « components/view_manager/gles2/mojo_gpu_memory_buffer.cc ('k') | content/browser/compositor/buffer_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698