commit | 4406345cd62d3687ce590c357854472f7f906e6c | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Thu Dec 01 11:27:45 2011 -0800 |
committer | Jesse Hall <jessehall@google.com> | Fri Dec 02 09:35:42 2011 -0800 |
tree | 1973d96a8ee0c21d82df97866fa1abe5d633badc | |
parent | 335c4e6cb2094c7cbd6039e0c7915702b69e7657 [diff] |
Disable GLES20Canvas on emu w/o native GL When the emulator is run without '-gpu on', GLES20 isn't supported, so claiming GLES20Canvas is available will lead to catastrophic failure. This change makes GLES20Canvas available when compiled in and either not running on the emulator, or running on the emulator with native GL acceleration enabled. Change-Id: I89c944f9e3c9585224f5aa0877335ea48ea4a468