Home | History | Annotate | Download | only in opengl

Lines Matching refs:height

75         int height = texture.getHeight();
79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height,
85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height)
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border,
117 public ETC1Texture(int width, int height, ByteBuffer data) {
119 mHeight = height;
130 * Get the height of the texture in pixels.
154 int height = 0;
167 height = ETC1.getHeight(headerBuffer);
169 int encodedSize = ETC1.getEncodedDataSize(width, height);
180 return new ETC1Texture(width, height, dataBuffer);
187 * @param height the height of the image in pixels
192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){
193 int encodedImageSize = ETC1.getEncodedDataSize(width, height);
196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
197 return new ETC1Texture(width, height, compressedImage);
211 int height = texture.getHeight();
213 ETC1.formatHeader(header, width, height);
217 int encodedSize = ETC1.getEncodedDataSize(width, height);