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

Side by Side Diff: content/browser/devtools/protocol/system_info_handler.cc

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/devtools/protocol/system_info_handler.h" 5 #include "content/browser/devtools/protocol/system_info_handler.h"
6 6
7 #include "content/browser/gpu/compositor_util.h" 7 #include "content/browser/gpu/compositor_util.h"
8 #include "content/browser/gpu/gpu_data_manager_impl.h" 8 #include "content/browser/gpu/gpu_data_manager_impl.h"
9 #include "gpu/config/gpu_info.h" 9 #include "gpu/config/gpu_info.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void AddTimeDeltaInSecondsF(const char* name, 43 void AddTimeDeltaInSecondsF(const char* name,
44 const base::TimeDelta& value) override { 44 const base::TimeDelta& value) override {
45 if (in_aux_attributes_) 45 if (in_aux_attributes_)
46 dictionary_->SetDouble(name, value.InSecondsF()); 46 dictionary_->SetDouble(name, value.InSecondsF());
47 } 47 }
48 48
49 void BeginGPUDevice() override {} 49 void BeginGPUDevice() override {}
50 50
51 void EndGPUDevice() override {} 51 void EndGPUDevice() override {}
52 52
53 void BeginVideoDecodeAcceleratorSupportedProfile() override {}
54
55 void EndVideoDecodeAcceleratorSupportedProfile() override {}
56
53 void BeginVideoEncodeAcceleratorSupportedProfile() override {} 57 void BeginVideoEncodeAcceleratorSupportedProfile() override {}
54 58
55 void EndVideoEncodeAcceleratorSupportedProfile() override {} 59 void EndVideoEncodeAcceleratorSupportedProfile() override {}
56 60
57 void BeginAuxAttributes() override { 61 void BeginAuxAttributes() override {
58 in_aux_attributes_ = true; 62 in_aux_attributes_ = true;
59 } 63 }
60 64
61 void EndAuxAttributes() override { 65 void EndAuxAttributes() override {
62 in_aux_attributes_ = false; 66 in_aux_attributes_ = false;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ->set_devices(devices) 110 ->set_devices(devices)
107 ->set_aux_attributes(aux_attributes.Pass()) 111 ->set_aux_attributes(aux_attributes.Pass())
108 ->set_feature_status(make_scoped_ptr(GetFeatureStatus())) 112 ->set_feature_status(make_scoped_ptr(GetFeatureStatus()))
109 ->set_driver_bug_workarounds(GetDriverBugWorkarounds()); 113 ->set_driver_bug_workarounds(GetDriverBugWorkarounds());
110 return Response::OK(); 114 return Response::OK();
111 } 115 }
112 116
113 } // namespace system_info 117 } // namespace system_info
114 } // namespace devtools 118 } // namespace devtools
115 } // namespace content 119 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698