Searched defs:ETC1Texture (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1Util.java | 65 int fallbackFormat, int fallbackType, ETC1Texture texture) { 116 public static class ETC1Texture { class in class:ETC1Util 117 public ETC1Texture(int width, int height, ByteBuffer data) { method in class:ETC1Util.ETC1Texture 147 * Create a new ETC1Texture from an input stream containing a PKM formatted compressed texture. 149 * @return an ETC1Texture read from the input stream. 152 public static ETC1Texture createTexture(InputStream input) throws IOException { 180 return new ETC1Texture(width, height, dataBuffer); 184 * Helper function that compresses an image into an ETC1Texture. 192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ 197 return new ETC1Texture(widt [all...] |
Completed in 1173 milliseconds