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

Side by Side Diff: components/display_compositor/gl_helper_unittest.cc

Issue 2493913002: Mus: Move InProcessCommandBuffer and GLInProcessContext to gpu/ipc (Closed)
Patch Set: Fixed casts on windows Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <string.h> 8 #include <string.h>
9 #include <cmath> 9 #include <cmath>
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 #include "base/strings/stringprintf.h" 26 #include "base/strings/stringprintf.h"
27 #include "base/synchronization/waitable_event.h" 27 #include "base/synchronization/waitable_event.h"
28 #include "base/test/launcher/unit_test_launcher.h" 28 #include "base/test/launcher/unit_test_launcher.h"
29 #include "base/test/test_suite.h" 29 #include "base/test/test_suite.h"
30 #include "base/threading/thread_task_runner_handle.h" 30 #include "base/threading/thread_task_runner_handle.h"
31 #include "base/time/time.h" 31 #include "base/time/time.h"
32 #include "base/trace_event/trace_event.h" 32 #include "base/trace_event/trace_event.h"
33 #include "components/display_compositor/gl_helper.h" 33 #include "components/display_compositor/gl_helper.h"
34 #include "components/display_compositor/gl_helper_readback_support.h" 34 #include "components/display_compositor/gl_helper_readback_support.h"
35 #include "components/display_compositor/gl_helper_scaling.h" 35 #include "components/display_compositor/gl_helper_scaling.h"
36 #include "gpu/command_buffer/client/gl_in_process_context.h"
37 #include "gpu/command_buffer/client/gles2_implementation.h" 36 #include "gpu/command_buffer/client/gles2_implementation.h"
38 #include "gpu/command_buffer/client/shared_memory_limits.h" 37 #include "gpu/command_buffer/client/shared_memory_limits.h"
38 #include "gpu/ipc/gl_in_process_context.h"
39 #include "testing/gtest/include/gtest/gtest.h" 39 #include "testing/gtest/include/gtest/gtest.h"
40 #include "third_party/skia/include/core/SkBitmap.h" 40 #include "third_party/skia/include/core/SkBitmap.h"
41 #include "third_party/skia/include/core/SkTypes.h" 41 #include "third_party/skia/include/core/SkTypes.h"
42 #include "ui/gl/gl_implementation.h" 42 #include "ui/gl/gl_implementation.h"
43 43
44 namespace display_compositor { 44 namespace display_compositor {
45 45
46 display_compositor::GLHelper::ScalerQuality kQualities[] = { 46 display_compositor::GLHelper::ScalerQuality kQualities[] = {
47 display_compositor::GLHelper::SCALER_QUALITY_BEST, 47 display_compositor::GLHelper::SCALER_QUALITY_BEST,
48 display_compositor::GLHelper::SCALER_QUALITY_GOOD, 48 display_compositor::GLHelper::SCALER_QUALITY_GOOD,
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 } 1428 }
1429 } 1429 }
1430 } 1430 }
1431 1431
1432 TEST_F(GLHelperTest, CheckOptimizations) { 1432 TEST_F(GLHelperTest, CheckOptimizations) {
1433 // Test in baseclass since it is friends with GLHelperScaling 1433 // Test in baseclass since it is friends with GLHelperScaling
1434 CheckOptimizationsTest(); 1434 CheckOptimizationsTest();
1435 } 1435 }
1436 1436
1437 } // namespace display_compositor 1437 } // namespace display_compositor
OLDNEW
« no previous file with comments | « components/display_compositor/gl_helper_benchmark.cc ('k') | components/display_compositor/yuv_readback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698