Home
last modified time | relevance | path

Searched refs:texId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGLToolbox.java38 public static boolean isTexture(int texId) { in isTexture() argument
39 return GLES20.glIsTexture(texId); in isTexture()
42 public static void deleteTexture(int texId) { in deleteTexture() argument
43 int[] textures = new int[] { texId }; in deleteTexture()
93 public static void attachTextureToFbo(int texId, int fboId) { in attachTextureToFbo() argument
98 texId, in attachTextureToFbo()
103 public static void allocateTexturePixels(int texId, int target, int width, int height) { in allocateTexturePixels() argument
104 setTexturePixels(texId, target, (ByteBuffer)null, width, height); in allocateTexturePixels()
107 public static void setTexturePixels(int texId, int target, Bitmap bitmap) { in setTexturePixels() argument
108 GLES20.glBindTexture(target, texId); in setTexturePixels()
[all …]
DTextureSource.java32 public static TextureSource fromTexture(int texId, int target) { in fromTexture() argument
33 return new TextureSource(texId, target, false); in fromTexture()
36 public static TextureSource fromTexture(int texId) { in fromTexture() argument
37 return new TextureSource(texId, GLES20.GL_TEXTURE_2D, false); in fromTexture()
115 private TextureSource(int texId, int target, boolean isOwner) { in TextureSource() argument
116 mTexId = texId; in TextureSource()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterEffect.java85 protected Frame frameFromTexture(int texId, int width, int height) { in frameFromTexture() argument
92 texId); in frameFromTexture()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGLFrame.java126 private void initWithTexture(int texId) { in initWithTexture() argument
129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) { in initWithTexture()