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 | 719 Mesh::VertexArray<vec2> cropCoords(mesh.getCropCoordArray<vec2>()); in setupLayerCropping() local 720 cropCoords[0] = vec2(cropWin.left, cropWin.top); in setupLayerCropping() 721 cropCoords[1] = vec2(cropWin.left, cropWin.top + cropWin.getHeight()); in setupLayerCropping() 722 cropCoords[2] = vec2(cropWin.right, cropWin.top + cropWin.getHeight()); in setupLayerCropping() 723 cropCoords[3] = vec2(cropWin.right, cropWin.top); in setupLayerCropping() 1150 glEnableVertexAttribArray(Program::cropCoords); in drawMesh() 1151 glVertexAttribPointer(Program::cropCoords, mesh.getVertexSize(), GL_FLOAT, GL_FALSE, in drawMesh() 1278 glDisableVertexAttribArray(Program::cropCoords); in drawMesh()
|
D | Program.cpp | 39 glBindAttribLocation(programId, cropCoords, "cropCoords"); in Program()
|