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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.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/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index 6e4cd884586bd99656872acbad475a83a9d60369..ae319999525dba444b9910c135e3a9d620ca823f 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -31,6 +31,8 @@
#include "ui/gl/gpu_preference.h"
#include "url/gurl.h"
+struct GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params;
+
namespace gpu {
class GpuControlService;
struct Mailbox;
@@ -200,11 +202,8 @@ class GpuCommandBufferStub
void OnReceivedClientManagedMemoryStats(const gpu::ManagedMemoryStats& stats);
void OnSetClientHasMemoryAllocationChangedCallback(bool has_callback);
- void OnRegisterGpuMemoryBuffer(int32 id,
- gfx::GpuMemoryBufferHandle gpu_memory_buffer,
- uint32 width,
- uint32 height,
- uint32 internalformat);
+ void OnRegisterGpuMemoryBuffer(
+ GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params params);
void OnDestroyGpuMemoryBuffer(int32 id);
void OnCommandProcessed();

Powered by Google App Engine
This is Rietveld 408576698