Home
last modified time | relevance | path

Searched refs:sk_sp (Results 1751 - 1775 of 1890) sorted by relevance

1...<<717273747576

/third_party/skia/src/utils/win/
H A DSkWGL_win.cpp449 sk_sp<SkWGLPbufferContext> SkWGLPbufferContext::Create(HDC parentDC, in Create()
492 return sk_sp<SkWGLPbufferContext>(new SkWGLPbufferContext(pbuf, dc, glrc)); in Create()
/third_party/skia/tests/
H A DDrawPathTest.cpp340 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_infinite_dash()
360 sk_sp<SkPathEffect> dash(SkDashPathEffect::Make(intervals, 2, 0)); in test_crbug_165432()
H A DGrPorterDuffTest.cpp33 sk_sp<GrDirectContext> context = GrDirectContext::MakeMock(&mockOptions, GrContextOptions()); in DEF_GPUTEST()
89 sk_sp<const GrXferProcessor> xp( in XPInfo()
1034 sk_sp<const GrXferProcessor> xp_opaque( in test_lcd_coverage_fallback_case()
1049 sk_sp<const GrXferProcessor> xp( in test_lcd_coverage_fallback_case()
1083 sk_sp<GrTextureProxy> proxy = proxyProvider->wrapBackendTexture( in DEF_GPUTEST()
1102 sk_sp<const GrXferProcessor> xp( in DEF_GPUTEST()
/third_party/skia/src/ports/
H A DSkRemotableFontMgr_win_dw.cpp133 sk_sp<SkRemotableFontIdentitySet> fontIdSet(
350 sk_sp<const SkRemotableFontMgr_DirectWrite> fOuter;
H A DSkScalerContext_win_dw.cpp258 SkScalerContext_DW::SkScalerContext_DW(sk_sp<DWriteFontTypeface> typefaceRef, in SkScalerContext_DW()
676 sk_sp<SkData> data = SkData::MakeWithProc(glyphData.imageData, in generatePngMetrics()
1138 sk_sp<SkData> data = SkData::MakeWithProc(glyphData.imageData, in generatePngGlyphImage()
1142 sk_sp<SkImage> image = SkImage::MakeFromEncoded(std::move(data)); in generatePngGlyphImage()
/third_party/skia/tools/fonts/
H A Dcreate_test_font.cpp192 static void output_font(sk_sp<SkTypeface> face, const char* identifier, FILE* out) { in output_font()
297 sk_sp<SkTypeface> resourceTypeface = SkTypeface::MakeFromFile(filepath.c_str()); in generate_fonts()
/third_party/skia/tools/gpu/gl/angle/
H A DGLTestContext_angle.cpp328 sk_sp<const GrGLInterface> gl = sk_gpu_test::CreateANGLEGLInterface(); in ANGLEGLContext()
495 sk_sp<const GrGLInterface> CreateANGLEGLInterface() {
/third_party/skia/tools/sk_app/
H A DVulkanWindowContext.cpp349 fSurfaces = new sk_sp<SkSurface>[fImageCount]; in createBuffers()
487 sk_sp<SkSurface> VulkanWindowContext::getBackbufferSurface() { in getBackbufferSurface()
/third_party/skia/tools/sk_app/android/
H A Dsurface_glue_android.cpp38 gResourceFactory = [](const char* resource) -> sk_sp<SkData> { in config_resource_mgr()
48 sk_sp<SkData> data = SkData::MakeUninitialized(size); in config_resource_mgr()
/third_party/skia/tools/viewer/
H A DSkottieSlide.cpp58 explicit AudioProviderProxy(sk_sp<skresources::ResourceProvider> rp) in AudioProviderProxy()
62 sk_sp<skresources::ExternalTrackAsset> loadAudioAsset(const char path[],
/third_party/skia/experimental/sktext/include/
H A DText.h270 std::vector<sk_sp<SkTextBlob>>& getTextBlobs() { return fTextBlobs; } in getTextBlobs()
272 std::vector<sk_sp<SkTextBlob>> fTextBlobs;
/third_party/skia/gm/
H A Dcrop_imagefilter.cpp117 sk_sp<SkImage> make_image(SkCanvas* canvas, const SkRect* contentBounds) { in make_image()
198 sk_sp<SkImageFilter> filter = SkImageFilters::Blur(4.f, 4.f, nullptr); in draw_example()
/third_party/skia/bench/
H A DCompositingImagesBench.cpp103 fImages = std::make_unique<sk_sp<SkImage>[]>(numImages);
312 std::unique_ptr<sk_sp<SkImage>[]> fImages;
H A DTessellateBench.cpp29 static sk_sp<GrDirectContext> make_mock_context() { in make_mock_context()
234 sk_sp<const GrBuffer> buffer; in DEF_PATH_TESS_BENCH()
/third_party/skia/src/codec/
H A DSkCodec.cpp170 std::unique_ptr<SkCodec> SkCodec::MakeFromData(sk_sp<SkData> data, SkPngChunkReader* reader) { in MakeFromData()
458 std::tuple<sk_sp<SkImage>, SkCodec::Result> SkCodec::getImage(const SkImageInfo& info, in getImage()
478 std::tuple<sk_sp<SkImage>, SkCodec::Result> SkCodec::getImage() { in getImage()
H A DSkRawCodec.cpp249 sk_sp<SkData> data(SkData::MakeUninitialized(size));
370 sk_sp<SkData> data(SkData::MakeWithCopy(
375 sk_sp<SkData> data(SkData::MakeUninitialized(bytesToRead));
/third_party/skia/src/core/
H A DSkPathBuilder.cpp187 SkPath SkPathBuilder::make(sk_sp<SkPathRef> pr) const { in make()
230 return this->make(sk_sp<SkPathRef>(new SkPathRef(fPts, in snapshot()
237 auto path = this->make(sk_sp<SkPathRef>(new SkPathRef(std::move(fPts), in detach()
H A DSkScalerContext.cpp75 SkScalerContext::SkScalerContext(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects, in SkScalerContext()
558 sk_sp<SkMaskFilter> mf = std::move(fMaskFilter); in getImage()
1231 sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects, in MakeEmpty()
1235 SkScalerContext_Empty(sk_sp<SkTypeface> typeface, const SkScalerContextEffects& effects, in MakeEmpty()
/third_party/skia/src/gpu/ops/
H A DFillRRectOp.cpp129 sk_sp<const GrBuffer> fInstanceBuffer;
130 sk_sp<const GrBuffer> fVertexBuffer;
131 sk_sp<const GrBuffer> fIndexBuffer;
H A DStrokeRectOp.cpp213 sk_sp<const GrBuffer> vertexBuffer;
557 static sk_sp<const GrGpuBuffer> GetIndexBuffer(GrResourceProvider*, bool miterStroke);
635 sk_sp<const GrGpuBuffer> indexBuffer = in onPrepareDraws()
676 sk_sp<const GrGpuBuffer> AAStrokeRectOp::GetIndexBuffer(GrResourceProvider* resourceProvider, in GetIndexBuffer()
/third_party/skia/tools/skdiff/
H A Dskdiff_main.cpp330 sk_sp<SkData> fileBits(read_file(resource.fFullPath.c_str())); in get_bounds()
460 sk_sp<SkData> baseFileBits(read_file(drp.fBase.fFullPath.c_str())); in create_diff_images()
464 sk_sp<SkData> comparisonFileBits(read_file(drp.fComparison.fFullPath.c_str())); in create_diff_images()
/third_party/skia/modules/skparagraph/src/
H A DOneLineShaper.cpp444 std::vector<sk_sp<SkTypeface>> typefaces = fParagraph->fFontCollection->findTypefaces(textStyle.getFontFamilies(), textStyle.getFontStyle(), textStyle.getFontArguments());
491 sk_sp<SkTypeface> typeface;
681 this->matchResolvedFonts(block.fStyle, [&](sk_sp<SkTypeface> typeface) {
/third_party/skia/include/private/
H A DGrTypesPriv.h166 sk_sp<SkData> fOptionalStorage;
1282 static sk_sp<GrRefCntedCallback> Make(Callback proc, Context ctx) {
1286 return sk_sp<GrRefCntedCallback>(new GrRefCntedCallback(proc, ctx));
/third_party/skia/tools/debugger/
H A DDrawCommand.cpp601 sk_sp<SkData> data(SkData::MakeWithCopy(bytes, count)); in encode_data()
668 sk_sp<SkData> encoded = out.detachAsData(); in flatten()
710 sk_sp<SkImage> image(bitmap.asImage()); in flatten()
1068 ClipShaderCommand::ClipShaderCommand(sk_sp<SkShader> cs, SkClipOp op) in ClipShaderCommand()
1143 sk_sp<SkData> value) in DrawAnnotationCommand()
1346 sk_sp<SkImage> snapshot = fLayerManager->getLayerAsImage(fNodeId, fFrame); in execute()
1634 DrawTextBlobCommand::DrawTextBlobCommand(sk_sp<SkTextBlob> blob, in DrawTextBlobCommand()
1938 DrawVerticesCommand::DrawVerticesCommand(sk_sp<SkVertices> vertices, in DrawVerticesCommand()
/third_party/skia/samplecode/
H A DSampleQuadStroker.cpp91 static void erase(const sk_sp<SkSurface>& surface) { in erase()
124 sk_sp<SkShader> fShader;
125 sk_sp<SkSurface> fMinSurface;
126 sk_sp<SkSurface> fMaxSurface;

Completed in 31 milliseconds

1...<<717273747576