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

Side by Side Diff: content/gpu/gpu_child_thread.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
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.cc » ('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 (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 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 gpu::GpuPreferences gpu_preferences() { return gpu_preferences_; } 82 gpu::GpuPreferences gpu_preferences() { return gpu_preferences_; }
83 83
84 private: 84 private:
85 // ChildThread overrides. 85 // ChildThread overrides.
86 bool Send(IPC::Message* msg) override; 86 bool Send(IPC::Message* msg) override;
87 bool OnControlMessageReceived(const IPC::Message& msg) override; 87 bool OnControlMessageReceived(const IPC::Message& msg) override;
88 bool OnMessageReceived(const IPC::Message& msg) override; 88 bool OnMessageReceived(const IPC::Message& msg) override;
89 89
90 // gpu::GpuChannelManagerDelegate implementation. 90 // gpu::GpuChannelManagerDelegate implementation.
91 void SetActiveURL(const GURL& url) override; 91 void SetActiveURL(const GURL& url) override;
92 void AddSubscription(int32_t client_id, unsigned int target) override;
93 void DidCreateOffscreenContext(const GURL& active_url) override; 92 void DidCreateOffscreenContext(const GURL& active_url) override;
94 void DidDestroyChannel(int client_id) override; 93 void DidDestroyChannel(int client_id) override;
95 void DidDestroyOffscreenContext(const GURL& active_url) override; 94 void DidDestroyOffscreenContext(const GURL& active_url) override;
96 void DidLoseContext(bool offscreen, 95 void DidLoseContext(bool offscreen,
97 gpu::error::ContextLostReason reason, 96 gpu::error::ContextLostReason reason,
98 const GURL& active_url) override; 97 const GURL& active_url) override;
99 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override; 98 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override;
100 void RemoveSubscription(int32_t client_id, unsigned int target) override;
101 #if defined(OS_MACOSX) 99 #if defined(OS_MACOSX)
102 void SendAcceleratedSurfaceBuffersSwapped( 100 void SendAcceleratedSurfaceBuffersSwapped(
103 int32_t surface_id, 101 int32_t surface_id,
104 CAContextID ca_context_id, 102 CAContextID ca_context_id,
105 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, 103 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
106 const gfx::Size& size, 104 const gfx::Size& size,
107 float scale_factor, 105 float scale_factor,
108 std::vector<ui::LatencyInfo> latency_info) override; 106 std::vector<ui::LatencyInfo> latency_info) override;
109 #endif 107 #endif
110 #if defined(OS_WIN) 108 #if defined(OS_WIN)
(...skipping 20 matching lines...) Expand all
131 129
132 #if defined(OS_MACOSX) 130 #if defined(OS_MACOSX)
133 void OnBufferPresented(const BufferPresentedParams& params); 131 void OnBufferPresented(const BufferPresentedParams& params);
134 #endif 132 #endif
135 void OnEstablishChannel(const EstablishChannelParams& params); 133 void OnEstablishChannel(const EstablishChannelParams& params);
136 void OnCloseChannel(int32_t client_id); 134 void OnCloseChannel(int32_t client_id);
137 void OnLoadedShader(const std::string& shader); 135 void OnLoadedShader(const std::string& shader);
138 void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id, 136 void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
139 int client_id, 137 int client_id,
140 const gpu::SyncToken& sync_token); 138 const gpu::SyncToken& sync_token);
141 void OnUpdateValueState(int client_id,
142 unsigned int target,
143 const gpu::ValueState& state);
144 #if defined(OS_ANDROID) 139 #if defined(OS_ANDROID)
145 void OnWakeUpGpu(); 140 void OnWakeUpGpu();
146 #endif 141 #endif
147 void OnLoseAllContexts(); 142 void OnLoseAllContexts();
148 143
149 void BindProcessControlRequest( 144 void BindProcessControlRequest(
150 mojo::InterfaceRequest<mojom::ProcessControl> request); 145 mojo::InterfaceRequest<mojom::ProcessControl> request);
151 146
152 gpu::GpuPreferences gpu_preferences_; 147 gpu::GpuPreferences gpu_preferences_;
153 148
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 181
187 // Bindings to the mojom::ProcessControl impl. 182 // Bindings to the mojom::ProcessControl impl.
188 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; 183 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_;
189 184
190 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 185 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
191 }; 186 };
192 187
193 } // namespace content 188 } // namespace content
194 189
195 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 190 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698