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

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

Issue 1720963002: Include glGetMultisamplefv API (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: bug Created 4 years, 10 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/GrGLNoOpInterface.h ('k') | src/gpu/gl/SkNullGLContext.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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 GrGLsizei* length, 554 GrGLsizei* length,
555 char* infolog) { 555 char* infolog) {
556 if (length) { 556 if (length) {
557 *length = 0; 557 *length = 0;
558 } 558 }
559 if (bufsize > 0) { 559 if (bufsize > 0) {
560 *infolog = 0; 560 *infolog = 0;
561 } 561 }
562 } 562 }
563 563
564 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetMultisamplefv(GrGLenum pname,
565 GrGLuint index,
566 GrGLfloat* val) {
567 val[0] = val[1] = 0.5f;
568 }
569
564 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetShaderOrProgramiv(GrGLuint program, 570 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLGetShaderOrProgramiv(GrGLuint program,
565 GrGLenum pname, 571 GrGLenum pname,
566 GrGLint* params) { 572 GrGLint* params) {
567 switch (pname) { 573 switch (pname) {
568 case GR_GL_LINK_STATUS: // fallthru 574 case GR_GL_LINK_STATUS: // fallthru
569 case GR_GL_COMPILE_STATUS: 575 case GR_GL_COMPILE_STATUS:
570 *params = GR_GL_TRUE; 576 *params = GR_GL_TRUE;
571 break; 577 break;
572 case GR_GL_INFO_LOG_LENGTH: 578 case GR_GL_INFO_LOG_LENGTH:
573 *params = 0; 579 *params = 0;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 static int gUniLocation = 0; 686 static int gUniLocation = 0;
681 return ++gUniLocation; 687 return ++gUniLocation;
682 } 688 }
683 689
684 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker) { 690 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLInsertEventMarker(GrGLsizei length, const cha r* marker) {
685 } 691 }
686 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker) { 692 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPushGroupMarker(GrGLsizei length , const cha r* marker) {
687 } 693 }
688 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() { 694 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLPopGroupMarker() {
689 } 695 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLNoOpInterface.h ('k') | src/gpu/gl/SkNullGLContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698