Descriptioncommand_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
Committed: https://crrev.com/ef49d533528742e7795c36fd717fd2b6a64c1627
Cr-Commit-Position: refs/heads/master@{#373195}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 8 (3 generated)
|