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

Unified Diff: components/mus/gles2/gl_helper.h

Issue 1848033006: Mus version of GLHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed deps Created 4 years, 8 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
« no previous file with comments | « components/mus/gles2/BUILD.gn ('k') | components/mus/gles2/gl_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/gl_helper.h
diff --git a/components/mus/gles2/gl_helper.h b/components/mus/gles2/gl_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..e067cb3accd9f0ff4a08bd671ff7dff9e6aea9da
--- /dev/null
+++ b/components/mus/gles2/gl_helper.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_MUS_GLES2_GL_HELPER_H_
+#define COMPONENTS_MUS_GLES2_GL_HELPER_H_
+
+#include "gpu/command_buffer/client/gles2_interface.h"
+
+class SkRegion;
+
+namespace mus {
+
+void GLCopySubBufferDamage(gpu::gles2::GLES2Interface* gl,
+ GLenum target,
+ GLuint texture,
+ GLuint previous_texture,
+ const SkRegion& new_damage,
+ const SkRegion& old_damage);
+
+} // namespace mus
+
+#endif // COMPONENTS_MUS_GLES2_GL_HELPER_H_
« no previous file with comments | « components/mus/gles2/BUILD.gn ('k') | components/mus/gles2/gl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698