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

Unified Diff: trunk/src/gpu/command_buffer/client/cmd_buffer_helper.h

Issue 216673006: Revert 260177 "By keeping track of transfer buffer usage (both s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/gpu/command_buffer/client/cmd_buffer_helper.h
===================================================================
--- trunk/src/gpu/command_buffer/client/cmd_buffer_helper.h (revision 260192)
+++ trunk/src/gpu/command_buffer/client/cmd_buffer_helper.h (working copy)
@@ -84,15 +84,6 @@
// shutdown.
int32 InsertToken();
- // Returns true if the token has passed.
- // Parameters:
- // the value of the token to check whether it has passed
- bool HasTokenPassed(int32 token) const {
- if (token > token_)
- return true; // we wrapped
- return last_token_read() >= token;
- }
-
// Waits until the token of a particular value has passed through the command
// stream (i.e. commands inserted before that token have been executed).
// NOTE: This will call Flush if it needs to block.
« no previous file with comments | « trunk/src/gpu/command_buffer/client/buffer_tracker_unittest.cc ('k') | trunk/src/gpu/command_buffer/client/fenced_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698