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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2261893003: Remove GpuInfo::can_lose_context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/browser/gpu/compositor_util.cc ('k') | content/test/gpu/gpu_tests/fake_win_amd_gpu_info.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 0cdfd84b860aa2141b9548c5541986068d8dcc8a..0694af95cc36968930437824a5db4210ec8ac078 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -685,7 +685,7 @@ bool RendererBlinkPlatformImpl::canAccelerate2dCanvas() {
if (!host)
return false;
- return host->gpu_info().SupportsAccelerated2dCanvas();
+ return !host->gpu_info().software_rendering;
}
bool RendererBlinkPlatformImpl::isThreadedCompositingEnabled() {
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | content/test/gpu/gpu_tests/fake_win_amd_gpu_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698