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

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

Issue 896723008: Add OrderingBarrierCHROMIUM API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update unit test classes. Created 5 years, 10 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.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 7ef54448b6182b75e13c2295d96cb7d5258334c3..714ed173f55fb8bbcd36ac2a0378a837a94bd739 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -834,6 +834,13 @@ void GLES2Implementation::ShallowFlushCHROMIUM() {
// TODO(piman): Add the FreeEverything() logic here.
}
+void GLES2Implementation::ShallowShallowFlushCHROMIUM() {
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glShallowShallowFlushCHROMIUM()");
+ // Flush command buffer at the GPU channel level. May be implemented as
+ // Flush().
+ helper_->CommandBufferHelper::ShallowFlush();
+}
+
void GLES2Implementation::Finish() {
GPU_CLIENT_SINGLE_THREAD_CHECK();
FinishHelper();

Powered by Google App Engine
This is Rietveld 408576698