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

Side by Side Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h

Issue 1671283002: Bind GrContext to GLES2Interface rather than C GLES interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix dependency in gyp and gn? Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « gpu/skia_bindings/BUILD.gn ('k') | gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_ 5 #ifndef GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
6 #define GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_ 6 #define GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
7 7
8 #include "third_party/skia/include/core/SkTypes.h" 8 #include "third_party/skia/include/core/SkTypes.h"
9 9
10 struct GrGLInterface; 10 struct GrGLInterface;
11 11
12 namespace gpu {
13 namespace gles2 {
14 class GLES2Interface;
15 } // namespace gles2
16 } // namespace gpu
17
12 namespace skia_bindings { 18 namespace skia_bindings {
13 19
14 // The GPU back-end for skia requires pointers to GL functions. This function 20 // The GPU back-end for skia requires pointers to GL functions. This function
15 // initializes bindings for skia-gpu to the cmd buffers GL. 21 // initializes bindings for skia-gpu to a GLES2Interface object.
16 void InitCommandBufferSkiaGLBinding(GrGLInterface*); 22 void InitGLES2InterfaceBindings(GrGLInterface*, gpu::gles2::GLES2Interface*);
17 23
18 } // namespace skia 24 } // namespace skia_bindings
19 25
20 #endif // GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_ 26 #endif // GPU_SKIA_BINDINGS_GL_BINDINGS_SKIA_CMD_BUFFER_H_
OLDNEW
« no previous file with comments | « gpu/skia_bindings/BUILD.gn ('k') | gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698