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

Side by Side Diff: src/gpu/gl/GrGLNoOpInterface.cpp

Issue 1782583002: Add support for vertex and geometry shader textures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: better rebase 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 | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLTexture.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrGLNoOpInterface.h" 8 #include "GrGLNoOpInterface.h"
9 #include "SkMutex.h" 9 #include "SkMutex.h"
10 #include "SkString.h" 10 #include "SkString.h"
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 break; 499 break;
500 case GR_GL_FRAMEBUFFER_BINDING: 500 case GR_GL_FRAMEBUFFER_BINDING:
501 *params = 0; 501 *params = 0;
502 break; 502 break;
503 case GR_GL_VIEWPORT: 503 case GR_GL_VIEWPORT:
504 params[0] = 0; 504 params[0] = 0;
505 params[1] = 0; 505 params[1] = 0;
506 params[2] = 800; 506 params[2] = 800;
507 params[3] = 600; 507 params[3] = 600;
508 break; 508 break;
509 case GR_GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS:
510 case GR_GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS:
509 case GR_GL_MAX_TEXTURE_IMAGE_UNITS: 511 case GR_GL_MAX_TEXTURE_IMAGE_UNITS:
512 case GR_GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS:
510 *params = 8; 513 *params = 8;
511 break; 514 break;
512 case GR_GL_MAX_TEXTURE_COORDS: 515 case GR_GL_MAX_TEXTURE_COORDS:
513 *params = 8; 516 *params = 8;
514 break; 517 break;
515 case GR_GL_MAX_VERTEX_UNIFORM_VECTORS: 518 case GR_GL_MAX_VERTEX_UNIFORM_VECTORS:
516 *params = kDefaultMaxVertexUniformVectors; 519 *params = kDefaultMaxVertexUniformVectors;
517 break; 520 break;
518 case GR_GL_MAX_FRAGMENT_UNIFORM_VECTORS: 521 case GR_GL_MAX_FRAGMENT_UNIFORM_VECTORS:
519 *params = kDefaultMaxFragmentUniformVectors; 522 *params = kDefaultMaxFragmentUniformVectors;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 static int gUniLocation = 0; 689 static int gUniLocation = 0;
687 return ++gUniLocation; 690 return ++gUniLocation;
688 } 691 }
689 692
690 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker) { 693 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker) {
691 } 694 }
692 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker) { 695 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker) {
693 } 696 }
694 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { 697 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() {
695 } 698 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698