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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: [WIP] Introduced internal SetAsyncToken command buffer command 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/common_decoder.h
diff --git a/gpu/command_buffer/service/common_decoder.h b/gpu/command_buffer/service/common_decoder.h
index 03002c8b06f2baa87f072186f6d063054f38b014..5649e8d7031eaf6c06f1a7b91015e175d889c935 100644
--- a/gpu/command_buffer/service/common_decoder.h
+++ b/gpu/command_buffer/service/common_decoder.h
@@ -135,6 +135,11 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) {
Buffer GetSharedMemoryBuffer(unsigned int shm_id);
protected:
+ virtual void OnSetAsyncToken(uint32 async_token) {
+ // This should only happen when this function is overriden.
+ NOTREACHED();
+ }
+
// Executes a common command.
// Parameters:
// command: the command index.

Powered by Google App Engine
This is Rietveld 408576698