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

Unified Diff: media/tools/shader_bench/cpu_color_painter.cc

Issue 10024072: Cull unnecessary media::VideoFrame::Formats from the enum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: shader_bench builds after having RGBA experimental code ripped out. Created 8 years, 8 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 | « media/media.gyp ('k') | media/tools/shader_bench/gpu_color_painter_exp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/shader_bench/cpu_color_painter.cc
diff --git a/media/tools/shader_bench/cpu_color_painter.cc b/media/tools/shader_bench/cpu_color_painter.cc
index e8b7562d3aeb7f96b125aed21245a8e5fafe2423..d2dbc4ce600e78e014bd70f1c110d78ded8b705c 100644
--- a/media/tools/shader_bench/cpu_color_painter.cc
+++ b/media/tools/shader_bench/cpu_color_painter.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -64,9 +64,9 @@ void CPUColorPainter::Initialize(int width, int height) {
}
void CPUColorPainter::Paint(scoped_refptr<media::VideoFrame> video_frame) {
- // Convert to RGBA frame.
+ // Convert to RGB32 frame.
scoped_refptr<media::VideoFrame> rgba_frame =
- media::VideoFrame::CreateFrame(media::VideoFrame::RGBA,
+ media::VideoFrame::CreateFrame(media::VideoFrame::RGB32,
video_frame->width(),
video_frame->height(),
base::TimeDelta(),
« no previous file with comments | « media/media.gyp ('k') | media/tools/shader_bench/gpu_color_painter_exp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698