| OLD | NEW | 
|---|
| 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  Loading... | 
| 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 } | 
| OLD | NEW | 
|---|