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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 namespace DM { | 79 namespace DM { |
80 | 80 |
81 static const bool kGPUDisabled = true; | 81 static const bool kGPUDisabled = true; |
82 | 82 |
83 static inline SkSurface* NewGpuSurface(GrContextFactory*, | 83 static inline SkSurface* NewGpuSurface(GrContextFactory*, |
84 GrContextFactory::GLContextType, | 84 GrContextFactory::GLContextType, |
85 GrGLStandard, | 85 GrGLStandard, |
86 SkImageInfo, | 86 SkImageInfo, |
87 int, | 87 int, |
88 bool) { | 88 bool) { |
89 return NULL; | 89 return nullptr; |
90 } | 90 } |
91 | 91 |
92 } // namespace DM | 92 } // namespace DM |
93 | 93 |
94 #endif//SK_SUPPORT_GPU | 94 #endif//SK_SUPPORT_GPU |
95 | 95 |
96 #endif//DMGpuSupport_DEFINED | 96 #endif//DMGpuSupport_DEFINED |
OLD | NEW |