Home
last modified time | relevance | path

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

/third_party/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.cpp70 *targetUpdateBounds = GrNativeRect::MakeIRectRelativeTo( in onMakeClosed()
88 SkIRect srcRect = GrNativeRect::MakeIRectRelativeTo(fOrigin, srcSurface->height(), fSrcRect); in onExecute()
DBUILD.bazel105 "GrNativeRect.h",
DGrDrawingManager.cpp626 auto nativeRect = GrNativeRect::MakeIRectRelativeTo( in createDDLTask()
/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp34 GrNativeRect GrGLOpsRenderPass::dmsaaLoadStoreBounds() const { in dmsaaLoadStoreBounds()
40 return GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), in dmsaaLoadStoreBounds()
43 return GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), fContentBounds); in dmsaaLoadStoreBounds()
DGrGLOpsRenderPass.h58 GrNativeRect dmsaaLoadStoreBounds() const;
DGrGLGpu.h563 GrNativeRect fRect;
609 GrNativeRect fHWViewport;
DGrGLGpu.cpp1807 auto nativeScissor = GrNativeRect::MakeRelativeTo(rtOrigin, rtHeight, scissor); in flushScissorRect()
1816 auto nativeViewport = GrNativeRect::MakeRelativeTo(rtOrigin, rtHeight, viewport); in flushViewport()
1842 GrNativeRect glwindows[GrWindowRectangles::kMaxWindows]; in flushWindowRectangles()
2010 auto nativeBounds = GrNativeRect::MakeRelativeTo(origin, rt->height(), bounds); in beginCommandBuffer()
2289 const GrNativeRect& r = fHWScissorSettings.fRect; in flushRenderTargetNoColorWrites()
/third_party/skia/src/gpu/ops/
DAtlasRenderTask.cpp184 auto nativeRect = GrNativeRect::MakeIRectRelativeTo( in onExecute()
DOpsTask.cpp1086 *targetUpdateBounds = GrNativeRect::MakeIRectRelativeTo( in onMakeClosed()
/third_party/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp160 GrNativeRect::MakeRelativeTo(fOrigin, fRenderTarget->height(), scissor); in onSetScissorRect()
/third_party/skia/src/gpu/vk/
DGrVkOpsRenderPass.cpp188 auto nativeBounds = GrNativeRect::MakeIRectRelativeTo( in beginRenderPass()
/third_party/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm310 auto nativeBounds = GrNativeRect::MakeIRectRelativeTo(
/third_party/skia/gn/
Dgpu.gni123 "$_src/gpu/GrNativeRect.h",