Home
last modified time | relevance | path

Searched refs:ScopedRenderContext (Results 1 – 19 of 19) sorted by relevance

/external/skqp/modules/sksg/include/
DSkSGRenderNode.h47 class ScopedRenderContext final {
49 ScopedRenderContext(SkCanvas*, const RenderContext*);
50 ~ScopedRenderContext();
52 ScopedRenderContext(ScopedRenderContext&& that) { *this = std::move(that); } in ScopedRenderContext() function
54 ScopedRenderContext& operator=(ScopedRenderContext&& that) {
68 ScopedRenderContext&& modulateOpacity(float opacity);
69 ScopedRenderContext&& modulateColorFilter(sk_sp<SkColorFilter>);
73 ScopedRenderContext&& setIsolation(const SkRect& bounds, bool do_isolate);
81 ScopedRenderContext(const ScopedRenderContext&) = delete;
82 ScopedRenderContext& operator=(const ScopedRenderContext&) = delete;
/external/skia/modules/sksg/include/
DSkSGRenderNode.h67 class ScopedRenderContext final {
69 ScopedRenderContext(SkCanvas*, const RenderContext*);
70 ~ScopedRenderContext();
72 ScopedRenderContext(ScopedRenderContext&& that) { *this = std::move(that); } in ScopedRenderContext() function
74 ScopedRenderContext& operator=(ScopedRenderContext&& that) {
90 ScopedRenderContext&& modulateOpacity(float opacity);
91 ScopedRenderContext&& modulateColorFilter(sk_sp<SkColorFilter>);
92 ScopedRenderContext&& modulateShader(sk_sp<SkShader>, const SkMatrix& shader_ctm);
93 ScopedRenderContext&& modulateMaskShader(sk_sp<SkShader>, const SkMatrix& ms_ctm);
94 ScopedRenderContext&& modulateBlendMode(SkBlendMode);
[all …]
/external/skqp/modules/sksg/src/
DSkSGRenderNode.cpp36 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() function in sksg::RenderNode::ScopedRenderContext
41 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext()
47 RenderNode::ScopedRenderContext&&
48 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity()
54 RenderNode::ScopedRenderContext&&
55 RenderNode::ScopedRenderContext::modulateColorFilter(sk_sp<SkColorFilter> cf) { in modulateColorFilter()
61 RenderNode::ScopedRenderContext&&
62 RenderNode::ScopedRenderContext::setIsolation(const SkRect& bounds, bool isolation) { in setIsolation()
DSkSGOpacityEffect.cpp21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
DSkSGColorFilter.cpp22 const auto local_ctx = ScopedRenderContext(canvas, ctx).modulateColorFilter(fColorFilter); in onRender()
DSkSGGroup.cpp62 const auto local_ctx = ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), isolate); in onRender()
/external/skia/modules/sksg/src/
DSkSGRenderNode.cpp114 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() function in sksg::RenderNode::ScopedRenderContext
119 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext()
131 RenderNode::ScopedRenderContext&&
132 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity()
138 RenderNode::ScopedRenderContext&&
139 RenderNode::ScopedRenderContext::modulateColorFilter(sk_sp<SkColorFilter> cf) { in modulateColorFilter()
144 RenderNode::ScopedRenderContext&&
145 RenderNode::ScopedRenderContext::modulateShader(sk_sp<SkShader> sh, const SkMatrix& shader_ctm) { in modulateShader()
155 RenderNode::ScopedRenderContext&&
156 RenderNode::ScopedRenderContext::modulateMaskShader(sk_sp<SkShader> ms, const SkMatrix& ctm) { in modulateMaskShader()
[all …]
DSkSGRenderEffect.cpp28 const auto local_ctx = ScopedRenderContext(canvas, ctx) in onRender()
73 const auto local_ctx = ScopedRenderContext(canvas, ctx) in onRender()
132 ScopedRenderContext(canvas, ctx).setFilterIsolation(this->getChild()->bounds(), in onRender()
217 const auto local_ctx = ScopedRenderContext(canvas, ctx).modulateBlendMode(fMode); in onRender()
242 const auto local_ctx = ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), in onRender()
DSkSGOpacityEffect.cpp21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
DSkSGImage.cpp26 sksg::RenderNode::ScopedRenderContext local_ctx(canvas, ctx); in onRender()
DSkSGColorFilter.cpp23 const auto local_ctx = ScopedRenderContext(canvas, ctx).modulateColorFilter(fColorFilter); in onRender()
51 const auto local_ctx = ScopedRenderContext(canvas, ctx).modulateColorFilter(fColorFilter); in onRender()
DSkSGGroup.cpp62 const auto local_ctx = ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), in onRender()
/external/skia/modules/skottie/src/effects/
DRadialWipeEffect.cpp97 const auto local_ctx = ScopedRenderContext(canvas, ctx) in onRender()
DMotionBlurEffect.cpp222 ScopedRenderContext frame_ctx(canvas, ctx); in onRender()
DFractalNoiseEffect.cpp308 const auto local_ctx = ScopedRenderContext(canvas, ctx) in onRender()
DDisplacementMapEffect.cpp252 auto local_ctx = ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), in onRender()
/external/skia/modules/skottie/src/layers/
DPrecompLayer.cpp123 ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), in attachExternalPrecompLayer()
/external/skia/modules/skottie/src/layers/shapelayer/
DRepeater.cpp87 const auto local_ctx = ScopedRenderContext(canvas, ctx) in onRender()
/external/skqp/modules/skottie/src/
DSkottieLayer.cpp192 ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), true); in attachNestedAnimation()