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

Unified Diff: src/gpu/gl/GrGLUtil.cpp

Issue 2348293004: Disable framebuffer fetch on the Adreno5xx devices. (Closed)
Patch Set: Created 4 years, 3 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 | « src/gpu/gl/GrGLUtil.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLUtil.cpp
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp
index 490e5010514896e0855f673465de98730ede1eab..23544fee9affad4d8ec0e7f49359f843c59440dd 100644
--- a/src/gpu/gl/GrGLUtil.cpp
+++ b/src/gpu/gl/GrGLUtil.cpp
@@ -304,6 +304,9 @@ GrGLRenderer GrGLGetRendererFromString(const char* rendererString) {
if (adrenoNumber < 500) {
return kAdreno4xx_GrGLRenderer;
}
+ if (adrenoNumber < 600) {
+ return kAdreno5xx_GrGLRenderer;
+ }
}
}
if (strcmp("Mesa Offscreen", rendererString)) {
« no previous file with comments | « src/gpu/gl/GrGLUtil.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698