Home
last modified time | relevance | path

Searched defs:GrNativeRect (Results 1 – 1 of 1) 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
41 static_assert(0 == offsetof(GrNativeRect, fX)); in asInts() argument
47 int* asInts() { return &fX; } in asInts()
49 SkIRect asSkIRect() const { return SkIRect::MakeXYWH(fX, fY, fWidth, fHeight); } in asSkIRect()
57 void setRelativeTo(GrSurfaceOrigin org, int rtHeight, const SkIRect& devRect) { in setRelativeTo()
62 void setRelativeTo(GrSurfaceOrigin origin, int surfaceHeight, int leftOffset, int topOffset, in setRelativeTo()
88 bool operator ==(const GrNativeRect& that) const { argument