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

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no ozone 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: content/common/gpu/client/command_buffer_proxy_impl.h
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h
index 4163cb615b156622b4eb4bc31e4c238bec0c5b13..ac1fb7652f83cf6f34f00856cab34f813e6c9c7d 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.h
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h
@@ -21,6 +21,7 @@
#include "gpu/command_buffer/common/gpu_memory_allocation.h"
#include "ipc/ipc_listener.h"
#include "ui/events/latency_info.h"
+#include "ui/gfx/gpu_memory_buffer.h"
struct GPUCommandBufferConsoleMessage;
@@ -28,10 +29,6 @@ namespace base {
class SharedMemory;
}
-namespace gfx {
-class GpuMemoryBuffer;
-}
-
namespace gpu {
struct Mailbox;
}
@@ -106,6 +103,7 @@ class CommandBufferProxyImpl
size_t width,
size_t height,
unsigned internalformat,
+ gfx::GpuMemoryBuffer::Usage usage,
int32* id) OVERRIDE;
virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
virtual uint32 InsertSyncPoint() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698