| Index: services/ui/gpu/gpu_service.h
|
| diff --git a/services/ui/gpu/gpu_service.h b/services/ui/gpu/gpu_service.h
|
| index 9faf51350aeb93401de147f8bf8d0db7c376d145..65253164e6b6ac3b2ebf2cad070d9e7d1315ca57 100644
|
| --- a/services/ui/gpu/gpu_service.h
|
| +++ b/services/ui/gpu/gpu_service.h
|
| @@ -75,9 +75,17 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
|
| return gpu_feature_info_;
|
| }
|
|
|
| + void set_in_host_process(bool in_host_process) {
|
| + in_host_process_ = in_host_process;
|
| + }
|
| +
|
| private:
|
| friend class GpuMain;
|
|
|
| + void RecordLogMessage(int severity,
|
| + size_t message_start,
|
| + const std::string& message);
|
| +
|
| gpu::SyncPointManager* sync_point_manager() { return sync_point_manager_; }
|
|
|
| gpu::gles2::MailboxManager* mailbox_manager() {
|
| @@ -164,6 +172,9 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
|
| std::unique_ptr<gpu::SyncPointManager> owned_sync_point_manager_;
|
| gpu::SyncPointManager* sync_point_manager_ = nullptr;
|
|
|
| + // Whether this is running in the same process as the gpu host.
|
| + bool in_host_process_ = false;
|
| +
|
| mojo::BindingSet<mojom::GpuService> bindings_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuService);
|
|
|