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

Unified Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 1814573002: Move flush id from WebGraphicsContext3DImpl to GLES2Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lastflush: . Created 4 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: gpu/command_buffer/client/gles2_implementation.h
diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
index 02314d07fd644f1f20f59d3d2e59fd0be10bb4a4..6ee901e2a05cb73a8f56c3556d51403e7ece9349 100644
--- a/gpu/command_buffer/client/gles2_implementation.h
+++ b/gpu/command_buffer/client/gles2_implementation.h
@@ -792,6 +792,9 @@ class GLES2_IMPL_EXPORT GLES2Implementation
// Used to check for single threaded access.
int use_count_;
+ // Changed every time a flush or finish occurs.
+ uint32_t flush_id_;
+
// Maximum amount of extra memory from the mapped memory pool to use when
// needing to transfer something exceeding the default transfer buffer.
// This should be 0 for low memory devices since they are already memory

Powered by Google App Engine
This is Rietveld 408576698