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

Unified Diff: gpu/command_buffer/service/gpu_control_service.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/service/gpu_control_service.h
diff --git a/gpu/command_buffer/service/gpu_control_service.h b/gpu/command_buffer/service/gpu_control_service.h
index 74fd4d5a16a4081e349d264f8a6903251de22938..7ade5b7ad44730c32db74a87535d4c67cd69240b 100644
--- a/gpu/command_buffer/service/gpu_control_service.h
+++ b/gpu/command_buffer/service/gpu_control_service.h
@@ -36,6 +36,7 @@ class GPU_EXPORT GpuControlService : public GpuControl {
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;
@@ -55,7 +56,8 @@ class GPU_EXPORT GpuControlService : public GpuControl {
gfx::GpuMemoryBufferHandle buffer,
size_t width,
size_t height,
- unsigned internalformat);
+ unsigned internalformat,
+ unsigned usage);
private:
GpuMemoryBufferManagerInterface* gpu_memory_buffer_manager_;

Powered by Google App Engine
This is Rietveld 408576698