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

Unified Diff: services/ui/gpu/gpu_service.h

Issue 2753293003: gpu: Replace GpuMsg_CollectGraphicsInfo with mojom API. (Closed)
Patch Set: tot merge Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | services/ui/gpu/gpu_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service.h
diff --git a/services/ui/gpu/gpu_service.h b/services/ui/gpu/gpu_service.h
index 2742e4fa718262f9650318efe6910b3d41c21aeb..6834b9c5ce098826c22f6d49565c4e76a60ea771 100644
--- a/services/ui/gpu/gpu_service.h
+++ b/services/ui/gpu/gpu_service.h
@@ -84,7 +84,6 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
void set_start_time(base::Time start_time) { start_time_ = start_time; }
const gpu::GPUInfo& gpu_info() const { return gpu_info_; }
- void set_gpu_info(const gpu::GPUInfo& gpu_info) { gpu_info_ = gpu_info; }
private:
friend class GpuMain;
@@ -103,6 +102,8 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
return gpu_channel_manager_->share_group();
}
+ void UpdateGpuInfoPlatform();
+
// gpu::GpuChannelManagerDelegate:
void DidCreateOffscreenContext(const GURL& active_url) override;
void DidDestroyChannel(int client_id) override;
@@ -140,6 +141,8 @@ class GpuService : public gpu::GpuChannelManagerDelegate,
const gpu::SyncToken& sync_token) override;
void GetVideoMemoryUsageStats(
const GetVideoMemoryUsageStatsCallback& callback) override;
+ void RequestCompleteGpuInfo(
+ const RequestCompleteGpuInfoCallback& callback) override;
void LoadedShader(const std::string& data) override;
void DestroyingVideoSurface(
int32_t surface_id,
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | services/ui/gpu/gpu_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698