Searched refs:stride (Results 1 – 3 of 3) sorted by relevance
/development/tools/etc1tool/ |
D | etc1tool.cpp | 145 png_uint_32 stride = 0; in read_PNG_File() local 200 stride = 3 * width; in read_PNG_File() 202 pSourceImage = new etc1_byte[stride * height]; in read_PNG_File() 209 memcpy(pSourceImage + y * stride, row_pointers[y], stride); in read_PNG_File() 244 png_uint_32 stride = 0; in readPKMFile() local 283 stride = width * 3; in readPKMFile() 284 pImageData = new png_byte[stride * height]; in readPKMFile() 290 etc1_decode_image(pEncodedData, pImageData, width, height, 3, stride); in readPKMFile()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | CompressedTextureActivity.java | 135 int stride = 3 * width; in createImage() local 136 ByteBuffer image = ByteBuffer.allocateDirect(height * stride) in createImage() 146 image.position(stride*y+x*3); in createImage()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | MatrixTrackingGL.java | 142 public void glColorPointer(int size, int type, int stride, Buffer pointer) { in glColorPointer() argument 143 mgl.glColorPointer(size, type, stride, pointer); in glColorPointer() 486 public void glNormalPointer(int type, int stride, Buffer pointer) { in glNormalPointer() argument 487 mgl.glNormalPointer(type, stride, pointer); in glNormalPointer() 594 int stride, Buffer pointer) { in glTexCoordPointer() argument 595 mgl.glTexCoordPointer(size, type, stride, pointer); in glTexCoordPointer() 665 int stride, Buffer pointer) { in glVertexPointer() argument 666 mgl.glVertexPointer(size, type, stride, pointer); in glVertexPointer() 941 public void glPointSizePointerOES(int type, int stride, Buffer pointer) { in glPointSizePointerOES() argument 977 public void glColorPointer(int size, int type, int stride, int offset) { in glColorPointer() argument [all …]
|