Index: content/gpu/gpu_info_collector_android.cc |
diff --git a/content/gpu/gpu_info_collector_android.cc b/content/gpu/gpu_info_collector_android.cc |
index 902bc8c0fc2ca69abc7acd6f3ab76c1147d01ea2..a190c9d8a78fe01cd51a3e7a1aed6dc3bf890d94 100644 |
--- a/content/gpu/gpu_info_collector_android.cc |
+++ b/content/gpu/gpu_info_collector_android.cc |
@@ -74,7 +74,8 @@ bool CollectBasicGraphicsInfo(content::GPUInfo* gpu_info) { |
bool is_arm = vendor.find("arm") != std::string::npos; |
bool is_qualcomm = vendor.find("qualcomm") != std::string::npos; |
bool is_mali_t604 = is_arm && renderer.find("mali-t604") != std::string::npos; |
- bool is_hisilicon = vendor.find("hisilicon") != std::string::npos; |
+ bool is_vivante = vendor.find("vivante") != std::string::npos; |
+ is_vivante |= vendor.find("hisilicon") != std::string::npos; |
base::android::BuildInfo* build_info = |
base::android::BuildInfo::GetInstance(); |
@@ -92,7 +93,7 @@ bool CollectBasicGraphicsInfo(content::GPUInfo* gpu_info) { |
// IMG: avoid context switching perf problems, crashes with share groups |
// Mali-T604: http://crbug.com/154715 |
// QualComm, NVIDIA: Crashes with share groups |
- if (is_hisilicon || is_img || is_mali_t604 || is_nexus7 |
+ if (is_vivante || is_img || is_mali_t604 || is_nexus7 |
|| (is_qualcomm && sdk_int != 16)) { |
CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableVirtualGLContexts); |