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

Side by Side Diff: src/utils/SkImageGeneratorUtils.h

Issue 1778613002: Remove SkImageGeneratorUtils. None of this code is used. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: CRLF fix Created 4 years, 9 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 | « gyp/utils.gypi ('k') | src/utils/SkImageGeneratorUtils.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef SkImageGeneratorUtils_DEFINED
9 #define SkImageGeneratorUtils_DEFINED
10
11 #include "SkImageGenerator.h"
12
13 class SkImage;
14
15 class SkImageGeneratorUtils {
16 public:
17 // Returns a generator of the specified dimensions, but will always fail to return anything
18 static SkImageGenerator* NewEmpty(const SkImageInfo&);
19
20 // If the bitmap is mutable, it will make a copy first
21 static SkImageGenerator* NewFromBitmap(const SkBitmap&);
22
23 // Ref's the provided texture, so it had better be const!
24 static SkImageGenerator* NewFromTexture(GrContext*, GrTexture*);
25
26 static SkImageGenerator* NewFromImage(const SkImage*);
27 };
28
29 #endif
OLDNEW
« no previous file with comments | « gyp/utils.gypi ('k') | src/utils/SkImageGeneratorUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698