Searched refs:sk_ref_sp (Results 1 - 25 of 112) sorted by relevance

12345

/external/skia/src/core/
H A DSkTypefacePriv.h20 return face ? sk_ref_sp(face) : SkTypeface::MakeDefault();
H A DSkFont.cpp47 return SkFont::Make(sk_ref_sp(this->getTypeface()), newSize, this->getScaleX(),
52 return SkFont::Make(sk_ref_sp(this->getTypeface()), this->getSize(), this->getScaleX(),
149 return Make(sk_ref_sp(paint.getTypeface()), paint.getTextSize(), paint.getTextScaleX(),
H A DSkColorSpace_XYZ.cpp87 return sk_ref_sp(this);
94 return sk_ref_sp(this);
H A DSkLocalMatrixShader.cpp94 return sk_ref_sp(const_cast<SkShader*>(this));
107 baseShader = sk_ref_sp(const_cast<SkShader*>(this));
H A DSkMiniRecorder.cpp82 TRY_TO_STORE(DrawTextBlob, p, sk_ref_sp(b), x, y);
99 return sk_ref_sp(empty);
H A DSkRecorder.cpp225 APPEND(DrawImage, this->copy(paint), sk_ref_sp(image), left, top);
230 APPEND(DrawImageRect, this->copy(paint), sk_ref_sp(image), this->copy(src), dst, constraint);
235 APPEND(DrawImageNine, this->copy(paint), sk_ref_sp(image), center, dst);
242 APPEND(DrawImageLattice, this->copy(paint), sk_ref_sp(image),
298 APPEND(DrawTextBlob, paint, sk_ref_sp(blob), x, y);
304 APPEND(DrawPicture, this->copy(paint), sk_ref_sp(pic), matrix ? *matrix : SkMatrix::I());
317 sk_ref_sp(pic),
331 APPEND(DrawVertices, paint, sk_ref_sp(const_cast<SkVertices*>(vertices)), bmode);
348 sk_ref_sp(atlas),
358 APPEND(DrawAnnotation, rect, SkString(key), sk_ref_sp(valu
[all...]
H A DSkColorFilterShader.cpp131 return sk_ref_sp(base);
133 return sk_make_sp<SkColorFilterShader>(sk_ref_sp(base), filter);
H A DSkLiteRecorder.cpp153 fDL->drawImage(sk_ref_sp(img), x,y, paint);
158 fDL->drawImageNine(sk_ref_sp(img), center, dst, paint);
163 fDL->drawImageRect(sk_ref_sp(img), src, dst, paint, constraint);
168 fDL->drawImageLattice(sk_ref_sp(img), lattice, dst, paint);
H A DSkReadBuffer.cpp268 return img ? sk_ref_sp(img) : nullptr;
312 return sk_ref_sp(fInflator->getTypeface(this->read32()));
320 return sk_ref_sp(fTFArray[index - 1]);
H A DSkSpecialImage.cpp121 sk_ref_sp(this->getColorSpace()),
274 sk_ref_sp(colorSpace));
314 sk_ref_sp(colorSpace));
449 GrRenderableConfigForColorSpace(colorSpace), sk_ref_sp(colorSpace));
498 sk_ref_sp(colorSpace));
H A DSkLiteDL.cpp73 SetDrawFilter(SkDrawFilter* df) : drawFilter(sk_ref_sp(df)) {}
97 this->backdrop = sk_ref_sp(backdrop);
240 DrawAnnotation(const SkRect& rect, SkData* value) : rect(rect), value(sk_ref_sp(value)) {}
249 DrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) : drawable(sk_ref_sp(drawable)) {
261 : picture(sk_ref_sp(picture)) {
277 : picture(sk_ref_sp(picture)) {
426 : blob(sk_ref_sp(blob)), x(x), y(y), paint(paint) {}
471 : vertices(sk_ref_sp(const_cast<SkVertices*>(v))), mode(m), paint(p) {}
483 : atlas(sk_ref_sp(atlas)), count(count), xfermode(xfermode), has_colors(has_colors) {
H A DSkTypeface.cpp103 return sk_ref_sp(GetDefaultTypeface(style));
147 return sk_ref_sp(family);
347 paint.setTypeface(sk_ref_sp(const_cast<SkTypeface*>(this)));
/external/skia/src/gpu/
H A DGrTextureRenderTargetProxy.cpp29 , GrTextureProxy(sk_ref_sp(surf->asTexture()))
30 , GrRenderTargetProxy(sk_ref_sp(surf->asRenderTarget())) {
H A DGrTextureContext.cpp80 sk_sp<GrSurface> src(sk_ref_sp(srcProxy->instantiate(fContext->resourceProvider())));
92 sk_sp<GrTexture> tex(sk_ref_sp(fTextureProxy->instantiate(fContext->resourceProvider())));
125 sk_sp<GrTexture> tex(sk_ref_sp(fTextureProxy->instantiate(fContext->resourceProvider())));
148 sk_sp<GrTexture> tex(sk_ref_sp(fTextureProxy->instantiate(fContext->resourceProvider())));
H A DGrRenderTarget.cpp39 context->contextPriv().makeWrappedRenderTargetContext(sk_ref_sp(this), nullptr));
H A DGrDrawingManager.cpp296 sk_sp<GrRenderTargetProxy> rtp(sk_ref_sp(sProxy->asRenderTargetProxy()));
306 sk_sp<GrRenderTarget> rt(sk_ref_sp(rtp->instantiate(fContext->resourceProvider())));
343 sk_sp<GrTextureProxy> textureProxy(sk_ref_sp(sProxy->asTextureProxy()));
/external/skia/src/image/
H A DSkImage.cpp97 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tileX, tileY, localMatrix);
164 return sk_ref_sp(const_cast<SkImage*>(this));
270 subset, sk_ref_sp(const_cast<SkImage*>(this)), colorSpace);
317 return sk_ref_sp(const_cast<SkImage_Base*>(this));
382 return sk_ref_sp(const_cast<SkImage*>(this));
398 return SkImage::MakeFromEncoded(sk_ref_sp(data), subset);
443 return SkImage::MakeRasterData(info.makeColorSpace(sk_ref_sp(colorSpace)), data, rowBytes);
H A DSkImage_Base.h98 return sk_ref_sp(const_cast<SkImage_Base*>(this));
H A DSkImage_Gpu.cpp79 sk_ref_sp(dstColorSpace));
359 sk_ref_sp(yProxy->asTextureProxy()),
360 sk_ref_sp(uProxy->asTextureProxy()),
361 sk_ref_sp(vProxy->asTextureProxy()), yuvSizes, colorSpace, nv12));
414 return peek->getContext() == context ? sk_ref_sp(const_cast<SkImage*>(this)) : nullptr;
492 return sk_ref_sp(const_cast<SkImage*>(this));
851 return sk_ref_sp(const_cast<SkImage_Gpu*>(this));
/external/skia/include/gpu/
H A DGrProcessorUnitTest.h56 fProxies[0] = GrSurfaceProxy::MakeWrapped(sk_ref_sp(textures[0]));
57 fProxies[1] = GrSurfaceProxy::MakeWrapped(sk_ref_sp(textures[1]));
/external/skia/include/codec/
H A DSkAndroidCodec.h43 return NewFromData(sk_ref_sp(data), reader);
/external/skia/src/pdf/
H A DSkPDFResourceDict.cpp66 sk_ref_sp(resourceList[i]));
/external/skia/gm/
H A Dimagemagnifier.cpp64 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0);
/external/skia/src/codec/
H A DSkStreamBuffer.cpp72 return sk_ref_sp<SkData>(*data);
/external/skia/src/c/
H A Dsk_paint.cpp69 AsPaint(cpaint)->setShader(sk_ref_sp(AsShader(cshader)));
73 AsPaint(cpaint)->setMaskFilter(sk_ref_sp(AsMaskFilter(cfilter)));

Completed in 463 milliseconds

12345