Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/renderfright/gl/
DProgram.h47 cropCoords = 2, enumerator
DProgram.cpp39 glBindAttribLocation(programId, cropCoords, "cropCoords"); in Program()
DGLESRenderEngine.cpp781 Mesh::VertexArray<vec2> cropCoords(mesh.getCropCoordArray<vec2>()); in setupLayerCropping() local
782 cropCoords[0] = vec2(cropWin.left, cropWin.top); in setupLayerCropping()
783 cropCoords[1] = vec2(cropWin.left, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
784 cropCoords[2] = vec2(cropWin.right, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
785 cropCoords[3] = vec2(cropWin.right, cropWin.top); in setupLayerCropping()
1347 glEnableVertexAttribArray(Program::cropCoords); in drawMesh()
1348 glVertexAttribPointer(Program::cropCoords, mesh.getVertexSize(), GL_FLOAT, GL_FALSE, in drawMesh()
1483 glDisableVertexAttribArray(Program::cropCoords); in drawMesh()