HomeSort by relevance Sort by last modified time
    Searched full:fallbacktype (Results 1 - 1 of 1) sorted by null

  /frameworks/base/opengl/java/android/opengl/
ETC1Util.java 39 * @param fallbackType the type to use if ETC1 texture compression is not supported.
46 int fallbackFormat, int fallbackType, InputStream input)
48 loadTexture(target, level, border, fallbackFormat, fallbackType, createTexture(input));
59 * @param fallbackType the type to use if ETC1 texture compression is not supported.
65 int fallbackFormat, int fallbackType, ETC1Texture texture) {
69 if (! (fallbackType == GLES10.GL_UNSIGNED_SHORT_5_6_5
70 || fallbackType == GLES10.GL_UNSIGNED_BYTE)) {
71 throw new IllegalArgumentException("Unsupported fallbackType");
82 boolean useShorts = fallbackType != GLES10.GL_UNSIGNED_BYTE;
89 fallbackFormat, fallbackType, decodedData)
    [all...]

Completed in 1052 milliseconds