Home
last modified time | relevance | path

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

/packages/services/Car/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/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/surround_view/service-impl/
DObjReader.cpp55 int vertexId, int textureId, int normalId, CarVertex* carVertex) { in CopyFaceToCarVertex() argument
59 if (textureId != -1) { in CopyFaceToCarVertex()
60 std::memcpy(carVertex->tex_coord.data(), currentTextures[textureId - 1].data(), in CopyFaceToCarVertex()
212 int textureId[kNumberOfVerticesPerFace] = {-1, -1, -1}; in ReadObjFromFile() local
230 matches = fscanf(file, "%d/%d %d/%d/%d", &textureId[0], &normalId[0], &vertexId[1], in ReadObjFromFile()
231 &textureId[1], &normalId[1]); in ReadObjFromFile()
251 textureId[0], normalId[0], &carVertices[0]); in ReadObjFromFile()
253 textureId[1], normalId[1], &carVertices[1]); in ReadObjFromFile()
260 matches = fscanf(file, " %d/%d/%d", &vertexId[2], &textureId[2], &normalId[2]); in ReadObjFromFile()
280 textureId[2], normalId[2], &carVertices[2]); in ReadObjFromFile()
DAnimationModule.h82 std::string textureId; member
/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()