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

Unified Diff: content/renderer/render_thread_impl.h

Issue 77023002: gpu: Add IOSurface backed GpuMemoryBuffer implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review feedback 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
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 1f16ee7d9302e5d6627375986e45bfa8f2f516f3..1fbd6a8ebfb63433332e06f1fe4e4b4b7d2a20d3 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -504,6 +504,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
base::ProcessId renderer_process_id_;
+ // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from
+ // multiple threads. Current allocation mechanism for IOSurface
+ // backed GpuMemoryBuffers prevent this. crbug.com/325045
+ base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
+
DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
};

Powered by Google App Engine
This is Rietveld 408576698