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

Unified Diff: include/core/SkImageInfo.h

Issue 1404433002: Remove image usage type enum. Use GrTextureParams instead. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix no gpu build Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkImageGenerator.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageInfo.h
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h
index 0218a7431094048107d9817270124ce7a16fb83b..4b82ae6e2fb317cf2414cb09801d72efc26de423 100644
--- a/include/core/SkImageInfo.h
+++ b/include/core/SkImageInfo.h
@@ -16,23 +16,7 @@ class SkReadBuffer;
class SkWriteBuffer;
/**
- * This enum provides information about "how" an image will be used. For older GPUs that do not
- * support non-power-of-2 tiling, some routines need to know this information before they create
- * a texture.
- */
-enum SkImageUsageType {
- /* Image will not be tiled (regardless of filtering) */
- kUntiled_SkImageUsageType,
-
- /* Image will be tiled, but not filtered */
- kTiled_Unfiltered_SkImageUsageType,
-
- /* Image will be tiled and filtered */
- kTiled_Filtered_SkImageUsageType,
-};
-
-/**
- * Describes how to interpret the alpha compoent of a pixel.
+ * Describes how to interpret the alpha component of a pixel.
*/
enum SkAlphaType {
kUnknown_SkAlphaType,
« no previous file with comments | « include/core/SkImageGenerator.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698