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

Unified Diff: gpu/command_buffer/client/gpu_memory_buffer_manager.h

Issue 2800693002: {Browser}GpuMemoryBufferManager: add supported native attrib queries
Patch Set: {Browser}GpuMemoryBufferManager: add supported native attrib queries 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
Index: gpu/command_buffer/client/gpu_memory_buffer_manager.h
diff --git a/gpu/command_buffer/client/gpu_memory_buffer_manager.h b/gpu/command_buffer/client/gpu_memory_buffer_manager.h
index b75780bbc14921cd33d7646272734e456ff1861f..8b369c40e77100a3ed340c06088df592e361df2c 100644
--- a/gpu/command_buffer/client/gpu_memory_buffer_manager.h
+++ b/gpu/command_buffer/client/gpu_memory_buffer_manager.h
@@ -8,6 +8,7 @@
#include <memory>
#include "gpu/gpu_export.h"
+#include "gpu/ipc/common/gpu_memory_buffer_support.h"
#include "gpu/ipc/common/surface_handle.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -31,6 +32,9 @@ class GPU_EXPORT GpuMemoryBufferManager {
// Associates destruction sync point with |buffer|.
virtual void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer,
const gpu::SyncToken& sync_token) = 0;
+
+ // Returns the supported GpuMemoryBufferAttrib pairs.
+ virtual gfx::GpuMemoryBufferAttribVector GetGpuMemoryBufferAttribs();
};
} // namespace gpu
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | gpu/command_buffer/client/gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698