Searched refs:texId (Results 1 – 3 of 3) sorted by relevance
83 int texId = generateTexture(); in bitmapToTexture() local84 GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texId); in bitmapToTexture()86 return texId; in bitmapToTexture()89 public void releaseTexture(int texId) { in releaseTexture() argument91 textures[0] = texId; in releaseTexture()
146 int[] texId = new int[1]; in testSetBuffersTransform() local147 GLES20.glGenTextures(1, texId, 0); in testSetBuffersTransform()149 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testSetBuffersTransform()214 int[] texId = new int[1]; in testSetBuffersDataSpace() local215 GLES20.glGenTextures(1, texId, 0); in testSetBuffersDataSpace()217 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testSetBuffersDataSpace()330 int[] texId = new int[1]; in testTryAllocateBuffersDoesNotCrash() local331 GLES20.glGenTextures(1, texId, 0); in testTryAllocateBuffersDoesNotCrash()333 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testTryAllocateBuffersDoesNotCrash()
412 int texId = buffer.get(0); in createTexture() local415 GLES20.glBindTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES, texId); in createTexture()426 boolean isTexture = GLES20.glIsTexture(texId); in createTexture()428 throw new ItsException("Failed to create texture id. Returned texture id: " + texId); in createTexture()431 return texId; in createTexture()