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

Side by Side Diff: gpu/ipc/service/gpu_channel_test_common.h

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "gpu/command_buffer/service/gpu_preferences.h" 9 #include "gpu/command_buffer/service/gpu_preferences.h"
10 #include "gpu/ipc/service/gpu_channel.h" 10 #include "gpu/ipc/service/gpu_channel.h"
(...skipping 17 matching lines...) Expand all
28 class SyncPointManager; 28 class SyncPointManager;
29 29
30 class TestGpuChannelManagerDelegate : public GpuChannelManagerDelegate { 30 class TestGpuChannelManagerDelegate : public GpuChannelManagerDelegate {
31 public: 31 public:
32 TestGpuChannelManagerDelegate(); 32 TestGpuChannelManagerDelegate();
33 ~TestGpuChannelManagerDelegate() override; 33 ~TestGpuChannelManagerDelegate() override;
34 34
35 private: 35 private:
36 // GpuChannelManagerDelegate implementation: 36 // GpuChannelManagerDelegate implementation:
37 void SetActiveURL(const GURL& url) override; 37 void SetActiveURL(const GURL& url) override;
38 void AddSubscription(int32_t client_id, unsigned int target) override;
39 void DidCreateOffscreenContext(const GURL& active_url) override; 38 void DidCreateOffscreenContext(const GURL& active_url) override;
40 void DidDestroyChannel(int client_id) override; 39 void DidDestroyChannel(int client_id) override;
41 void DidDestroyOffscreenContext(const GURL& active_url) override; 40 void DidDestroyOffscreenContext(const GURL& active_url) override;
42 void DidLoseContext(bool offscreen, 41 void DidLoseContext(bool offscreen,
43 error::ContextLostReason reason, 42 error::ContextLostReason reason,
44 const GURL& active_url) override; 43 const GURL& active_url) override;
45 void GpuMemoryUmaStats(const GPUMemoryUmaStats& params) override; 44 void GpuMemoryUmaStats(const GPUMemoryUmaStats& params) override;
46 void RemoveSubscription(int32_t client_id, unsigned int target) override;
47 void StoreShaderToDisk(int32_t client_id, 45 void StoreShaderToDisk(int32_t client_id,
48 const std::string& key, 46 const std::string& key,
49 const std::string& shader) override; 47 const std::string& shader) override;
50 #if defined(OS_MACOSX) 48 #if defined(OS_MACOSX)
51 void SendAcceleratedSurfaceBuffersSwapped( 49 void SendAcceleratedSurfaceBuffersSwapped(
52 int32_t surface_id, 50 int32_t surface_id,
53 CAContextID ca_context_id, 51 CAContextID ca_context_id,
54 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, 52 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
55 const gfx::Size& size, 53 const gfx::Size& size,
56 float scale_factor, 54 float scale_factor,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 private: 125 private:
128 GpuPreferences gpu_preferences_; 126 GpuPreferences gpu_preferences_;
129 scoped_refptr<base::TestSimpleTaskRunner> task_runner_; 127 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
130 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_; 128 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_;
131 std::unique_ptr<SyncPointManager> sync_point_manager_; 129 std::unique_ptr<SyncPointManager> sync_point_manager_;
132 std::unique_ptr<TestGpuChannelManagerDelegate> channel_manager_delegate_; 130 std::unique_ptr<TestGpuChannelManagerDelegate> channel_manager_delegate_;
133 std::unique_ptr<GpuChannelManager> channel_manager_; 131 std::unique_ptr<GpuChannelManager> channel_manager_;
134 }; 132 };
135 133
136 } // namespace gpu 134 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager_unittest.cc ('k') | gpu/ipc/service/gpu_channel_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698