Home
last modified time | relevance | path

Searched refs:textureId (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/cpp/evs/apps/default/
DTexWrapper.cpp28 GLuint textureId; in TexWrapper() local
29 glGenTextures(1, &textureId); in TexWrapper()
30 if (textureId <= 0) { in TexWrapper()
34 id = textureId; in TexWrapper()
42 TexWrapper::TexWrapper(GLuint textureId, unsigned width, unsigned height) { in TexWrapper() argument
44 id = textureId; in TexWrapper()
173 GLuint textureId; in createTextureFromPng() local
174 glGenTextures(1, &textureId); in createTextureFromPng()
175 glBindTexture(GL_TEXTURE_2D, textureId); in createTextureFromPng()
197 return new TexWrapper(textureId, width, height); in createTextureFromPng()
DTexWrapper.h24 TexWrapper(GLuint textureId, unsigned width, unsigned height);
/packages/services/Car/cpp/evs/support_library/
DTexWrapper.cpp32 GLuint textureId; in TexWrapper() local
33 glGenTextures(1, &textureId); in TexWrapper()
34 if (textureId <= 0) { in TexWrapper()
38 id = textureId; in TexWrapper()
46 TexWrapper::TexWrapper(GLuint textureId, unsigned width, unsigned height) { in TexWrapper() argument
48 id = textureId; in TexWrapper()
177 GLuint textureId; in createTextureFromPng() local
178 glGenTextures(1, &textureId); in createTextureFromPng()
179 glBindTexture(GL_TEXTURE_2D, textureId); in createTextureFromPng()
201 return new TexWrapper(textureId, width, height); in createTextureFromPng()
DTexWrapper.h28 TexWrapper(GLuint textureId, unsigned width, unsigned height);
/packages/services/Car/service/src/com/android/car/pm/blurredbackground/
DBlurTextureProgram.java200 private void setupTextureForFramebuffer(int textureId) { in setupTextureForFramebuffer() argument
205 GLES30.GL_TEXTURE_2D, textureId, 0); in setupTextureForFramebuffer()
281 private void setupProgram(int programId, int textureId, int textureTarget) { in setupProgram() argument
288 GLES30.glBindTexture(textureTarget, textureId); in setupProgram()
DGLHelper.java87 int textureId = textureIdBuffer.get(0); in createAndBindTextureObject() local
89 GLES30.glBindTexture(textureTarget, textureId); in createAndBindTextureObject()
105 return textureId; in createAndBindTextureObject()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/jni/
DCarEvsCameraPreviewRenderer.cpp34 JNIEnv* env, jobject /*thiz*/, jobject hardwareBufferObj, jint textureId) { in nativeUpdateTexture() argument
63 glBindTexture(GL_TEXTURE_2D, textureId); in nativeUpdateTexture()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DGLES20CarEvsCameraPreviewRenderer.java364 private native boolean nUpdateTexture(HardwareBuffer buffer, int textureId); in nUpdateTexture() argument