Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp116 static ImageDrawMode optimize_sample_area(const SkISize& image, const SkRect* origSrcRect, in optimize_sample_area() argument
122 SkRect src = origSrcRect ? *origSrcRect : srcBounds; in optimize_sample_area()
135 if (origSrcRect && !srcBounds.contains(src)) { in optimize_sample_area()
150 : (origSrcRect ? *origSrcRect : srcBounds)); in optimize_sample_area()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1942 GrSurfaceOrigin srcOrigin, const SkIRect& origSrcRect, in copySurfaceAsResolve() argument
1945 SkIRect srcRect = origSrcRect; in copySurfaceAsResolve()
1949 srcRect = {origSrcRect.fLeft, src->height() - origSrcRect.fBottom, in copySurfaceAsResolve()
1950 origSrcRect.fRight, src->height() - origSrcRect.fTop}; in copySurfaceAsResolve()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1984 GrSurfaceOrigin srcOrigin, const SkIRect& origSrcRect, in copySurfaceAsResolve() argument
1987 SkIRect srcRect = origSrcRect; in copySurfaceAsResolve()
1991 srcRect = {origSrcRect.fLeft, src->height() - origSrcRect.fBottom, in copySurfaceAsResolve()
1992 origSrcRect.fRight, src->height() - origSrcRect.fTop}; in copySurfaceAsResolve()