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

Side by Side Diff: src/gpu/gl/debug/GrGLCreateDebugInterface.cpp

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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/SkNullGLContext.cpp ('k') | src/gpu/glsl/GrGLSLCaps.h » ('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 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "gl/GrGLInterface.h" 10 #include "gl/GrGLInterface.h"
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 SkFAIL("Unexpected value to glGetBufferParamateriv"); 774 SkFAIL("Unexpected value to glGetBufferParamateriv");
775 break; 775 break;
776 } 776 }
777 }; 777 };
778 } // end of namespace 778 } // end of namespace
779 779
780 //////////////////////////////////////////////////////////////////////////////// 780 ////////////////////////////////////////////////////////////////////////////////
781 struct GrDebugGLInterface : public GrGLInterface { 781 struct GrDebugGLInterface : public GrGLInterface {
782 782
783 public: 783 public:
784 SK_DECLARE_INST_COUNT(GrDebugGLInterface) 784
785 785
786 GrDebugGLInterface() 786 GrDebugGLInterface()
787 : fWrapped(NULL) { 787 : fWrapped(NULL) {
788 GrDebugGL::staticRef(); 788 GrDebugGL::staticRef();
789 } 789 }
790 790
791 virtual ~GrDebugGLInterface() { 791 virtual ~GrDebugGLInterface() {
792 GrDebugGL::staticUnRef(); 792 GrDebugGL::staticUnRef();
793 } 793 }
794 794
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 980 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
981 981
982 functions->fBindFragDataLocationIndexed = 982 functions->fBindFragDataLocationIndexed =
983 noOpGLBindFragDataLocationIndexed; 983 noOpGLBindFragDataLocationIndexed;
984 984
985 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 985 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
986 functions->fGetIntegerv); 986 functions->fGetIntegerv);
987 987
988 return interface; 988 return interface;
989 } 989 }
OLDNEW
« no previous file with comments | « src/gpu/gl/SkNullGLContext.cpp ('k') | src/gpu/glsl/GrGLSLCaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698