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

Unified Diff: gpu/ipc/service/gpu_memory_buffer_factory.h

Issue 2781293003: gpu: Have GpuService create and own GpuMemoryBufferFactory. (Closed)
Patch Set: tot merge. Created 3 years, 9 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
« no previous file with comments | « content/gpu/in_process_gpu_thread.cc ('k') | gpu/ipc/service/gpu_memory_buffer_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_memory_buffer_factory.h
diff --git a/gpu/ipc/service/gpu_memory_buffer_factory.h b/gpu/ipc/service/gpu_memory_buffer_factory.h
index 539caa8b3a6c191acf3fb52d47312eebb5c49707..55c83dc14b7dface59341fb686c6cdc608c984d1 100644
--- a/gpu/ipc/service/gpu_memory_buffer_factory.h
+++ b/gpu/ipc/service/gpu_memory_buffer_factory.h
@@ -23,7 +23,8 @@ class GPU_EXPORT GpuMemoryBufferFactory {
public:
virtual ~GpuMemoryBufferFactory() {}
- // Creates a new factory instance for native GPU memory buffers.
+ // Creates a new factory instance for native GPU memory buffers. Returns null
+ // if native buffers are not supported.
static std::unique_ptr<GpuMemoryBufferFactory> CreateNativeType();
// Creates a new GPU memory buffer instance. A valid handle is returned on
« no previous file with comments | « content/gpu/in_process_gpu_thread.cc ('k') | gpu/ipc/service/gpu_memory_buffer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698