/external/skia/src/core/ |
H A D | SkTypefacePriv.h | 20 return face ? sk_ref_sp(face) : SkTypeface::MakeDefault();
|
H A D | SkFont.cpp | 47 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 D | SkColorSpace_XYZ.cpp | 87 return sk_ref_sp(this); 94 return sk_ref_sp(this);
|
H A D | SkLocalMatrixShader.cpp | 94 return sk_ref_sp(const_cast<SkShader*>(this)); 107 baseShader = sk_ref_sp(const_cast<SkShader*>(this));
|
H A D | SkMiniRecorder.cpp | 82 TRY_TO_STORE(DrawTextBlob, p, sk_ref_sp(b), x, y); 99 return sk_ref_sp(empty);
|
H A D | SkRecorder.cpp | 225 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 D | SkColorFilterShader.cpp | 131 return sk_ref_sp(base); 133 return sk_make_sp<SkColorFilterShader>(sk_ref_sp(base), filter);
|
H A D | SkLiteRecorder.cpp | 153 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 D | SkReadBuffer.cpp | 268 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 D | SkSpecialImage.cpp | 121 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 D | SkLiteDL.cpp | 73 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 D | SkTypeface.cpp | 103 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 D | GrTextureRenderTargetProxy.cpp | 29 , GrTextureProxy(sk_ref_sp(surf->asTexture())) 30 , GrRenderTargetProxy(sk_ref_sp(surf->asRenderTarget())) {
|
H A D | GrTextureContext.cpp | 80 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 D | GrRenderTarget.cpp | 39 context->contextPriv().makeWrappedRenderTargetContext(sk_ref_sp(this), nullptr));
|
H A D | GrDrawingManager.cpp | 296 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 D | SkImage.cpp | 97 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 D | SkImage_Base.h | 98 return sk_ref_sp(const_cast<SkImage_Base*>(this));
|
H A D | SkImage_Gpu.cpp | 79 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 D | GrProcessorUnitTest.h | 56 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 D | SkAndroidCodec.h | 43 return NewFromData(sk_ref_sp(data), reader);
|
/external/skia/src/pdf/ |
H A D | SkPDFResourceDict.cpp | 66 sk_ref_sp(resourceList[i]));
|
/external/skia/gm/ |
H A D | imagemagnifier.cpp | 64 result.setPixelRef(sk_ref_sp(bitmap.pixelRef()), 0, 0);
|
/external/skia/src/codec/ |
H A D | SkStreamBuffer.cpp | 72 return sk_ref_sp<SkData>(*data);
|
/external/skia/src/c/ |
H A D | sk_paint.cpp | 69 AsPaint(cpaint)->setShader(sk_ref_sp(AsShader(cshader))); 73 AsPaint(cpaint)->setMaskFilter(sk_ref_sp(AsMaskFilter(cfilter)));
|