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

Unified Diff: ui/gl/gl_image.cc

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 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 | « ui/gl/gl_image.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image.cc
diff --git a/ui/gl/gl_image.cc b/ui/gl/gl_image.cc
index 8525c6c95b902454a1ec7b6a1670ebfc293532b0..49cff2f803c2f8e4cc141401ad02cbee5a9fa568 100644
--- a/ui/gl/gl_image.cc
+++ b/ui/gl/gl_image.cc
@@ -19,4 +19,8 @@ GLImage::Type GLImage::GetType() const {
return Type::NONE;
}
+void GLImage::SetColorSpaceForScanout(const gfx::ColorSpace& color_space) {
+ color_space_ = color_space;
+}
+
} // namespace gl
« no previous file with comments | « ui/gl/gl_image.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698