Home
last modified time | relevance | path

Searched refs:cropCoords (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/renderengine/gl/
DProgram.h47 cropCoords = 2 enumerator
DGLESRenderEngine.cpp780 Mesh::VertexArray<vec2> cropCoords(mesh.getCropCoordArray<vec2>()); in setupLayerCropping() local
781 cropCoords[0] = vec2(cropWin.left, cropWin.top); in setupLayerCropping()
782 cropCoords[1] = vec2(cropWin.left, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
783 cropCoords[2] = vec2(cropWin.right, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
784 cropCoords[3] = vec2(cropWin.right, cropWin.top); in setupLayerCropping()
1214 glEnableVertexAttribArray(Program::cropCoords); in drawMesh()
1215 glVertexAttribPointer(Program::cropCoords, mesh.getVertexSize(), GL_FLOAT, GL_FALSE, in drawMesh()
1342 glDisableVertexAttribArray(Program::cropCoords); in drawMesh()
DProgram.cpp39 glBindAttribLocation(programId, cropCoords, "cropCoords"); in Program()