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

Side by Side Diff: webkit/glue/gl_bindings_skia_cmd_buffer.h

Issue 7756004: Create a new GrGLInterface for each GrContext so callback can be used to set GL-context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: switch machines Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/gl/gl_bindings_skia_in_process.cc ('k') | webkit/glue/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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ 5 #ifndef WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
6 #define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ 6 #define WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
7 #pragma once 7 #pragma once
8 8
9 struct GrGLInterface; 9 struct GrGLInterface;
10 10
11 namespace webkit_glue { 11 namespace webkit_glue {
12 12
13 // The GPU back-end for skia requires pointers to GL functions. This function 13 // The GPU back-end for skia requires pointers to GL functions. This function
14 // binds skia-gpu to the cmd buffers GL. 14 // returns a binding for skia-gpu to the cmd buffers GL.
15 GrGLInterface* GetCommandBufferSkiaGLBinding(); 15 GrGLInterface* CreateCommandBufferSkiaGLBinding();
16 16
17 } // namespace webkit_glue 17 } // namespace webkit_glue
18 18
19 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_ 19 #endif // WEBKIT_GLUE_GL_BINDINGS_SKIA_CMD_BUFFER_H_
20 20
OLDNEW
« no previous file with comments | « ui/gfx/gl/gl_bindings_skia_in_process.cc ('k') | webkit/glue/gl_bindings_skia_cmd_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698