| 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 #include "SkSurface_Base.h" | 8 #include "SkSurface_Base.h" |
| 9 #include "SkImagePriv.h" | 9 #include "SkImagePriv.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 220 |
| 221 ////////////////////////////////////////////////////////////////////////////////
////// | 221 ////////////////////////////////////////////////////////////////////////////////
////// |
| 222 | 222 |
| 223 #if !SK_SUPPORT_GPU | 223 #if !SK_SUPPORT_GPU |
| 224 | 224 |
| 225 sk_sp<SkSurface> SkSurface::MakeRenderTargetDirect(GrRenderTarget*, const SkSurf
aceProps*) { | 225 sk_sp<SkSurface> SkSurface::MakeRenderTargetDirect(GrRenderTarget*, const SkSurf
aceProps*) { |
| 226 return nullptr; | 226 return nullptr; |
| 227 } | 227 } |
| 228 | 228 |
| 229 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext*, SkBudgeted, const SkIma
geInfo&, int, | 229 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext*, SkBudgeted, const SkIma
geInfo&, int, |
| 230 const SkSurfaceProps*, GrTextureSto
rageAllocator) { | 230 const SkSurfaceProps*) { |
| 231 return nullptr; | 231 return nullptr; |
| 232 } | 232 } |
| 233 | 233 |
| 234 sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext*, const GrBackendTe
xtureDesc&, | 234 sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext*, const GrBackendTe
xtureDesc&, |
| 235 const SkSurfaceProps*) { | 235 const SkSurfaceProps*) { |
| 236 return nullptr; | 236 return nullptr; |
| 237 } | 237 } |
| 238 | 238 |
| 239 sk_sp<SkSurface> SkSurface::MakeFromBackendRenderTarget(GrContext*, | 239 sk_sp<SkSurface> SkSurface::MakeFromBackendRenderTarget(GrContext*, |
| 240 const GrBackendRenderTar
getDesc&, | 240 const GrBackendRenderTar
getDesc&, |
| 241 const SkSurfaceProps*) { | 241 const SkSurfaceProps*) { |
| 242 return nullptr; | 242 return nullptr; |
| 243 } | 243 } |
| 244 | 244 |
| 245 sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext*, const GrBacken
dTextureDesc&, | 245 sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext*, const GrBacken
dTextureDesc&, |
| 246 const SkSurfaceProps*) { | 246 const SkSurfaceProps*) { |
| 247 return nullptr; | 247 return nullptr; |
| 248 } | 248 } |
| 249 | 249 |
| 250 #endif | 250 #endif |
| OLD | NEW |