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

Unified Diff: cc/resources/resource_format.h

Issue 1351283003: Allow task pools to reason about transparency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index 79b815fcd297c73c1b922c98b608c2397c0be87e..d88d3d811d9c572ddeebb54f593245e801617f06 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -37,6 +37,7 @@ CC_EXPORT GLenum GLDataType(ResourceFormat format);
CC_EXPORT GLenum GLDataFormat(ResourceFormat format);
CC_EXPORT GLenum GLInternalFormat(ResourceFormat format);
CC_EXPORT gfx::BufferFormat BufferFormat(ResourceFormat format);
+CC_EXPORT ResourceFormat BufferFormatToResourceFormat(gfx::BufferFormat format);
reveman 2015/09/22 14:18:49 Can we add the resource format to the StagingBuffe
christiank 2015/09/23 12:29:11 Done.
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698