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

Unified Diff: media/base/video_frame.h

Issue 11043002: ReadPixels from known-usable textures, and give SkBitmap its precious BGRA. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: BGRA for all! Created 8 years, 2 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 | « content/renderer/media/renderer_gpu_video_decoder_factories.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index 9d16d2cf89fc005025ea299fbad00f8e9d31584e..1357db38dbfe288461655ee6436b01fb741fab03 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -76,7 +76,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
const base::Closure& no_longer_needed);
// Read pixels from the native texture backing |*this| and write
- // them to |*pixels| as RGBA. |pixels| must point to a buffer at
+ // them to |*pixels| as BGRA. |pixels| must point to a buffer at
// least as large as 4*data_size().width()*data_size().height().
void ReadPixelsFromNativeTexture(void* pixels);
« no previous file with comments | « content/renderer/media/renderer_gpu_video_decoder_factories.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698