| 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_
|
|
|