Home
last modified time | relevance | path

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

/external/skia/modules/sksg/include/
DSkSGRenderNode.h55 class ScopedRenderContext final {
57 ScopedRenderContext(SkCanvas*, const RenderContext*);
58 ~ScopedRenderContext();
60 ScopedRenderContext(ScopedRenderContext&& that) { *this = std::move(that); } in ScopedRenderContext() function
62 ScopedRenderContext& operator=(ScopedRenderContext&& that) {
76 ScopedRenderContext&& modulateOpacity(float opacity);
77 ScopedRenderContext&& modulateColorFilter(sk_sp<SkColorFilter>);
78 ScopedRenderContext&& modulateBlendMode(SkBlendMode);
82 ScopedRenderContext&& setIsolation(const SkRect& bounds, bool do_isolate);
86 ScopedRenderContext&& setFilterIsolation(const SkRect& bounds, sk_sp<SkImageFilter>);
[all …]
/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/src/
DSkSGRenderNode.cpp44 RenderNode::ScopedRenderContext::ScopedRenderContext(SkCanvas* canvas, const RenderContext* ctx) in ScopedRenderContext() function in sksg::RenderNode::ScopedRenderContext
49 RenderNode::ScopedRenderContext::~ScopedRenderContext() { in ~ScopedRenderContext()
55 RenderNode::ScopedRenderContext&&
56 RenderNode::ScopedRenderContext::modulateOpacity(float opacity) { in modulateOpacity()
62 RenderNode::ScopedRenderContext&&
63 RenderNode::ScopedRenderContext::modulateColorFilter(sk_sp<SkColorFilter> cf) { in modulateColorFilter()
69 RenderNode::ScopedRenderContext&&
70 RenderNode::ScopedRenderContext::modulateBlendMode(SkBlendMode mode) { in modulateBlendMode()
75 RenderNode::ScopedRenderContext&&
76 RenderNode::ScopedRenderContext::setIsolation(const SkRect& bounds, bool isolation) { in setIsolation()
[all …]
DSkSGRenderEffect.cpp55 ScopedRenderContext(canvas, ctx).setFilterIsolation(this->getChild()->bounds(), in onRender()
136 const auto local_ctx = ScopedRenderContext(canvas, ctx).modulateBlendMode(fMode); in onRender()
DSkSGOpacityEffect.cpp21 const auto local_context = ScopedRenderContext(canvas, ctx).modulateOpacity(fOpacity); in onRender()
DSkSGGroup.cpp62 const auto local_ctx = ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), isolate); in onRender()
DSkSGColorFilter.cpp23 const auto local_ctx = ScopedRenderContext(canvas, ctx).modulateColorFilter(fColorFilter); in onRender()
/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/skqp/modules/skottie/src/
DSkottieLayer.cpp192 ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), true); in attachNestedAnimation()
/external/skia/modules/skottie/src/
DSkottieLayer.cpp194 ScopedRenderContext(canvas, ctx).setIsolation(this->bounds(), true); in attachNestedAnimation()