Home
last modified time | relevance | path

Searched refs:unref (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/external/skia/gm/
Ddisplacement.cpp63 SkDisplacementMapEffect::kG_ChannelSelectorType, 0.0f, displ))->unref(); in onDraw()
67 SkDisplacementMapEffect::kA_ChannelSelectorType, 16.0f, displ))->unref(); in onDraw()
71 SkDisplacementMapEffect::kB_ChannelSelectorType, 32.0f, displ))->unref(); in onDraw()
75 SkDisplacementMapEffect::kA_ChannelSelectorType, 48.0f, displ))->unref(); in onDraw()
79 SkDisplacementMapEffect::kA_ChannelSelectorType, 64.0f, displ))->unref(); in onDraw()
84 SkDisplacementMapEffect::kG_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw()
88 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw()
92 SkDisplacementMapEffect::kB_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw()
96 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw()
100 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw()
[all …]
Dcolorcube.cpp70 shader->unref(); in make_bitmap()
110 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut4, 4))->unref(); in onDraw()
113 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut8, 8))->unref(); in onDraw()
116 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut16, 16))->unref(); in onDraw()
119 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut32, 32))->unref(); in onDraw()
122 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut64, 64))->unref(); in onDraw()
Dbug530095.cpp23 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, -40))->unref();
29 paint.setPathEffect(SkDashPathEffect::Create(smIntervals, smIntervalCount, -0.40f))->unref();
37 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, 0))->unref();
44 paint.setPathEffect(SkDashPathEffect::Create(smIntervals, smIntervalCount, 0))->unref();
Dpatheffects.cpp24 corner->unref(); in compose_pe()
28 paint->setPathEffect(compose)->unref(); in compose_pe()
49 0))->unref(); in dash_pe()
73 SkPath1DPathEffect::kRotate_Style))->unref(); in one_d_pe()
86 paint->setPathEffect(SkDiscretePathEffect::Create(10, 4))->unref(); in discrete_pe()
100 paint->setPathEffect(MakeTileEffect())->unref(); in tile_pe()
Dlighting.cpp94 cr))->unref(); in onDraw()
102 cr))->unref(); in onDraw()
113 cr))->unref(); in onDraw()
124 cr))->unref(); in onDraw()
133 cr))->unref(); in onDraw()
145 cr))->unref(); in onDraw()
Davoidxfermode2.cpp40 SkAvoidXfermode::kTargetColor_Mode))->unref(); in onDraw()
51 SkAvoidXfermode::kAvoidColor_Mode))->unref(); in onDraw()
62 SkAvoidXfermode::kTargetColor_Mode))->unref(); in onDraw()
73 SkAvoidXfermode::kAvoidColor_Mode))->unref(); in onDraw()
Davoidxfermode3.cpp43 SkAvoidXfermode::kTargetColor_Mode))->unref(); in onDraw()
55 SkAvoidXfermode::kAvoidColor_Mode))->unref(); in onDraw()
67 SkAvoidXfermode::kTargetColor_Mode))->unref(); in onDraw()
79 SkAvoidXfermode::kAvoidColor_Mode))->unref(); in onDraw()
Dpixelxorxfermode.cpp52 p1.setXfermode(SkPixelXorXfermode::Create(0x7FFF0000))->unref(); in onDraw()
61 p2.setXfermode(SkPixelXorXfermode::Create(SK_ColorBLACK))->unref(); // noop in onDraw()
70 p3.setXfermode(SkPixelXorXfermode::Create(SK_ColorBLACK))->unref(); // noop in onDraw()
80 p4.setXfermode(SkPixelXorXfermode::Create(SK_ColorYELLOW))->unref(); in onDraw()
Davoidxfermode.cpp53 SkAvoidXfermode::kTargetColor_Mode))->unref(); in onDraw()
64 SkAvoidXfermode::kAvoidColor_Mode))->unref(); in onDraw()
75 SkAvoidXfermode::kTargetColor_Mode))->unref(); in onDraw()
86 SkAvoidXfermode::kAvoidColor_Mode))->unref(); in onDraw()
Dmegalooper.cpp99 paint.setMaskFilter(createBlur())->unref(); in draw0x0()
134 loopPaint.setLooper(create1Looper(-kOffsetToOutsideClip, 0, gColors[i]))->unref(); in draw4x1()
176 paint->setMaskFilter(this->createBlur())->unref(); in create1Looper()
179 paint->setColorFilter(cf)->unref(); in create1Looper()
196 paint.setLooper(create4Looper(-kOffsetToOutsideClip-kHalfSquareSize, 0))->unref(); in draw1x4()
223 paint->setMaskFilter(this->createBlur())->unref(); in create4Looper()
226 paint->setColorFilter(cf)->unref(); in create4Looper()
/external/skia/src/gpu/
DGrPathRendererChain.cpp30 this->addPathRenderer(new GrDashLinePathRenderer)->unref(); in GrPathRendererChain()
34 this->addPathRenderer(pr)->unref(); in GrPathRendererChain()
36 this->addPathRenderer(new GrTessellatingPathRenderer)->unref(); in GrPathRendererChain()
37 this->addPathRenderer(new GrAAHairLinePathRenderer)->unref(); in GrPathRendererChain()
38 this->addPathRenderer(new GrAAConvexPathRenderer)->unref(); in GrPathRendererChain()
39 this->addPathRenderer(new GrAALinearizingConvexPathRenderer)->unref(); in GrPathRendererChain()
41 this->addPathRenderer(new GrPLSPathRenderer)->unref(); in GrPathRendererChain()
43 this->addPathRenderer(new GrAADistanceFieldPathRenderer)->unref(); in GrPathRendererChain()
45 caps.stencilWrapOpsSupport()))->unref(); in GrPathRendererChain()
50 fChain[i]->unref(); in ~GrPathRendererChain()
DGrPaint.cpp25 this->addColorFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); in addColorTextureProcessor()
29 this->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); in addCoverageTextureProcessor()
36 matrix, params))->unref(); in addColorTextureProcessor()
43 matrix, params))->unref(); in addCoverageTextureProcessor()
DGrPipelineBuilder.cpp67 fPipelineBuilder->fColorFragmentProcessors.fromBack(i)->unref(); in set()
74 fPipelineBuilder->fCoverageFragmentProcessors.fromBack(i)->unref(); in set()
92 fColorFragmentProcessors[i]->unref(); in ~GrPipelineBuilder()
95 fCoverageFragmentProcessors[i]->unref(); in ~GrPipelineBuilder()
/external/skia/bench/
DRefCntBench.cpp81 ref.unref(); in onDraw()
116 ref->unref(); in onDraw()
118 ref->unref(); in onDraw()
142 ref->unref(); in onDraw()
144 ref->unref(); in onDraw()
170 ref.unref(); in onDraw()
202 ref->unref(); in onDraw()
204 ref->unref(); in onDraw()
228 ref->unref(); in onDraw()
230 ref->unref(); in onDraw()
/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp55 imageView->unref(gpu); in Create()
71 msaaImageResource->unref(gpu); in Create()
72 imageView->unref(gpu); in Create()
93 resolveAttachmentView->unref(gpu); in Create()
94 msaaImageResource->unref(gpu); in Create()
96 imageView->unref(gpu); in Create()
107 msaaImageResource->unref(gpu); in Create()
133 imageRsrc->unref(gpu); in CreateNewTextureRenderTarget()
DGrVkRenderTarget.cpp152 msaaResource->unref(gpu); in Create()
165 resolveAttachmentView->unref(gpu); in Create()
166 msaaResource->unref(gpu); in Create()
175 msaaResource->unref(gpu); in Create()
198 imageResource->unref(gpu); in CreateNewRenderTarget()
222 fFramebuffer->unref(gpu); in createFramebuffer()
225 fCachedSimpleRenderPass->unref(gpu); in createFramebuffer()
297 fMSAAImageResource->unref(gpu); in releaseInternalObjects()
302 fResolveAttachmentView->unref(gpu); in releaseInternalObjects()
306 fColorAttachmentView->unref(gpu); in releaseInternalObjects()
[all …]
DGrVkStencilAttachment.cpp57 imageResource->unref(gpu); in Create()
63 imageResource->unref(gpu); in Create()
64 imageView->unref(gpu); in Create()
86 fImageResource->unref(gpu); in onRelease()
89 fStencilView->unref(gpu); in onRelease()
/external/skia/tests/
DShaderOpacityTest.cpp24 shader->unref(); in test_bitmap()
34 shader->unref(); in test_bitmap()
42 shader->unref(); in test_bitmap()
50 shader->unref(); in test_bitmap()
71 grad->unref(); in test_gradient()
79 grad->unref(); in test_gradient()
87 grad->unref(); in test_gradient()
95 grad->unref(); in test_gradient()
DResourceCacheTest.cpp379 a->unref(); in test_no_key()
385 c->unref(); in test_no_key()
391 d->unref(); in test_no_key()
396 b->unref(); in test_no_key()
456 wrapped->unref(); in test_budgeting()
464 unique->unref(); in test_budgeting()
472 scratch->unref(); in test_budgeting()
480 wrapped->unref(); in test_budgeting()
486 unbudgeted->unref(); in test_budgeting()
509 scratch->unref(); in test_unbudgeted()
[all …]
DRefCntTest.cpp18 ref->unref(); in bounce_ref()
35 ref->unref(); in test_refCnt()
42 ref->unref(); in bounce_weak_ref()
75 ref->unref(); in test_weakRefCnt()
/external/skia/samplecode/
DSamplePathEffects.cpp49 outer->unref(); in make_pe()
50 inner->unref(); in make_pe()
67 outer->unref(); in make_warp_pe()
68 inner->unref(); in make_warp_pe()
146 paint.setPathEffect(make_pe(2, fPhase))->unref(); in onDrawContent()
152 paint.setPathEffect(make_pe(3, fPhase))->unref(); in onDrawContent()
158 paint.setPathEffect(make_warp_pe(fPhase))->unref(); in onDrawContent()
160 paint.setRasterizer(testRastBuilder.detachRasterizer())->unref(); in onDrawContent()
DSampleShaders.cpp41 shaderA->unref(); in make_bitmapfade()
42 shaderB->unref(); in make_bitmapfade()
43 mode->unref(); in make_bitmapfade()
74 shaderA->unref(); in ShaderView()
75 shaderB->unref(); in ShaderView()
76 mode->unref(); in ShaderView()
115 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent()
DSampleAll.cpp83 SkBlurMaskFilter::kNone_BlurFlag))->unref(); in r0()
144 p.setPathEffect(SkDiscretePathEffect::Create(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5()
155 p.setRasterizer(rastBuilder2.detachRasterizer())->unref(); in r6()
187 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*4, lattice))->unref(); in r7()
197 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r8()
214 p.setPathEffect(SkLine2DPathEffect::Create(SK_Scalar1*2, lattice))->unref(); in r9()
249 paint->setRasterizer(rastBuilder.detachRasterizer())->unref(); in apply_shader()
256 SK_Scalar1/4, SkIntToScalar(4)))->unref(); in apply_shader()
400 SkShader::kMirror_TileMode, SkShader::kRepeat_TileMode))->unref(); in drawPicture()
408 paint.setXfermode(xfermode)->unref(); in drawPicture()
[all …]
/external/skia/include/core/
DSkRefCnt.h77 void unref() const { in unref() function
142 if (dst) dst->unref(); \
168 obj->unref(); in SkSafeUnref()
174 obj->unref(); in SkSafeSetNull()
182 void operator()(T* t) { t->unref(); } in operator()
218 void unref() const { in unref() function
224 void deref() const { this->unref(); } in deref()
/external/skia/src/gpu/gl/debug/
DGrDebugGL.cpp59 fTextureUnits[i]->unref(); in ~GrDebugGL()
100 fArrayBuffer->unref(); in setArrayBuffer()
128 fElementArrayBuffer->unref(); in setElementArrayBuffer()
152 fFrameBuffer->unref(); in setFrameBuffer()
172 fRenderBuffer->unref(); in setRenderBuffer()
192 fProgram->unref(); in useProgram()

12345678910>>...15