Commit ce5b3541 authored by clholgat@chromium.org's avatar clholgat@chromium.org

Support ARGB_8888 by default in GLHelperReadbackSupport

This is a work around for a driver bug on Galaxy Nexus

BUG=349667

Review URL: https://codereview.chromium.org/184103037

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255386 0039d316-1c4b-4281-b951-d872f2087c98
parent ac34b1b9
......@@ -37,7 +37,8 @@ void GLHelperReadbackSupport::CheckForReadbackSupport(
supports_format = SupportsFormat(GL_RGB, GL_UNSIGNED_SHORT_5_6_5);
break;
case SkBitmap::kARGB_8888_Config:
supports_format = SupportsFormat(GL_RGBA, GL_UNSIGNED_BYTE);
// This is the baseline, assume always true.
supports_format = true;
break;
case SkBitmap::kARGB_4444_Config:
supports_format = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment