| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2014 Google Inc. | 2  * Copyright 2014 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 #ifndef DMGpuSupport_DEFINED | 8 #ifndef DMGpuSupport_DEFINED | 
| 9 #define DMGpuSupport_DEFINED | 9 #define DMGpuSupport_DEFINED | 
| 10 | 10 | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50 static const int kGrGLStandardCnt = 3; | 50 static const int kGrGLStandardCnt = 3; | 
| 51 | 51 | 
| 52 class GrContext { | 52 class GrContext { | 
| 53 public: | 53 public: | 
| 54     void dumpCacheStats(SkString*) const {} | 54     void dumpCacheStats(SkString*) const {} | 
| 55     void dumpGpuStats(SkString*) const {} | 55     void dumpGpuStats(SkString*) const {} | 
| 56 }; | 56 }; | 
| 57 | 57 | 
| 58 struct GrContextOptions { | 58 struct GrContextOptions { | 
| 59     bool fImmediateMode; | 59     bool fImmediateMode; | 
|  | 60     bool fClipBatchToBounds; | 
| 60 }; | 61 }; | 
| 61 | 62 | 
| 62 class GrContextFactory { | 63 class GrContextFactory { | 
| 63 public: | 64 public: | 
| 64     GrContextFactory() {}; | 65     GrContextFactory() {}; | 
| 65     explicit GrContextFactory(const GrContextOptions&) {} | 66     explicit GrContextFactory(const GrContextOptions&) {} | 
| 66 | 67 | 
| 67     typedef int GLContextType; | 68     typedef int GLContextType; | 
| 68 | 69 | 
| 69     static const GLContextType kANGLE_GLContextType         = 0, | 70     static const GLContextType kANGLE_GLContextType         = 0, | 
| (...skipping 21 matching lines...) Expand all  Loading... | 
| 91                                        int, | 92                                        int, | 
| 92                                        bool) { | 93                                        bool) { | 
| 93     return nullptr; | 94     return nullptr; | 
| 94 } | 95 } | 
| 95 | 96 | 
| 96 }  // namespace DM | 97 }  // namespace DM | 
| 97 | 98 | 
| 98 #endif//SK_SUPPORT_GPU | 99 #endif//SK_SUPPORT_GPU | 
| 99 | 100 | 
| 100 #endif//DMGpuSupport_DEFINED | 101 #endif//DMGpuSupport_DEFINED | 
| OLD | NEW | 
|---|