Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.cpp775 FloatRect cropWin = layer.geometry.boundaries; in setupLayerCropping() local
777 cropWin.left -= roundedCornersCrop.left; in setupLayerCropping()
778 cropWin.right -= roundedCornersCrop.left; in setupLayerCropping()
779 cropWin.top -= roundedCornersCrop.top; in setupLayerCropping()
780 cropWin.bottom -= roundedCornersCrop.top; in setupLayerCropping()
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()
788 return cropWin; in setupLayerCropping()