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

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

Issue 6981001: Make the Pepper proxy support in-process font rendering. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « ppapi/thunk/thunk.h ('k') | webkit/glue/webkit_glue.gypi » ('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 5
6 #include "webkit/glue/gl_bindings_skia_cmd_buffer.h" 6 #include "webkit/glue/gl_bindings_skia_cmd_buffer.h"
7 7
8 #ifndef GL_GLEXT_PROTOTYPES
8 #define GL_GLEXT_PROTOTYPES 9 #define GL_GLEXT_PROTOTYPES
10 #endif
9 #include "gpu/GLES2/gl2.h" 11 #include "gpu/GLES2/gl2.h"
10 #include "gpu/GLES2/gl2ext.h" 12 #include "gpu/GLES2/gl2ext.h"
11 13
12 #include "third_party/skia/gpu/include/GrGLInterface.h" 14 #include "third_party/skia/gpu/include/GrGLInterface.h"
13 15
14 namespace webkit_glue { 16 namespace webkit_glue {
15 17
16 void BindSkiaToCommandBufferGL() { 18 void BindSkiaToCommandBufferGL() {
17 static GrGLInterface cmd_buffer_interface = { 19 static GrGLInterface cmd_buffer_interface = {
18 kES2_GrGLBinding, 20 kES2_GrGLBinding,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 }; 130 };
129 static bool host_StubGL_initialized = false; 131 static bool host_StubGL_initialized = false;
130 if (!host_StubGL_initialized) { 132 if (!host_StubGL_initialized) {
131 GrGLSetGLInterface(&cmd_buffer_interface); 133 GrGLSetGLInterface(&cmd_buffer_interface);
132 host_StubGL_initialized = true; 134 host_StubGL_initialized = true;
133 } 135 }
134 } 136 }
135 137
136 } // namespace webkit_glue 138 } // namespace webkit_glue
137 139
OLDNEW
« no previous file with comments | « ppapi/thunk/thunk.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698