Lines Matching refs:GrGLIRect
20 struct GrGLIRect { struct
32 GR_STATIC_ASSERT(0 == offsetof(GrGLIRect, fLeft)); in asInts() argument
33 GR_STATIC_ASSERT(4 == offsetof(GrGLIRect, fBottom)); in asInts()
34 GR_STATIC_ASSERT(8 == offsetof(GrGLIRect, fWidth)); in asInts()
35 GR_STATIC_ASSERT(12 == offsetof(GrGLIRect, fHeight)); in asInts()
36 GR_STATIC_ASSERT(16 == sizeof(GrGLIRect)); // For an array of GrGLIRect. in asInts()
49 GR_STATIC_ASSERT(sizeof(GrGLIRect) == 4*sizeof(GrGLint)); in setFromGLViewport() argument
56 void setRelativeTo(const GrGLIRect& glViewport, const SkIRect& devRect, GrSurfaceOrigin org) { in setRelativeTo() argument
61 void setRelativeTo(const GrGLIRect& glRect, in setRelativeTo() argument
80 bool contains(const GrGLIRect& glRect) const { in contains() argument
91 bool operator ==(const GrGLIRect& glRect) const { argument
92 return 0 == memcmp(this, &glRect, sizeof(GrGLIRect));
95 bool operator !=(const GrGLIRect& glRect) const {return !(*this == glRect);}