| 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 |
| 10 #include "GrGLContext.h" | 11 #include "GrGLContext.h" |
| 11 #include "SkTSearch.h" | 12 #include "SkTSearch.h" |
| 12 #include "SkTSort.h" | 13 #include "SkTSort.h" |
| 13 | 14 |
| 14 GrGLCaps::GrGLCaps() { | 15 GrGLCaps::GrGLCaps() { |
| 15 this->reset(); | 16 this->reset(); |
| 16 } | 17 } |
| 17 | 18 |
| 18 void GrGLCaps::reset() { | 19 void GrGLCaps::reset() { |
| 19 INHERITED::reset(); | 20 INHERITED::reset(); |
| (...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 r.appendf("Two Format Limit: %s\n", (fTwoFormatLimit ? "YES": "NO")); | 866 r.appendf("Two Format Limit: %s\n", (fTwoFormatLimit ? "YES": "NO")); |
| 866 r.appendf("Fragment coord conventions support: %s\n", | 867 r.appendf("Fragment coord conventions support: %s\n", |
| 867 (fFragCoordsConventionSupport ? "YES": "NO")); | 868 (fFragCoordsConventionSupport ? "YES": "NO")); |
| 868 r.appendf("Vertex array object support: %s\n", (fVertexArrayObjectSupport ?
"YES": "NO")); | 869 r.appendf("Vertex array object support: %s\n", (fVertexArrayObjectSupport ?
"YES": "NO")); |
| 869 r.appendf("Use non-VBO for dynamic data: %s\n", | 870 r.appendf("Use non-VBO for dynamic data: %s\n", |
| 870 (fUseNonVBOVertexAndIndexDynamicData ? "YES" : "NO")); | 871 (fUseNonVBOVertexAndIndexDynamicData ? "YES" : "NO")); |
| 871 r.appendf("Full screen clear is free: %s\n", (fFullClearIsFree ? "YES" : "NO
")); | 872 r.appendf("Full screen clear is free: %s\n", (fFullClearIsFree ? "YES" : "NO
")); |
| 872 r.appendf("Drops tile on zero divide: %s\n", (fDropsTileOnZeroDivide ? "YES"
: "NO")); | 873 r.appendf("Drops tile on zero divide: %s\n", (fDropsTileOnZeroDivide ? "YES"
: "NO")); |
| 873 return r; | 874 return r; |
| 874 } | 875 } |
| OLD | NEW |