Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.cpp713 FloatRect cropWin = layer.geometry.boundaries; in setupLayerCropping() local
715 cropWin.left -= roundedCornersCrop.left; in setupLayerCropping()
716 cropWin.right -= roundedCornersCrop.left; in setupLayerCropping()
717 cropWin.top -= roundedCornersCrop.top; in setupLayerCropping()
718 cropWin.bottom -= roundedCornersCrop.top; in setupLayerCropping()
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()
726 return cropWin; in setupLayerCropping()