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

Unified Diff: cc/resources/scoped_resource.h

Issue 2235623003: cc: Add gfx::ColorSpace to cc::ResourceProvider resource creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/resources/resource_provider_unittest.cc ('k') | cc/resources/scoped_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/scoped_resource.h
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h
index 80fd5e186a67f07fc75d32deb876a790cd213c74..13f1e98f534ce3c06aae2d3981dcd6ec9b8290a6 100644
--- a/cc/resources/scoped_resource.h
+++ b/cc/resources/scoped_resource.h
@@ -29,10 +29,12 @@ class CC_EXPORT ScopedResource : public Resource {
void Allocate(const gfx::Size& size,
ResourceProvider::TextureHint hint,
- ResourceFormat format);
+ ResourceFormat format,
+ const gfx::ColorSpace& color_space);
void AllocateWithGpuMemoryBuffer(const gfx::Size& size,
ResourceFormat format,
- gfx::BufferUsage usage);
+ gfx::BufferUsage usage,
+ const gfx::ColorSpace& color_space);
void Free();
protected:
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/resources/scoped_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698