summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_data_manager_impl.cc
diff options
context:
space:
mode:
authorzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-31 00:11:51 +0000
committerzmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-31 00:11:51 +0000
commita4cdbab0a6b3fe108efc74ec5bf579689d40bbed (patch)
treee23fd4a39c8f77ecf3bc1208a555618f14e49a98 /content/browser/gpu/gpu_data_manager_impl.cc
parent6d36f8ad4a7af6287ecc6e110c2b95f77c9c40e8 (diff)
downloadchromium_src-a4cdbab0a6b3fe108efc74ec5bf579689d40bbed.zip
chromium_src-a4cdbab0a6b3fe108efc74ec5bf579689d40bbed.tar.gz
chromium_src-a4cdbab0a6b3fe108efc74ec5bf579689d40bbed.tar.bz2
Add driver bug workarounds to about:gpu page.
Also, fixed a few issues in about:gpu 1) get rid of the multi-tab stuff - it's causing a Uncaught TypeError. 2) set the body margin correctly BUG=244576 TEST=about:gpu page with driver bug workarounds info R=gman@chromium.org, nduca@chromium.org Review URL: https://codereview.chromium.org/15650017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203274 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_data_manager_impl.cc')
-rw-r--r--content/browser/gpu/gpu_data_manager_impl.cc15
1 files changed, 13 insertions, 2 deletions
diff --git a/content/browser/gpu/gpu_data_manager_impl.cc b/content/browser/gpu/gpu_data_manager_impl.cc
index 87a34d2..ee91330 100644
--- a/content/browser/gpu/gpu_data_manager_impl.cc
+++ b/content/browser/gpu/gpu_data_manager_impl.cc
@@ -162,9 +162,20 @@ std::string GpuDataManagerImpl::GetBlacklistVersion() const {
return private_->GetBlacklistVersion();
}
-base::ListValue* GpuDataManagerImpl::GetBlacklistReasons() const {
+std::string GpuDataManagerImpl::GetDriverBugListVersion() const {
base::AutoLock auto_lock(lock_);
- return private_->GetBlacklistReasons();
+ return private_->GetDriverBugListVersion();
+}
+
+void GpuDataManagerImpl::GetBlacklistReasons(base::ListValue* reasons) const {
+ base::AutoLock auto_lock(lock_);
+ private_->GetBlacklistReasons(reasons);
+}
+
+void GpuDataManagerImpl::GetDriverBugWorkarounds(
+ base::ListValue* workarounds) const {
+ base::AutoLock auto_lock(lock_);
+ private_->GetDriverBugWorkarounds(workarounds);
}
void GpuDataManagerImpl::AddLogMessage(int level,