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

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

Issue 1119723003: Add glCopyCompressedTextureCHROMIUM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove glGetCompressedTexImage fallback Created 5 years, 6 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_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 e344414e87c7cc88be16ca91cb88110918ce3883..3c3eeb79cd9ef62413cfeb67d9ce46a489fb1eef 100644
--- a/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h
@@ -1893,6 +1893,18 @@ void GLES2TraceImplementation::CopySubTextureCHROMIUM(GLenum target,
gl_->CopySubTextureCHROMIUM(target, source_id, dest_id, xoffset, yoffset);
}
+void GLES2TraceImplementation::CompressedCopyTextureCHROMIUM(
+ GLenum target,
+ GLenum source_id,
+ GLenum dest_id,
+ GLenum internalformat,
+ GLsizei source_size) {
+ TRACE_EVENT_BINARY_EFFICIENT0("gpu",
+ "GLES2Trace::CompressedCopyTextureCHROMIUM");
+ gl_->CompressedCopyTextureCHROMIUM(target, source_id, dest_id, internalformat,
+ source_size);
+}
+
void GLES2TraceImplementation::DrawArraysInstancedANGLE(GLenum mode,
GLint first,
GLsizei count,

Powered by Google App Engine
This is Rietveld 408576698