Check vendor and render string for Freedreno driver

There are quite a few GL context capability tracking for Qualcomm
Adreno device in GrGLCaps.cpp.  The vendor/render detecting functions
currently only check strings for Qualcomm vendor KGSL driver.  Let's
add check for Freedreno driver as well, so that those GL context
capability handling applies to both KGSL and Freedreno driver.  This
fixes some rendering corruption and performance issue on an A405 device
running Freedreno driver on Android.

Change-Id: I98744725490d9941465238434a6574c03dc66963
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/306746
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
1 file changed