Searched refs:unref (Results 1 - 25 of 322) sorted by relevance

1234567891011>>

/external/skia/src/gpu/
H A DGrAddPathRenderers_default.cpp28 chain->addPathRenderer(SkNEW_ARGS(GrDashLinePathRenderer, (ctx)))->unref();
31 chain->addPathRenderer(SkNEW(GrStrokePathRenderer))->unref();
34 chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref();
37 chain->addPathRenderer(pr)->unref();
40 chain->addPathRenderer(new GrTessellatingPathRenderer)->unref();
43 chain->addPathRenderer(pr)->unref();
45 chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref();
46 chain->addPathRenderer(SkNEW_ARGS(GrAADistanceFieldPathRenderer, (ctx)))->unref();
H A DGrPaint.cpp27 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
31 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix))->unref();
37 this->addColorProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref();
43 this->addCoverageProcessor(GrSimpleTextureEffect::Create(texture, matrix, params))->unref();
H A DGrGpuResourceRef.cpp26 fResource->unref();
48 fResource->unref();
115 fResource->unref();
/external/skia/gm/
H A Ddisplacement.cpp76 SkDisplacementMapEffect::kG_ChannelSelectorType, 0.0f, displ))->unref();
80 SkDisplacementMapEffect::kA_ChannelSelectorType, 16.0f, displ))->unref();
84 SkDisplacementMapEffect::kB_ChannelSelectorType, 32.0f, displ))->unref();
88 SkDisplacementMapEffect::kA_ChannelSelectorType, 48.0f, displ))->unref();
92 SkDisplacementMapEffect::kA_ChannelSelectorType, 64.0f, displ))->unref();
97 SkDisplacementMapEffect::kG_ChannelSelectorType, 40.0f, displ))->unref();
101 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref();
105 SkDisplacementMapEffect::kB_ChannelSelectorType, 40.0f, displ))->unref();
109 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref();
113 SkDisplacementMapEffect::kA_ChannelSelectorType, 40.0f, displ))->unref();
[all...]
H A Dtinybitmap.cpp24 ctable->unref();
52 paint.setShader(s)->unref();
H A Dcolortype.cpp27 paint.setShader(s)->unref();
35 orig->unref();
39 fColorType->unref();
H A Dcolorcube.cpp70 shader->unref();
109 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut4, 4))->unref();
112 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut8, 8))->unref();
115 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut16, 16))->unref();
118 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut32, 32))->unref();
121 paint.setColorFilter(SkColorCubeFilter::Create(f3DLut64, 64))->unref();
H A Dpatheffects.cpp24 corner->unref();
28 paint->setPathEffect(compose)->unref();
49 0))->unref();
73 SkPath1DPathEffect::kRotate_Style))->unref();
86 paint->setPathEffect(SkDiscretePathEffect::Create(10, 4))->unref();
100 paint->setPathEffect(MakeTileEffect())->unref();
/external/skia/src/gpu/gl/debug/
H A DGrFrameBufferObj.cpp19 fColorBuffer->unref();
38 fDepthBuffer->unref();
57 fStencilBuffer->unref();
H A DGrProgramObj.cpp22 fShaders[i]->unref();
H A DGrTextureUnitObj.cpp19 fTexture->unref();
H A DGrDebugGL.cpp57 // unref & delete the texture units first so they don't show up on the leak report
59 fTextureUnits[i]->unref();
100 fArrayBuffer->unref();
128 fElementArrayBuffer->unref();
152 fFrameBuffer->unref();
172 fRenderBuffer->unref();
192 fProgram->unref();
/external/skia/src/views/
H A DSkViewPriv.h25 fLayout->unref();
40 fArtist->unref();
/external/skia/bench/
H A DRefCntBench.cpp81 ref.unref();
118 ref->unref();
120 ref->unref();
144 ref->unref();
146 ref->unref();
172 ref.unref();
204 ref->unref();
206 ref->unref();
230 ref->unref();
232 ref->unref();
[all...]
H A DMipMapBench.cpp32 SkMipMap::Build(fBitmap, NULL)->unref();
H A DBlurRoundRectBench.cpp56 paint->setMaskFilter(maskFilter)->unref();
59 paint->setColorFilter(colorFilter)->unref();
70 loopedPaint.setLooper(looperBuilder.detachLooper())->unref();
/external/skia/samplecode/
H A DSampleEmboss.cpp56 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(4)), fLight))->unref();
57 paint.setShader(new SkColorShader(SK_ColorBLUE))->unref();
H A DSamplePathEffects.cpp50 outer->unref();
51 inner->unref();
68 outer->unref();
69 inner->unref();
147 paint.setPathEffect(make_pe(2, fPhase))->unref();
153 paint.setPathEffect(make_pe(3, fPhase))->unref();
159 paint.setPathEffect(make_warp_pe(fPhase))->unref();
161 paint.setRasterizer(testRastBuilder.detachRasterizer())->unref();
H A DSampleShaders.cpp43 shaderA->unref();
44 shaderB->unref();
45 mode->unref();
76 shaderA->unref();
77 shaderB->unref();
78 mode->unref();
117 paint.setShader(make_bitmapfade(fBitmap))->unref();
120 paint.setShader(new SkTransparentShader)->unref();
H A DSampleEffects.cpp28 SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(2))))->unref();
37 0.05f))->unref();
44 SkShader::kMirror_TileMode))->unref();
/external/skia/tests/
H A DShaderOpacityTest.cpp24 shader->unref();
34 shader->unref();
42 shader->unref();
50 shader->unref();
71 grad->unref();
79 grad->unref();
87 grad->unref();
95 grad->unref();
H A DRefCntTest.cpp18 ref->unref();
38 ref->unref();
45 ref->unref();
83 ref->unref();
/external/skia/experimental/PdfViewer/
H A DSkPdfGraphicsState.cpp30 fDashPhase))->unref();
/external/skia/src/core/
H A DSkRefDict.cpp52 rec->fData->unref();
56 rec->fData->unref();
84 rec->fData->unref();
/external/skia/include/core/
H A DSkRefCnt.h21 When an owner wants to release its reference, it calls unref(). When the
22 shared object's reference count goes to zero as the result of an unref()
56 // until previous owners are all totally done calling unref().
62 /** Increment the reference count. Must be balanced by a call to unref().
73 void unref() const { function in class:SkRefCntBase
133 before unref(), in case the two pointers point to the same object.
138 if (dst) dst->unref(); \
160 /** Check if the argument is non-null, and if so, call obj->unref()
164 obj->unref();
170 obj->unref();
240 void unref() const { function in class:SkNVRefCnt
[all...]

Completed in 263 milliseconds

1234567891011>>