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

Side by Side Diff: ui/gl/gl_bindings_skia_in_process.cc

Issue 12390032: Revert 185518 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/gl/gl_bindings_skia_in_process.h" 6 #include "ui/gl/gl_bindings_skia_in_process.h"
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "third_party/skia/include/gpu/gl/GrGLInterface.h" 9 #include "third_party/skia/include/gpu/gl/GrGLInterface.h"
10 #include "ui/gl/gl_bindings.h" 10 #include "ui/gl/gl_bindings.h"
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 GLenum internalformat, 358 GLenum internalformat,
359 GLsizei width, GLsizei height) { 359 GLsizei width, GLsizei height) {
360 glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, 360 glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width,
361 height); 361 height);
362 } 362 }
363 363
364 GLvoid StubGLScissor(GLint x, GLint y, GLsizei width, GLsizei height) { 364 GLvoid StubGLScissor(GLint x, GLint y, GLsizei width, GLsizei height) {
365 glScissor(x, y, width, height); 365 glScissor(x, y, width, height);
366 } 366 }
367 367
368 GLvoid StubGLShaderSource(GLuint shader, GLsizei count, const char** str, 368 GLvoid StubGLShaderSource(GLuint shader, GLsizei count, const char* const* str,
369 const GLint* length) { 369 const GLint* length) {
370 glShaderSource(shader, count, str, length); 370 glShaderSource(shader, count, str, length);
371 } 371 }
372 372
373 GLvoid StubGLStencilFunc(GLenum func, GLint ref, GLuint mask) { 373 GLvoid StubGLStencilFunc(GLenum func, GLint ref, GLuint mask) {
374 glStencilFunc(func, ref, mask); 374 glStencilFunc(func, ref, mask);
375 } 375 }
376 376
377 GLvoid StubGLStencilFuncSeparate(GLenum face, GLenum func, GLint ref, 377 GLvoid StubGLStencilFuncSeparate(GLenum face, GLenum func, GLint ref,
378 GLuint mask) { 378 GLuint mask) {
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 StubGLRenderbufferStorageMultisample; 672 StubGLRenderbufferStorageMultisample;
673 interface->fBlitFramebuffer = StubGLBlitFramebuffer; 673 interface->fBlitFramebuffer = StubGLBlitFramebuffer;
674 interface->fMapBuffer = StubGLMapBuffer; 674 interface->fMapBuffer = StubGLMapBuffer;
675 interface->fUnmapBuffer = StubGLUnmapBuffer; 675 interface->fUnmapBuffer = StubGLUnmapBuffer;
676 interface->fBindFragDataLocationIndexed = 676 interface->fBindFragDataLocationIndexed =
677 StubGLBindFragDataLocationIndexed; 677 StubGLBindFragDataLocationIndexed;
678 return interface; 678 return interface;
679 } 679 }
680 680
681 } // namespace gfx 681 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698