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

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

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 years, 1 month 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_trace_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
index 2d08ece5315e12a129b4b7fe71a0ae953c5c474a..186c33e6049643bcf371341ae1b01714c8ab3177 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -1924,6 +1924,16 @@ GLuint GLES2TraceImplementation::CreateGpuMemoryBufferImageCHROMIUM(
usage);
}
+GLuint GLES2TraceImplementation::CreateFenceCHROMIUM(ClientFence fence) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::CreateFenceCHROMIUM");
+ return gl_->CreateFenceCHROMIUM(fence);
+}
+
+void GLES2TraceImplementation::DestroyFenceCHROMIUM(GLuint fence_id) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::DestroyFenceCHROMIUM");
+ gl_->DestroyFenceCHROMIUM(fence_id);
+}
+
void GLES2TraceImplementation::DescheduleUntilFinishedCHROMIUM() {
TRACE_EVENT_BINARY_EFFICIENT0("gpu",
"GLES2Trace::DescheduleUntilFinishedCHROMIUM");

Powered by Google App Engine
This is Rietveld 408576698