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

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

Issue 98703002: Fix compilation with SK_ENABLE_INST_COUNT=1 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | « src/gpu/GrTexture.cpp ('k') | src/gpu/gl/GrGLInterface.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 2012 Google Inc. 2 * Copyright 2012 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 8
9 #include "GrGLCaps.h" 9 #include "GrGLCaps.h"
10 #include "GrGLContext.h" 10 #include "GrGLContext.h"
11 #include "SkTSearch.h" 11 #include "SkTSearch.h"
12 #include "SkTSort.h" 12 #include "SkTSort.h"
13 13
14 SK_DEFINE_INST_COUNT(GrGLCaps)
15
16 GrGLCaps::GrGLCaps() { 14 GrGLCaps::GrGLCaps() {
17 this->reset(); 15 this->reset();
18 } 16 }
19 17
20 void GrGLCaps::reset() { 18 void GrGLCaps::reset() {
21 INHERITED::reset(); 19 INHERITED::reset();
22 20
23 fVerifiedColorConfigs.reset(); 21 fVerifiedColorConfigs.reset();
24 fStencilFormats.reset(); 22 fStencilFormats.reset();
25 fStencilVerifiedColorConfigs.reset(); 23 fStencilVerifiedColorConfigs.reset();
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 r.appendf("Two Format Limit: %s\n", (fTwoFormatLimit ? "YES": "NO")); 651 r.appendf("Two Format Limit: %s\n", (fTwoFormatLimit ? "YES": "NO"));
654 r.appendf("Fragment coord conventions support: %s\n", 652 r.appendf("Fragment coord conventions support: %s\n",
655 (fFragCoordsConventionSupport ? "YES": "NO")); 653 (fFragCoordsConventionSupport ? "YES": "NO"));
656 r.appendf("Vertex array object support: %s\n", (fVertexArrayObjectSupport ? "YES": "NO")); 654 r.appendf("Vertex array object support: %s\n", (fVertexArrayObjectSupport ? "YES": "NO"));
657 r.appendf("Use non-VBO for dynamic data: %s\n", 655 r.appendf("Use non-VBO for dynamic data: %s\n",
658 (fUseNonVBOVertexAndIndexDynamicData ? "YES" : "NO")); 656 (fUseNonVBOVertexAndIndexDynamicData ? "YES" : "NO"));
659 r.appendf("Discard FrameBuffer support: %s\n", (fDiscardFBSupport ? "YES" : "NO")); 657 r.appendf("Discard FrameBuffer support: %s\n", (fDiscardFBSupport ? "YES" : "NO"));
660 r.appendf("Full screen clear is free: %s\n", (fFullClearIsFree ? "YES" : "NO ")); 658 r.appendf("Full screen clear is free: %s\n", (fFullClearIsFree ? "YES" : "NO "));
661 return r; 659 return r;
662 } 660 }
OLDNEW
« no previous file with comments | « src/gpu/GrTexture.cpp ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698