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

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

Issue 4873002: Benchmark tool for GPU-accelerated video rendering (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 10 years, 1 month 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/tools/shader_bench/window.h ('k') | media/tools/shader_bench/window_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/shader_bench/window.cc
diff --git a/media/tools/shader_bench/window.cc b/media/tools/shader_bench/window.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b14a4c7bf4a1311c078abc4b264e06c40cae5d92
--- /dev/null
+++ b/media/tools/shader_bench/window.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2010 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.
+
+#include "media/tools/shader_bench/window.h"
+
+#include "base/task.h"
+
+namespace media {
+
+Window::Window(int width, int height)
+ : done_task_(NULL),
+ painter_(NULL),
+ limit_(0),
+ count_(0),
+ running_(false) {
+ window_handle_ = CreateNativeWindow(width, height);
+}
+
+} // namespace media
« no previous file with comments | « media/tools/shader_bench/window.h ('k') | media/tools/shader_bench/window_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698