Lines Matching refs:GrNativeRect
19 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));
92 bool operator !=(const GrNativeRect& that) const {return !(*this == that);}