Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp757 FloatRect cropWin = layer.geometry.boundaries; in setupLayerCropping() local
759 cropWin.left -= roundedCornersCrop.left; in setupLayerCropping()
760 cropWin.right -= roundedCornersCrop.left; in setupLayerCropping()
761 cropWin.top -= roundedCornersCrop.top; in setupLayerCropping()
762 cropWin.bottom -= roundedCornersCrop.top; in setupLayerCropping()
764 cropCoords[0] = vec2(cropWin.left, cropWin.top); in setupLayerCropping()
765 cropCoords[1] = vec2(cropWin.left, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
766 cropCoords[2] = vec2(cropWin.right, cropWin.top + cropWin.getHeight()); in setupLayerCropping()
767 cropCoords[3] = vec2(cropWin.right, cropWin.top); in setupLayerCropping()
770 return cropWin; in setupLayerCropping()