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

Side by Side Diff: gpu/ipc/client/gpu_in_process_context_tests.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
« no previous file with comments | « gpu/ipc/BUILD.gn ('k') | gpu/ipc/gl_in_process_context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdio.h> 5 #include <stdio.h>
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/threading/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "gpu/command_buffer/client/gl_in_process_context.h"
14 #include "gpu/command_buffer/client/gles2_implementation.h" 13 #include "gpu/command_buffer/client/gles2_implementation.h"
15 #include "gpu/command_buffer/client/shared_memory_limits.h" 14 #include "gpu/command_buffer/client/shared_memory_limits.h"
15 #include "gpu/ipc/gl_in_process_context.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/gl/gl_surface.h" 17 #include "ui/gl/gl_surface.h"
18 18
19 namespace { 19 namespace {
20 20
21 class ContextTestBase : public testing::Test { 21 class ContextTestBase : public testing::Test {
22 public: 22 public:
23 void SetUp() override { 23 void SetUp() override {
24 gpu::gles2::ContextCreationAttribHelper attributes; 24 gpu::gles2::ContextCreationAttribHelper attributes;
25 attributes.alpha_size = 8; 25 attributes.alpha_size = 8;
(...skipping 28 matching lines...) Expand all
54 54
55 private: 55 private:
56 std::unique_ptr<gpu::GLInProcessContext> context_; 56 std::unique_ptr<gpu::GLInProcessContext> context_;
57 }; 57 };
58 58
59 } // namespace 59 } // namespace
60 60
61 // Include the actual tests. 61 // Include the actual tests.
62 #define CONTEXT_TEST_F TEST_F 62 #define CONTEXT_TEST_F TEST_F
63 #include "gpu/ipc/client/gpu_context_tests.h" 63 #include "gpu/ipc/client/gpu_context_tests.h"
OLDNEW
« no previous file with comments | « gpu/ipc/BUILD.gn ('k') | gpu/ipc/gl_in_process_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698