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

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

Issue 2802613003: GpuMemoryBufferFactoryOzoneNativePixmap: expose supported GMB attribs
Patch Set: rename GetSupportedGpuMemoryBufferAttribsForUsage to GetGpuMemoryBufferAttribsForUsage Created 3 years, 8 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 | « no previous file | 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 55c83dc14b7dface59341fb686c6cdc608c984d1..389d74f9823fd76d6813f35c943a3281d729eb31 100644
--- a/gpu/ipc/service/gpu_memory_buffer_factory.h
+++ b/gpu/ipc/service/gpu_memory_buffer_factory.h
@@ -37,6 +37,9 @@ class GPU_EXPORT GpuMemoryBufferFactory {
int client_id,
SurfaceHandle surface_handle) = 0;
+ virtual gfx::GpuMemoryBufferAttribVector
+ GetGpuMemoryBufferAttribsForUsage(gfx::BufferUsage usage);
+
// Destroys GPU memory buffer identified by |id|.
// It can be called on any thread.
virtual void DestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
« no previous file with comments | « no previous file | gpu/ipc/service/gpu_memory_buffer_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698