/third_party/skia/modules/androidkit/src/ |
D | ImageFilter.cpp | 27 auto input = sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_input)); in ImageFilter_DistantLitDiffuse() 34 auto input = sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_input)); in ImageFilter_Blur() 46 auto input = sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_input)); in ImageFilter_DropShadow() 52 auto bg = sk_ref_sp(reinterpret_cast<SkImageFilter*>(background)); in ImageFilter_Blend() 53 auto fg = sk_ref_sp(reinterpret_cast<SkImageFilter*>(foreground)); in ImageFilter_Blend() 59 auto image = sk_ref_sp(reinterpret_cast<SkImage*>(native_image)); in ImageFilter_Image()
|
D | Paint.cpp | 90 paint->setColorFilter(sk_ref_sp(reinterpret_cast<SkColorFilter*>(native_cf))); in Paint_SetColorFilter() 96 paint->setShader(sk_ref_sp(reinterpret_cast<SkShader*>(native_shader))); in Paint_SetShader() 102 paint->setImageFilter(sk_ref_sp(reinterpret_cast<SkImageFilter*>(native_filter))); in Paint_SetImageFilter()
|
D | ColorFilters.cpp | 32 auto cf = SkColorFilters::Compose(sk_ref_sp(reinterpret_cast<SkColorFilter*>(outer)), in MakeCompose() 33 sk_ref_sp(reinterpret_cast<SkColorFilter*>(inner))); in MakeCompose()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlFramebuffer.mm | 19 auto fb = new GrMtlFramebuffer(sk_ref_sp(colorAttachment), sk_ref_sp(resolveAttachment), 20 sk_ref_sp(stencilAttachment));
|
/third_party/skia/src/core/ |
D | SkRecorder.cpp | 210 this->append<SkRecords::DrawImage>(this->copy(paint), sk_ref_sp(image), x, y, sampling); in onDrawImage2() 216 this->append<SkRecords::DrawImageRect>(this->copy(paint), sk_ref_sp(image), src, dst, in onDrawImageRect2() 224 this->append<SkRecords::DrawImageLattice>(this->copy(paint), sk_ref_sp(image), in onDrawImageLattice2() 234 this->append<SkRecords::DrawTextBlob>(paint, sk_ref_sp(blob), x, y); in onDrawTextBlob() 238 sk_sp<SkTextBlob> blob = sk_ref_sp(glyphRunList.blob()); in onDrawGlyphRunList() 248 …this->append<SkRecords::DrawPicture>(this->copy(paint), sk_ref_sp(pic), matrix ? *matrix : SkMatri… in onDrawPicture() 254 sk_ref_sp(const_cast<SkVertices*>(vertices)), in onDrawVerticesObject() 273 sk_ref_sp(atlas), in onDrawAtlas2() 288 this->append<SkRecords::DrawAnnotation>(rect, SkString(key), sk_ref_sp(value)); in onDrawAnnotation() 325 , sk_ref_sp(rec.fBackdrop) in getSaveLayerStrategy()
|
D | SkSpecialImage.cpp | 232 SkImageInfo info = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace)); in onMakeSurface() 259 SkImageInfo info = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace)); in onMakeTightSurface() 326 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), in wrap_proxy_in_image() 365 new SkImage_Gpu(sk_ref_sp(canvas->recordingContext()), in onDraw() 396 SkImageInfo ii = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace)); in onMakeSurface() 448 SkImageInfo info = SkImageInfo::Make(size, colorType, at, sk_ref_sp(colorSpace)); in onMakeTightSurface()
|
D | SkDraw_vertices.cpp | 204 kPremul_SkAlphaType, sk_ref_sp(deviceCS)); in convert_colors() 366 blendMode, sk_ref_sp(triShader), sk_ref_sp(shader)); in drawFixedVertices() 373 shaderPaint.setShader(sk_ref_sp(shader)); in drawFixedVertices() 485 blendMode, sk_ref_sp(colorShader), sk_ref_sp(shader)); in drawFixedVertices() 492 shaderPaint.setShader(sk_ref_sp(shader)); in drawFixedVertices()
|
D | SkColorSpace.cpp | 85 return sk_ref_sp(sk_srgb_singleton()); in MakeSRGB() 89 return sk_ref_sp(sk_srgb_linear_singleton()); in MakeSRGBLinear() 160 return sk_ref_sp(const_cast<SkColorSpace*>(this)); in makeLinearGamma() 167 return sk_ref_sp(const_cast<SkColorSpace*>(this)); in makeSRGBGamma()
|
D | SkPaintPriv.cpp | 99 p->setShader(sk_make_sp<SkColorFilterShader>(sk_ref_sp(shader), in RemoveColorFilter() 101 sk_ref_sp(filter))); in RemoveColorFilter()
|
D | SkTypeface.cpp | 42 return sk_ref_sp(this); in onMakeClone() 48 sk_ref_sp(const_cast<SkEmptyTypeface*>(this)), effects, desc); in onCreateScalerContext() 118 return sk_ref_sp(GetDefaultTypeface()); in MakeDefault() 140 return sk_ref_sp(GetDefaultTypeface(static_cast<SkTypeface::Style>( in MakeFromName() 475 font.setTypeface(sk_ref_sp(const_cast<SkTypeface*>(this))); in onComputeBounds()
|
D | SkDraw_atlas.cpp | 188 bmode, sk_ref_sp(colorShader), sk_ref_sp(updateShader)); in drawAtlas() 192 p.setShader(sk_ref_sp(shader)); in drawAtlas()
|
D | SkColorFilter.cpp | 127 SkColorInfo dstInfo = {kRGBA_F32_SkColorType, kPremul_SkAlphaType, sk_ref_sp(dstCS)}; in onFilterColor4f() 223 return sk_ref_sp(this); in makeComposed() 226 return sk_sp<SkColorFilter>(new SkComposeColorFilter(sk_ref_sp(this), std::move(inner))); in makeComposed() 314 return sk_ref_sp(gSingleton); in MakeSRGBGammaCF() 395 sk_sp<SkColorSpace> dstCS = sk_ref_sp(rawDstCS); in onFilterColor4f()
|
D | SkMiniRecorder.cpp | 93 TRY_TO_STORE(DrawTextBlob, p, sk_ref_sp(b), x, y); in drawTextBlob() 114 return sk_ref_sp(empty); in detachAsPicture()
|
D | SkStrikeSpec.cpp | 156 font.setTypeface(sk_ref_sp(&typeface)); in MakePDFVector() 210 fMaskFilter = sk_ref_sp(effects.fMaskFilter); in SkStrikeSpec() 211 fPathEffect = sk_ref_sp(effects.fPathEffect); in SkStrikeSpec()
|
/third_party/skia/src/ports/ |
D | SkFontConfigInterface.cpp | 23 return sk_ref_sp(gFontConfigInterface); in RefGlobal() 25 return sk_ref_sp(SkFontConfigInterface::GetSingletonDirectInterface()); in RefGlobal()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkFramebuffer.cpp | 58 auto fb = new GrVkFramebuffer(gpu, framebuffer, sk_ref_sp(colorAttachment), in Make() 59 sk_ref_sp(resolveAttachment), sk_ref_sp(stencilAttachment), in Make()
|
/third_party/skia/src/image/ |
D | SkImage.cpp | 147 return SkImageShader::Make(sk_ref_sp(const_cast<SkImage*>(this)), tmx, tmy, in makeShader() 202 return sk_ref_sp(const_cast<SkImage*>(this)); in makeSubset() 524 sk_ref_sp(const_cast<SkImage*>(this)), in makeWithFilter() 528 sk_ref_sp(const_cast<SkImage*>(this)), in makeWithFilter() 606 return sk_ref_sp(const_cast<SkImage*>(this)); in makeColorTypeAndColorSpace() 626 return sk_ref_sp(const_cast<SkImage*>(this)); in reinterpretColorSpace() 642 return sk_ref_sp(const_cast<SkImage*>(this)); in makeNonTextureImage() 650 return sk_ref_sp(const_cast<SkImage*>(this)); in makeRasterImage() 712 return sk_ref_sp((const_cast<SkImage*>(this))); in withMipmaps()
|
D | SkImage_Gpu.cpp | 209 if (auto direct = sk_ref_sp(rContext->asDirectContext())) { in MakeWithVolatileSrc() 314 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in onMakeColorTypeAndColorSpace() 407 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in new_wrapped_texture_common() 443 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in MakeFromCompressedTexture() 529 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(direct), in MakeTextureFromCompressed() 551 return sk_ref_sp(const_cast<SkImage*>(this)); in makeTextureImage() 566 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in makeTextureImage() 669 sk_sp<GrTexture> texture = sk_ref_sp(view.proxy()->peekTexture()); in MakeCrossContextFromPixmap() 753 sk_sp<SkImage> image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in MakeFromAHardwareBufferWithData() 818 sk_sp<GrTexture> textureRef = sk_ref_sp(texture); in MakeBackendTextureFromSkImage()
|
/third_party/skia/tools/fonts/ |
D | TestEmptyTypeface.h | 25 return sk_ref_sp(this); in onMakeClone() 31 sk_ref_sp(const_cast<TestEmptyTypeface*>(this)), effects, desc); in onCreateScalerContext()
|
/third_party/skia/tests/ |
D | GrMipMappedTest.cpp | 93 proxy = sk_ref_sp(sk_gpu_test::GetTextureImageProxy(image.get(), dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 146 sk_sp<GrTexture> texture = sk_ref_sp(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 470 auto sdc1Task = sk_ref_sp(sdc1->testingOnly_PeekLastOpsTask()); 485 auto sdc2Task = sk_ref_sp(sdc2->testingOnly_PeekLastOpsTask()); 501 auto mipmapRTCTask = sk_ref_sp(mipmapSDC->testingOnly_PeekLastOpsTask()); 527 sdc2Task = sk_ref_sp(sdc2->testingOnly_PeekLastOpsTask());
|
/third_party/skia/src/shaders/ |
D | SkLocalMatrixShader.cpp | 96 return sk_ref_sp(const_cast<SkShader*>(this)); in makeWithLocalMatrix() 109 baseShader = sk_ref_sp(const_cast<SkShader*>(this)); in makeWithLocalMatrix() 208 return sk_sp<SkShader>(new SkCTMShader(sk_ref_sp(this), postM)); in makeWithCTM()
|
D | SkColorFilterShader.cpp | 117 return sk_ref_sp(base); in makeWithColorFilter() 119 return sk_make_sp<SkColorFilterShader>(sk_ref_sp(base), 1.0f, filter); in makeWithColorFilter()
|
/third_party/skia/experimental/sktext/tests/ |
D | FontResolvedText.cpp | 49 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST() 69 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST()
|
/third_party/skia/tools/gpu/ |
D | ManagedBackendTexture.h | 103 mbet->fDContext = sk_ref_sp(dContext); in MakeWithData() 123 mbet->fDContext = sk_ref_sp(dContext); in MakeWithoutData()
|
/third_party/skia/src/gpu/ |
D | GrSurfaceProxyView.h | 65 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef() 76 return sk_ref_sp<GrRenderTargetProxy>(this->asRenderTargetProxy()); in asRenderTargetProxyRef()
|