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

Side by Side Diff: content/common/gpu/client/gl_helper_benchmark.cc

Issue 16046003: Move webkit/gpu into webkit/common/gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in content/common/gpu/client/gl_helper_* Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file looks like a unit test, but it contains benchmarks and test 5 // This file looks like a unit test, but it contains benchmarks and test
6 // utilities intended for manual evaluation of the scalers in 6 // utilities intended for manual evaluation of the scalers in
7 // gl_helper*. These tests produce output in the form of files and printouts, 7 // gl_helper*. These tests produce output in the form of files and printouts,
8 // but cannot really "fail". There is no point in making these tests part 8 // but cannot really "fail". There is no point in making these tests part
9 // of any test automation run. 9 // of any test automation run.
10 10
(...skipping 13 matching lines...) Expand all
24 #include "base/time.h" 24 #include "base/time.h"
25 #include "content/common/gpu/client/gl_helper.h" 25 #include "content/common/gpu/client/gl_helper.h"
26 #include "content/common/gpu/client/gl_helper_scaling.h" 26 #include "content/common/gpu/client/gl_helper_scaling.h"
27 #include "content/public/test/unittest_test_suite.h" 27 #include "content/public/test/unittest_test_suite.h"
28 #include "content/test/content_test_suite.h" 28 #include "content/test/content_test_suite.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
30 #include "third_party/skia/include/core/SkBitmap.h" 30 #include "third_party/skia/include/core/SkBitmap.h"
31 #include "third_party/skia/include/core/SkTypes.h" 31 #include "third_party/skia/include/core/SkTypes.h"
32 #include "ui/gfx/codec/png_codec.h" 32 #include "ui/gfx/codec/png_codec.h"
33 #include "ui/gl/gl_surface.h" 33 #include "ui/gl/gl_surface.h"
34 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" 34 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl. h"
35 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 35 #include "webkit/common/gpu/webgraphicscontext3d_in_process_impl.h"
36 36
37 #if defined(OS_MACOSX) 37 #if defined(OS_MACOSX)
38 #include "base/mac/scoped_nsautorelease_pool.h" 38 #include "base/mac/scoped_nsautorelease_pool.h"
39 #endif 39 #endif
40 40
41 #if defined(TOOLKIT_GTK) 41 #if defined(TOOLKIT_GTK)
42 #include "ui/gfx/gtk_util.h" 42 #include "ui/gfx/gtk_util.h"
43 #endif 43 #endif
44 44
45 namespace content { 45 namespace content {
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 #if defined(OS_MACOSX) 314 #if defined(OS_MACOSX)
315 base::mac::ScopedNSAutoreleasePool pool; 315 base::mac::ScopedNSAutoreleasePool pool;
316 #endif 316 #endif
317 #if defined(TOOLKIT_GTK) 317 #if defined(TOOLKIT_GTK)
318 gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); 318 gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess());
319 #endif 319 #endif
320 gfx::GLSurface::InitializeOneOff(); 320 gfx::GLSurface::InitializeOneOff();
321 321
322 return content::UnitTestTestSuite(suite).Run(); 322 return content::UnitTestTestSuite(suite).Run();
323 } 323 }
OLDNEW
« no previous file with comments | « content/common/gpu/client/context_provider_command_buffer.cc ('k') | content/common/gpu/client/gl_helper_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698