Home
last modified time | relevance | path

Searched refs:rtHeight (Results 1 – 11 of 11) 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/flutter/skia/src/gpu/
DGrStencilClip.h42 bool apply(int rtWidth, int rtHeight, GrAppliedHardClip* out, SkRect* bounds) const override { in apply() argument
43 if (!fFixedClip.apply(rtWidth, rtHeight, out, bounds)) { in apply()
DGrFixedClip.cpp48 bool GrFixedClip::apply(int rtWidth, int rtHeight, GrAppliedHardClip* out, SkRect* bounds) const { in apply() argument
50 SkIRect tightScissor = SkIRect::MakeWH(rtWidth, rtHeight); in apply()
DGrClip.h147 virtual bool apply(int rtWidth, int rtHeight, GrAppliedHardClip* out, SkRect* bounds) const = 0;
170 bool apply(int rtWidth, int rtHeight, GrAppliedHardClip*, SkRect*) const final { return true; } in apply() argument
DGrFixedClip.h48 bool apply(int rtWidth, int rtHeight, GrAppliedHardClip*, SkRect*) const override;
/third_party/flutter/skia/src/gpu/gl/
DGrGLIRect.h59 void setRelativeTo(int rtHeight, const SkIRect& devRect, GrSurfaceOrigin org) { in setRelativeTo()
60 this->setRelativeTo(rtHeight, devRect.x(), devRect.y(), devRect.width(), devRect.height(), in setRelativeTo()
DGrGLGpu.h367 void flushScissor(const GrScissorState&, int rtWidth, int rtHeight, GrSurfaceOrigin rtOrigin);
DGrGLGpu.cpp1807 void GrGLGpu::flushScissor(const GrScissorState& scissorState, int rtWidth, int rtHeight, in flushScissor() argument
1811 scissor.setRelativeTo(rtHeight, scissorState.rect(), rtOrigin); in flushScissor()
1814 if (!scissor.contains(rtWidth, rtHeight)) { in flushScissor()
/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()