Searched refs:cropCoords (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/renderengine/gl/ |
D | Program.h | 47 cropCoords = 2 enumerator
|
D | GLESRenderEngine.cpp | 780 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()
|
D | Program.cpp | 39 glBindAttribLocation(programId, cropCoords, "cropCoords"); in Program()
|