Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: src/image/SkSurface.cpp

Issue 1886613003: Remove GrTextureStorageAllocator. This was added from Chromium but never used and not expected to b… (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/gl/GrGLTexture.cpp ('k') | src/image/SkSurface_Gpu.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLTexture.cpp ('k') | src/image/SkSurface_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698