Home
last modified time | relevance | path

Searched refs:sk_sp (Results 1501 - 1525 of 2102) sorted by relevance

1...<<61626364656667686970>>...85

/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_compressor.cpp163 sk_sp<SkData> ImageCompressor::GpuCompress(std::string key, SkPixmap& pixmap, int32_t width, int32_t height) in GpuCompress()
279 void ImageCompressor::WriteToFile(std::string srcKey, sk_sp<SkData> compressedData, Size imgSize)
312 sk_sp<SkData> toWrite = SkData::MakeUninitialized(fileSize);
341 sk_sp<SkData> ImageCompressor::StripFileHeader(sk_sp<SkData> fileData)
/third_party/skia/src/gpu/gl/builders/
H A DGrGLProgramBuilder.cpp49 sk_sp<GrGLProgram> GrGLProgramBuilder::CreateProgram( in CreateProgram()
65 sk_sp<SkData> key = SkData::MakeWithoutCopy(desc.asKey(), desc.keyLength()); in CreateProgram()
165 sk_sp<SkData> key = SkData::MakeWithoutCopy(this->desc().asKey(), this->desc().keyLength()); in storeShaderInCache()
233 sk_sp<GrGLProgram> GrGLProgramBuilder::finalize(const GrGLPrecompiledProgram* precompiledProgram) { in finalize()
534 sk_sp<GrGLProgram> GrGLProgramBuilder::createProgram(GrGLuint programID) { in createProgram()
/third_party/skia/src/core/
H A DSkPathRef.cpp19 SkPathRef::Editor::Editor(sk_sp<SkPathRef>* pathRef, in Editor()
140 void SkPathRef::CreateTransformedCopy(sk_sp<SkPathRef>* dst,
153 sk_sp<const SkPathRef> srcKeepAlive;
224 void SkPathRef::Rewind(sk_sp<SkPathRef>* pathRef) {
489 void SkPathRef::addGenIDChangeListener(sk_sp<SkIDChangeListener> listener) {
H A DSkBitmap.cpp169 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) { in setPixelRef()
265 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, rowBytes); in tryAllocPixels()
285 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, in tryAllocPixelsFlags()
365 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, dst->rowBytes()); in allocPixelRef()
622 sk_sp<SkImage> SkBitmap::asImage() const { in asImage()
H A DSkVertices.cpp145 sk_sp<SkVertices> SkVertices::Builder::detach() { in detach()
199 sk_sp<SkVertices> SkVertices::MakeCopy(VertexMode mode, int vertexCount, in MakeCopy()
299 sk_sp<SkVertices> SkVerticesPriv::Decode(SkReadBuffer& buffer) { in Decode()
300 auto decode = [](SkReadBuffer& buffer) -> sk_sp<SkVertices> { in Decode()
H A DSkFont.cpp33 SkFont::SkFont(sk_sp<SkTypeface> face, SkScalar size, SkScalar scaleX, SkScalar skewX) in SkFont()
43 SkFont::SkFont(sk_sp<SkTypeface> face, SkScalar size) : SkFont(std::move(face), size, 1, 0) {} in SkFont()
45 SkFont::SkFont(sk_sp<SkTypeface> face) : SkFont(std::move(face), kDefault_Size, 1, 0) {} in SkFont()
310 sk_sp<SkTypeface> SkFont::refTypefaceOrDefault() const { in refTypefaceOrDefault()
H A DSkDeferredDisplayListPriv.h37 const SkTArray<sk_sp<GrRenderTask>>& renderTasks() const { in renderTasks()
H A DSkMipmapAccessor.h47 sk_sp<const SkMipmap> fCurrMip;
H A DSkMiniRecorder.h30 sk_sp<SkPicture> detachAsPicture(const SkRect* cull);
34 // sk_sp<SkPicture> pic(this->detachAsPicture(nullptr));
/third_party/skia/tests/
H A DGifTest.cpp212 sk_sp<SkData> data = SkData::MakeWithoutCopy(gGIFDataNoColormap, 31); in DEF_TEST()
315 sk_sp<SkData> data(GetResourceAsData("images/test640x479.gif")); in DEF_TEST()
360 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()
434 sk_sp<SkData> data(GetResourceAsData("images/box.gif")); in DEF_TEST()
440 sk_sp<SkImage> image(SkImage::MakeFromEncoded(data)); in DEF_TEST()
H A DNdkEncodeTest.cpp40 static sk_sp<SkData> encode_ndk(const SkPixmap& pmap, SkEncodedImageFormat format, int quality) { in encode_ndk()
268 sk_sp<SkColorSpace> cs; in DEF_TEST()
271 { sk_sp<SkColorSpace>(nullptr), "null" }, in DEF_TEST()
311 std::vector<sk_sp<SkColorSpace>> unsupportedCs; in DEF_TEST()
H A DTestUtils.cpp85 sk_sp<GrSurfaceProxy> proxy, in TestCopyFromSurface()
120 sk_sp<SkData> pngData = wStream.detachAsData(); in BipmapToBase64DataURI()
173 sk_sp<SkColorSpace> floatCS; in ComparePixels()
215 sk_sp<SkColorSpace> srcCS = SkColorSpace::MakeSRGBLinear(); in CheckSolidPixels()
H A DBackendAllocationTest.cpp42 std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, in test_wrapping()
52 sk_sp<ManagedBackendTexture> mbet = create(dContext, mipMapped, renderable); in test_wrapping()
82 sk_sp<SkSurface> surf = SkSurface::MakeFromBackendTexture(dContext, in test_wrapping()
98 sk_sp<SkImage> img = SkImage::MakeFromTexture(dContext, in test_wrapping()
270 sk_sp<GrSurfaceProxy> proxy; in check_base_readbacks()
310 std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, in test_color_init()
318 sk_sp<ManagedBackendTexture> mbet = create(dContext, color, mipmapped, renderable); in test_color_init()
467 std::function<sk_sp<ManagedBackendTexture>(GrDirectContext*, in test_pixmap_init()
490 sk_sp<ManagedBackendTexture> mbet = create(dContext, pixmaps, numMipLevels, origin, renderable); in test_pixmap_init()
/third_party/skia/tools/skqp/src/
H A Dskqp.cpp79 if (sk_sp<SkData> dat = mgr->open(kUnitTestsPath)) { in get_unit_tests()
124 if (sk_sp<SkData> dat = mgr->open(renderTests)) { in get_render_tests()
206 if (sk_sp<GrDirectContext> ctx = testCtx->makeContext(context_options())) { in print_backend_info()
225 static void write_to_file(const sk_sp<SkData>& src, const std::string& dst) { in write_to_file()
294 sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget( in evaluateGM()
/third_party/skia/gm/
H A Dblurrect.cpp85 static sk_sp<SkShader> make_radial() { in make_radial()
114 sk_sp<SkMaskFilter> fMaskFilters[kLastEnum_SkBlurStyle + 1];
491 sk_sp<SkImage> fReferenceMasks[kNumSigmas][kNumSizes][kNumSizes];
492 sk_sp<SkImage> fActualMasks[kNumSigmas][kNumSizes][kNumSizes];
493 sk_sp<SkImage> fMaskDifferences[kNumSigmas][kNumSizes][kNumSizes];
/third_party/skia/modules/skparagraph/src/
H A DParagraphImpl.h106 sk_sp<FontCollection> fonts,
113 sk_sp<FontCollection> fonts,
177 sk_sp<FontCollection> fontCollection() const { return fFontCollection; } in fontCollection()
231 sk_sp<SkPicture> getPicture() { return fPicture; } in getPicture()
422 sk_sp<SkPicture> fPicture; // kRecorded (cached: text styles)
/third_party/skia/src/ports/skia_ohos/
H A DFontConfig_ohos.cpp161 sk_sp<SkTypeface_OHOS> typeface = getTypefaceSP(styleIndex, index, isFallback); in getTypeface()
165 sk_sp<SkTypeface_OHOS> FontConfig_OHOS::getTypefaceSP(int styleIndex, int index, bool isFallback) const in getTypefaceSP()
208 sk_sp<SkTypeface_OHOS> tp = matchFontStyle(*pSet, style); in getTypeface()
258 sk_sp<SkTypeface_OHOS> FontConfig_OHOS::matchFontStyle(const TypefaceSet& typefaceSet, in matchFontStyle()
265 sk_sp<SkTypeface_OHOS> res = nullptr; in matchFontStyle()
934 sk_sp<SkTypeface_OHOS> typeface = sk_make_sp<SkTypeface_OHOS>(specifiedName, newFont); in insertTtcFont()
973 sk_sp<SkTypeface_OHOS> typeface = sk_make_sp<SkTypeface_OHOS>(specifiedName, newFont); in insertVariableFont()
1052 sk_sp<SkTypeface_OHOS> typeface = sk_make_sp<SkTypeface_OHOS>(specifiedName, font); in loadFont()
1188 sk_sp<SkTypeface_OHOS> newTypeface = sk_make_sp<SkTypeface_OHOS>(familyName, font); in buildSubTypefaceSet()
/foundation/arkui/ace_engine/frameworks/core/components/track/
H A Drosen_render_linear_track.h52 sk_sp<SkShader> BlendSkShader(const SkPoint pts, const SkColor color, bool useAnimator = false);
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_fe_color_matrix.h39 void OnAsImageFilter(sk_sp<SkImageFilter>& imageFilter,
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/effect/blender_fuzzer/
H A Dblender_fuzzer.cpp49 sk_sp<SkBlender> skBlender = SkBlender::Mode(static_cast<SkBlendMode>(skBlendMode % BLENDMODE_SIZE)); in BlenderFuzzTest001()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/egl_image/include/
H A Dpixel_map_from_surface.h54 sk_sp<SkSurface> targetSurface_; // a tmp surface(renderTarget) to draw surfacebuffer and get the result.
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dcolor_space_impl.h43 virtual sk_sp<SkColorSpace> GetSkColorSpace() const = 0;
/third_party/skia/samplecode/
H A DSampleSVGFile.cpp60 sk_sp<SkSVGDOM> fDom;
/third_party/skia/src/gpu/effects/
H A DGrDisableColorXP.cpp65 sk_sp<const GrXferProcessor> GrDisableColorXPFactory::MakeXferProcessor() { in MakeXferProcessor()
/third_party/skia/src/gpu/mtl/
H A DGrMtlBuffer.h21 static sk_sp<GrMtlBuffer> Make(GrMtlGpu*, size_t size, GrGpuBufferType intendedType,

Completed in 22 milliseconds

1...<<61626364656667686970>>...85