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

Unified Diff: gpu/command_buffer/common/gpu_control.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First draft Created 6 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/common/gpu_control.h
diff --git a/gpu/command_buffer/common/gpu_control.h b/gpu/command_buffer/common/gpu_control.h
index e15d5e6b11938b4ae176dbd89b34029f47271da0..29a100fe3c3ab54be501f69bf7786a0fe61e2ab1 100644
--- a/gpu/command_buffer/common/gpu_control.h
+++ b/gpu/command_buffer/common/gpu_control.h
@@ -12,10 +12,7 @@
#include "gpu/command_buffer/common/mailbox.h"
#include "gpu/command_buffer/common/types.h"
#include "gpu/gpu_export.h"
-
-namespace gfx {
-class GpuMemoryBuffer;
-}
+#include "ui/gfx/gpu_memory_buffer.h"
namespace gpu {
struct ManagedMemoryStats;
@@ -34,6 +31,7 @@ class GPU_EXPORT GpuControl {
size_t width,
size_t height,
unsigned internalformat,
+ gfx::GpuMemoryBuffer::Usage usage,
int32* id) = 0;
// Destroy a gpu memory buffer. The ID must be positive.

Powered by Google App Engine
This is Rietveld 408576698