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

Unified Diff: gpu/config/gpu_info.h

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/test/gpu/gpu_tests/fake_win_amd_gpu_info.py ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info.h
diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h
index 73a6a9ea07afb970415f2af6f09fa62ab707634f..c35993cc3b46877efb7261bbcb3bc7c3d37308d8 100644
--- a/gpu/config/gpu_info.h
+++ b/gpu/config/gpu_info.h
@@ -119,10 +119,6 @@ struct GPU_EXPORT GPUInfo {
GPUInfo(const GPUInfo& other);
~GPUInfo();
- bool SupportsAccelerated2dCanvas() const {
- return !can_lose_context && !software_rendering;
- }
-
// The amount of time taken to get from the process starting to the message
// loop being pumped.
base::TimeDelta initialization_time;
@@ -209,10 +205,6 @@ struct GPU_EXPORT GPUInfo {
// reset detection or notification not available.
uint32_t gl_reset_notification_strategy;
- // The device semantics, i.e. whether the Vista and Windows 7 specific
- // semantics are available.
- bool can_lose_context;
-
bool software_rendering;
// Whether the driver uses direct rendering. True on most platforms, false on
« no previous file with comments | « content/test/gpu/gpu_tests/fake_win_amd_gpu_info.py ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698