Home
last modified time | relevance | path

Searched refs:rtHeight (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/gpu/
DGrNativeRect.h25 static GrNativeRect MakeRelativeTo(GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) { in MakeRelativeTo()
27 nativeRect.setRelativeTo(origin, rtHeight, devRect); in MakeRelativeTo()
31 static SkIRect MakeIRectRelativeTo(GrSurfaceOrigin origin, int rtHeight, SkIRect devRect) { in MakeIRectRelativeTo()
32 return MakeRelativeTo(origin, rtHeight, devRect).asSkIRect(); in MakeIRectRelativeTo()
57 void setRelativeTo(GrSurfaceOrigin org, int rtHeight, const SkIRect& devRect) { in setRelativeTo()
58 this->setRelativeTo(org, rtHeight, devRect.x(), devRect.y(), devRect.width(), in setRelativeTo()
/third_party/skia/src/sksl/
DSkSLCompiler.h96 static std::array<float, 2> GetRTFlipVector(int rtHeight, bool flipY) { in GetRTFlipVector() argument
98 result[0] = flipY ? rtHeight : 0.f; in GetRTFlipVector()
/third_party/skia/src/gpu/gl/
DGrGLGpu.h75 void flushScissorRect(const SkIRect& scissor, int rtHeight, GrSurfaceOrigin);
79 void flushViewport(const SkIRect& viewport, int rtHeight, GrSurfaceOrigin);
427 void flushScissor(const GrScissorState& scissorState, int rtHeight, GrSurfaceOrigin rtOrigin) { in flushScissor() argument
430 this->flushScissorRect(scissorState.rect(), rtHeight, rtOrigin); in flushScissor()
DGrGLGpu.cpp1805 void GrGLGpu::flushScissorRect(const SkIRect& scissor, int rtHeight, GrSurfaceOrigin rtOrigin) { in flushScissorRect() argument
1807 auto nativeScissor = GrNativeRect::MakeRelativeTo(rtOrigin, rtHeight, scissor); in flushScissorRect()
1815 void GrGLGpu::flushViewport(const SkIRect& viewport, int rtHeight, GrSurfaceOrigin rtOrigin) { in flushViewport() argument
1816 auto nativeViewport = GrNativeRect::MakeRelativeTo(rtOrigin, rtHeight, viewport); in flushViewport()