/third_party/skia/src/gpu/ |
D | GrNativeRect.h | 25 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/ |
D | GrStencilClip.h | 42 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()
|
D | GrFixedClip.cpp | 48 bool GrFixedClip::apply(int rtWidth, int rtHeight, GrAppliedHardClip* out, SkRect* bounds) const { in apply() argument 50 SkIRect tightScissor = SkIRect::MakeWH(rtWidth, rtHeight); in apply()
|
D | GrClip.h | 147 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
|
D | GrFixedClip.h | 48 bool apply(int rtWidth, int rtHeight, GrAppliedHardClip*, SkRect*) const override;
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLIRect.h | 59 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()
|
D | GrGLGpu.h | 367 void flushScissor(const GrScissorState&, int rtWidth, int rtHeight, GrSurfaceOrigin rtOrigin);
|
D | GrGLGpu.cpp | 1807 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/ |
D | SkSLCompiler.h | 96 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/ |
D | GrGLGpu.h | 75 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()
|
D | GrGLGpu.cpp | 1805 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()
|