/external/skia/gm/ |
D | displacement.cpp | 76 SkDisplacementMapEffect::kG_ChannelSelectorType, 0.0f, displ))->unref(); in onDraw() 80 SkDisplacementMapEffect::kA_ChannelSelectorType, 16.0f, displ))->unref(); in onDraw() 84 SkDisplacementMapEffect::kB_ChannelSelectorType, 32.0f, displ))->unref(); in onDraw() 88 SkDisplacementMapEffect::kA_ChannelSelectorType, 48.0f, displ))->unref(); in onDraw() 92 SkDisplacementMapEffect::kA_ChannelSelectorType, 64.0f, displ))->unref(); in onDraw() 97 SkDisplacementMapEffect::kG_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw() 101 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw() 105 SkDisplacementMapEffect::kB_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw() 109 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw() 113 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref(); in onDraw() [all …]
|
D | colorcube.cpp | 70 shader->unref(); in make_bitmap() 109 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut4, 4))->unref(); in onDraw() 112 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut8, 8))->unref(); in onDraw() 115 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut16, 16))->unref(); in onDraw() 118 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut32, 32))->unref(); in onDraw() 121 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut64, 64))->unref(); in onDraw()
|
D | patheffects.cpp | 24 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()
|
D | texteffects.cpp | 17 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(3))))->unref(); in r0() 80 p.setPathEffect(SkDiscretePathEffect::Create(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5() 91 p.setRasterizer(rastBuilder2.detachRasterizer())->unref(); in r6() 108 p.setPathEffect(MakeDotEffect(SK_Scalar1*4, lattice))->unref(); in r7() 118 p.setPathEffect(MakeDotEffect(SK_Scalar1*2, lattice))->unref(); in r8() 135 p.setPathEffect(SkLine2DPathEffect::Create(SK_Scalar1*2, lattice))->unref(); in r9() 163 paint->setRasterizer(rastBuilder.detachRasterizer())->unref(); in apply_shader() 168 …er(SkBlurMaskFilter::CreateEmboss(dir, SK_Scalar1/4, SkIntToScalar(4), SkIntToScalar(3)))->unref(); in apply_shader()
|
D | lighting.cpp | 102 cr))->unref(); in onDraw() 110 cr))->unref(); in onDraw() 121 cr))->unref(); in onDraw() 132 cr))->unref(); in onDraw() 141 cr))->unref(); in onDraw() 153 cr))->unref(); in onDraw()
|
D | megalooper.cpp | 99 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()
|
D | colortype.cpp | 27 paint.setShader(s)->unref(); in ColorTypeGM() 35 orig->unref(); in ColorTypeGM() 39 fColorType->unref(); in ~ColorTypeGM()
|
D | blurroundrect.cpp | 68 paint->setMaskFilter(maskFilter)->unref(); in onDraw() 71 paint->setColorFilter(colorFilter)->unref(); in onDraw() 81 paint.setLooper(looperBuilder.detachLooper())->unref(); in onDraw() 156 paint.setMaskFilter(filter)->unref(); in onDraw() 160 paint.setShader(MakeRadial())->unref(); in onDraw()
|
/external/skia/src/gpu/ |
D | GrAddPathRenderers_default.cpp | 28 chain->addPathRenderer(SkNEW_ARGS(GrDashLinePathRenderer, (ctx)))->unref(); in AddPathRenderers() 31 chain->addPathRenderer(SkNEW(GrStrokePathRenderer))->unref(); in AddPathRenderers() 34 chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref(); in AddPathRenderers() 37 chain->addPathRenderer(pr)->unref(); in AddPathRenderers() 40 chain->addPathRenderer(new GrTessellatingPathRenderer)->unref(); in AddPathRenderers() 43 chain->addPathRenderer(pr)->unref(); in AddPathRenderers() 45 chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); in AddPathRenderers() 46 chain->addPathRenderer(SkNEW_ARGS(GrAADistanceFieldPathRenderer, (ctx)))->unref(); in AddPathRenderers()
|
D | GrPaint.cpp | 27 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); in addColorTextureProcessor() 31 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref(); in addCoverageTextureProcessor() 37 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); in addColorTextureProcessor() 43 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref(); in addCoverageTextureProcessor()
|
D | GrGpuResourceRef.cpp | 26 fResource->unref(); in ~GrGpuResourceRef() 48 fResource->unref(); in reset() 115 fResource->unref(); in removeRef()
|
/external/skia/bench/ |
D | RefCntBench.cpp | 81 ref.unref(); in onDraw() 118 ref->unref(); in onDraw() 120 ref->unref(); in onDraw() 144 ref->unref(); in onDraw() 146 ref->unref(); in onDraw() 172 ref.unref(); in onDraw() 204 ref->unref(); in onDraw() 206 ref->unref(); in onDraw() 230 ref->unref(); in onDraw() 232 ref->unref(); in onDraw()
|
/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 24 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()
|
D | ResourceCacheTest.cpp | 313 a->unref(); in test_no_key() 319 c->unref(); in test_no_key() 325 d->unref(); in test_no_key() 330 b->unref(); in test_no_key() 391 wrapped->unref(); in test_budgeting() 399 unique->unref(); in test_budgeting() 407 scratch->unref(); in test_budgeting() 415 wrapped->unref(); in test_budgeting() 421 unbudgeted->unref(); in test_budgeting() 444 scratch->unref(); in test_unbudgeted() [all …]
|
D | RefCntTest.cpp | 18 ref->unref(); in bounce_ref() 38 ref->unref(); in test_refCnt() 45 ref->unref(); in bounce_weak_ref() 83 ref->unref(); in test_weakRefCnt()
|
D | CachedDataTest.cpp | 51 data->unref(); in test_locking() 57 data->unref(); in test_locking() 85 data->unref(); in DEF_TEST() 90 data->unref(); in DEF_TEST()
|
D | ShaderImageFilterTest.cpp | 39 paint.setImageFilter(SkRectShaderImageFilter::Create(s, &cr))->unref(); in DEF_TEST() 41 s->unref(); in DEF_TEST() 49 paint.setShader(s)->unref(); in DEF_TEST()
|
D | GrSurfaceTest.cpp | 64 texRT1->unref(); in DEF_GPUTEST() 65 texRT2->unref(); in DEF_GPUTEST() 66 tex1->unref(); in DEF_GPUTEST()
|
/external/skia/samplecode/ |
D | SampleShaders.cpp | 43 shaderA->unref(); in make_bitmapfade() 44 shaderB->unref(); in make_bitmapfade() 45 mode->unref(); in make_bitmapfade() 76 shaderA->unref(); in ShaderView() 77 shaderB->unref(); in ShaderView() 78 mode->unref(); in ShaderView() 117 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent() 120 paint.setShader(new SkTransparentShader)->unref(); in onDrawContent()
|
D | SamplePathEffects.cpp | 50 outer->unref(); in make_pe() 51 inner->unref(); in make_pe() 68 outer->unref(); in make_warp_pe() 69 inner->unref(); in make_warp_pe() 147 paint.setPathEffect(make_pe(2, fPhase))->unref(); in onDrawContent() 153 paint.setPathEffect(make_pe(3, fPhase))->unref(); in onDrawContent() 159 paint.setPathEffect(make_warp_pe(fPhase))->unref(); in onDrawContent() 161 paint.setRasterizer(testRastBuilder.detachRasterizer())->unref(); in onDrawContent()
|
D | SampleAll.cpp | 85 SkBlurMaskFilter::kNone_BlurFlag))->unref(); in r0() 146 p.setPathEffect(SkDiscretePathEffect::Create(SK_Scalar1*4, SK_Scalar1*3))->unref(); in r5() 157 p.setRasterizer(rastBuilder2.detachRasterizer())->unref(); in r6() 189 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*4, lattice))->unref(); in r7() 199 p.setPathEffect(new Dot2DPathEffect(SK_Scalar1*2, lattice))->unref(); in r8() 216 p.setPathEffect(SkLine2DPathEffect::Create(SK_Scalar1*2, lattice))->unref(); in r9() 251 paint->setRasterizer(rastBuilder.detachRasterizer())->unref(); in apply_shader() 258 SK_Scalar1/4, SkIntToScalar(4)))->unref(); in apply_shader() 403 SkShader::kMirror_TileMode, SkShader::kRepeat_TileMode))->unref(); in drawPicture() 411 paint.setXfermode(xfermode)->unref(); in drawPicture() [all …]
|
/external/skia/include/core/ |
D | SkRefCnt.h | 73 void unref() const { in unref() function 138 if (dst) dst->unref(); \ 164 obj->unref(); in SkSafeUnref() 170 obj->unref(); in SkSafeSetNull() 240 void unref() const { in unref() function 246 void deref() const { this->unref(); } in deref()
|
/external/skia/src/gpu/gl/debug/ |
D | GrDebugGL.cpp | 59 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()
|
D | GrFrameBufferObj.cpp | 19 fColorBuffer->unref(); in setColor() 38 fDepthBuffer->unref(); in setDepth() 57 fStencilBuffer->unref(); in setStencil()
|
/external/skia/src/core/ |
D | SkRefDict.cpp | 52 rec->fData->unref(); in set() 56 rec->fData->unref(); in set() 84 rec->fData->unref(); in removeAll()
|