commit | ef49d533528742e7795c36fd717fd2b6a64c1627 | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Wed Feb 03 07:47:00 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 03 07:47:44 2016 |
tree | cc3e47dd97597d7a1d7243f8f76ed71e041c921c | |
parent | 5004faea8f7ca69923eb95b4f738f29cd814ab6f [diff] |
command_buffer_gles2: Avoid crashing for lack of JNI Do not use Java environment to detect device model when command buffer is built as a standalone library. EGL API can not be used to pass the JNI from client to the library, and the client might not be a Java application anyway. BUG=skia:2992 Review URL: https://codereview.chromium.org/1656223003 Cr-Commit-Position: refs/heads/master@{#373195}