Searched refs:windowState (Results 1 – 3 of 3) sorted by relevance
41 void addWindowRectangles(const GrWindowRectsState& windowState) { in addWindowRectangles() argument43 fWindowRectsState = windowState; in addWindowRectangles()
449 const GrWindowRectsState& windowState) { in set() argument452 fWindowState = windowState; in set()456 const GrWindowRectsState& windowState) const { in knownEqualTo() argument463 return fWindowState == windowState; in knownEqualTo()
1740 void GrGLGpu::flushWindowRectangles(const GrWindowRectsState& windowState, in flushWindowRectangles() argument1744 SkASSERT(!windowState.enabled() || rt->renderFBOID()); // Window rects can't be used on-screen. in flushWindowRectangles()1745 SkASSERT(windowState.numWindows() <= this->caps()->maxWindowRectangles()); in flushWindowRectangles()1748 fHWWindowRectsState.knownEqualTo(rt->origin(), rt->getViewport(), windowState)) { in flushWindowRectangles()1754 int numWindows = SkTMin(windowState.numWindows(), int(GrWindowRectangles::kMaxWindows)); in flushWindowRectangles()1755 SkASSERT(windowState.numWindows() == numWindows); in flushWindowRectangles()1758 const SkIRect* skwindows = windowState.windows().data(); in flushWindowRectangles()1763 GrGLenum glmode = (Mode::kExclusive == windowState.mode()) ? GR_GL_EXCLUSIVE : GR_GL_INCLUSIVE; in flushWindowRectangles()1766 fHWWindowRectsState.set(rt->origin(), rt->getViewport(), windowState); in flushWindowRectangles()