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

Unified Diff: gpu/command_buffer/service/command_buffer_service.h

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: [WIP] Review comments follow-up Created 6 years, 11 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/command_buffer_service.h
diff --git a/gpu/command_buffer/service/command_buffer_service.h b/gpu/command_buffer/service/command_buffer_service.h
index b1f8fa15fea6a2d3da4a9681f8dad587a01d6c35..06ea9588418b00d60e8864345bbd2982e4fbae46 100644
--- a/gpu/command_buffer/service/command_buffer_service.h
+++ b/gpu/command_buffer/service/command_buffer_service.h
@@ -36,6 +36,7 @@ class GPU_EXPORT CommandBufferService : public CommandBuffer {
virtual void DestroyTransferBuffer(int32 id) OVERRIDE;
virtual Buffer GetTransferBuffer(int32 id) OVERRIDE;
virtual void SetToken(int32 token) OVERRIDE;
+ virtual void SetSerial(uint32 serial) OVERRIDE;
virtual void SetParseError(error::Error error) OVERRIDE;
virtual void SetContextLostReason(error::ContextLostReason) OVERRIDE;
@@ -79,6 +80,7 @@ class GPU_EXPORT CommandBufferService : public CommandBuffer {
base::Closure parse_error_callback_;
TransferBufferManagerInterface* transfer_buffer_manager_;
int32 token_;
+ uint32 serial_;
uint32 generation_;
error::Error error_;
error::ContextLostReason context_lost_reason_;

Powered by Google App Engine
This is Rietveld 408576698