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

Unified Diff: media/gpu/rendering_helper.h

Issue 2927893002: Remove FORMAT_RGB from gfx::PngCodec (Closed)
Patch Set: Response to comments Created 3 years, 6 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 | « no previous file | media/gpu/rendering_helper.cc » ('j') | media/gpu/rendering_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/rendering_helper.h
diff --git a/media/gpu/rendering_helper.h b/media/gpu/rendering_helper.h
index 03c15be9b8dc57618ba71bb5a5b39213a9293f01..54dcbed0af7dec8ae3e59a9076940271f4114f00 100644
--- a/media/gpu/rendering_helper.h
+++ b/media/gpu/rendering_helper.h
@@ -139,11 +139,9 @@ class RenderingHelper {
// Get the GL context.
gl::GLContext* GetGLContext();
- // Get rendered thumbnails as RGB.
- // Sets alpha_solid to true if the alpha channel is entirely 0xff.
- void GetThumbnailsAsRGB(std::vector<unsigned char>* rgb,
- bool* alpha_solid,
- base::WaitableEvent* done);
+ // Get rendered thumbnails as RGBA.
+ void GetThumbnailsAsRGBA(std::vector<unsigned char>* rgba,
+ base::WaitableEvent* done);
private:
struct RenderedVideo {
« no previous file with comments | « no previous file | media/gpu/rendering_helper.cc » ('j') | media/gpu/rendering_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698