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

Unified Diff: cc/resources/resource_format.h

Issue 2020993004: Implement TransferableResource StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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 | « cc/raster/raster_buffer_provider.cc ('k') | cc/resources/resource_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index 901632c04cc71abfd3647767af9f6f700e0b34d7..577076f18979a87ee2700ffb449a7dd77b3f5d87 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -7,7 +7,6 @@
#include "base/logging.h"
#include "cc/base/cc_export.h"
-#include "third_party/skia/include/core/SkImageInfo.h"
#include "ui/gfx/gpu_memory_buffer.h"
// TODO(prashant.n): Including third_party/khronos/GLES2/gl2.h causes
@@ -31,8 +30,6 @@ enum ResourceFormat {
RESOURCE_FORMAT_MAX = LUMINANCE_F16,
};
-SkColorType ResourceFormatToClosestSkColorType(ResourceFormat format);
-
CC_EXPORT int BitsPerPixel(ResourceFormat format);
CC_EXPORT GLenum GLDataType(ResourceFormat format);
CC_EXPORT GLenum GLDataFormat(ResourceFormat format);
« no previous file with comments | « cc/raster/raster_buffer_provider.cc ('k') | cc/resources/resource_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698