Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrNativeRect.h19 struct GrNativeRect { struct
25 static GrNativeRect MakeRelativeTo(GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) { in MakeRelativeTo() argument
26 GrNativeRect nativeRect; in MakeRelativeTo()
41 static_assert(0 == offsetof(GrNativeRect, fX)); in asInts() argument
42 static_assert(4 == offsetof(GrNativeRect, fY)); in asInts()
43 static_assert(8 == offsetof(GrNativeRect, fWidth)); in asInts()
44 static_assert(12 == offsetof(GrNativeRect, fHeight)); in asInts()
45 static_assert(16 == sizeof(GrNativeRect)); // For an array of GrNativeRect. in asInts()
88 bool operator ==(const GrNativeRect& that) const { argument
89 return 0 == memcmp(this, &that, sizeof(GrNativeRect));
[all …]
DGrCopyRenderTask.cpp69 *targetUpdateBounds = GrNativeRect::MakeIRectRelativeTo( in onMakeClosed()
87 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute()
DGrDrawingManager.cpp614 auto nativeRect = GrNativeRect::MakeIRectRelativeTo( in createDDLTask()
DGrOpsTask.cpp1057 *targetUpdateBounds = GrNativeRect::MakeIRectRelativeTo( in onMakeClosed()
/external/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp39 auto nativeBounds = GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), in onBegin()
57 auto nativeBounds = GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), in onEnd()
DGrGLGpu.h539 GrNativeRect fRect;
585 GrNativeRect fHWViewport;
DGrGLGpu.cpp1773 auto nativeScissor = GrNativeRect::MakeRelativeTo(rtOrigin, rtHeight, scissor); in flushScissorRect()
1782 auto nativeViewport = GrNativeRect::MakeRelativeTo(rtOrigin, rtHeight, viewport); in flushViewport()
1808 GrNativeRect glwindows[GrWindowRectangles::kMaxWindows]; in flushWindowRectangles()
1977 auto nativeBounds = GrNativeRect::MakeRelativeTo(origin, rt->height(), bounds); in beginCommandBuffer()
2136 GrNativeRect readRect = {left, top, width, height}; in readOrTransferPixelsFrom()
2245 const GrNativeRect& r = fHWScissorSettings.fRect; in flushRenderTargetNoColorWrites()
/external/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp160 GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), scissor); in onSetScissorRect()
/external/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp187 auto nativeBounds = GrNativeRect::MakeIRectRelativeTo( in beginRenderPass()
/external/skia/gn/
Dgpu.gni132 "$_src/gpu/GrNativeRect.h",