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

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

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 c9f8b931a96721b1c5db02e29908a582674f7f81..a6ed2e40617c76d6726cf7b905d4be882a543d42 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -1489,6 +1489,18 @@ void GLES2TraceImplementation::CopyTextureCHROMIUM(GLenum target,
dest_type);
}
+void GLES2TraceImplementation::CopyCompressedTextureCHROMIUM(
+ GLenum target,
+ GLenum source_id,
+ GLenum dest_id,
+ GLenum internalformat,
+ GLenum dest_type) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu",
+ "GLES2Trace::CopyCompressedTextureCHROMIUM");
+ gl_->CopyCompressedTextureCHROMIUM(target, source_id, dest_id, internalformat,
+ dest_type);
+}
+
void GLES2TraceImplementation::DrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,
@@ -1652,6 +1664,37 @@ void GLES2TraceImplementation::AsyncTexImage2DCHROMIUM(GLenum target,
border, format, type, pixels);
}
+void GLES2TraceImplementation::AsyncCompressedTexSubImage2DCHROMIUM(
+ GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLsizei imagesize,
+ const void* data) {
+ TRACE_EVENT_BINARY_EFFICIENT0(
+ "gpu", "GLES2Trace::AsyncCompressedTexSubImage2DCHROMIUM");
+ gl_->AsyncCompressedTexSubImage2DCHROMIUM(
+ target, level, xoffset, yoffset, width, height, format, imagesize, data);
+}
+
+void GLES2TraceImplementation::AsyncCompressedTexImage2DCHROMIUM(
+ GLenum target,
+ GLint level,
+ GLint internalformat,
+ GLsizei width,
+ GLsizei height,
+ GLint border,
+ GLsizei imagesize,
+ const void* pixels) {
+ TRACE_EVENT_BINARY_EFFICIENT0(
+ "gpu", "GLES2Trace::AsyncCompressedTexImage2DCHROMIUM");
+ gl_->AsyncCompressedTexImage2DCHROMIUM(target, level, internalformat, width,
+ height, border, imagesize, pixels);
+}
+
void GLES2TraceImplementation::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
TRACE_EVENT_BINARY_EFFICIENT0("gpu",
"GLES2Trace::WaitAsyncTexImage2DCHROMIUM");
« no previous file with comments | « gpu/command_buffer/client/gles2_trace_implementation_autogen.h ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698