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