HomeSort by relevance Sort by last modified time
    Searched full:sk_sp (Results 601 - 625 of 2633) sorted by null

<<21222324252627282930>>

  /external/skia/tests/
TypefaceTest.cpp 27 sk_sp<SkData> dataCopy;
52 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromStream(new SkMemoryStream(sk_ref_sp(data))));
86 sk_sp<SkData> data(SkData::MakeFromStream(stream.get(), stream->getLength()));
105 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault();
115 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params);
147 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault();
151 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params);
179 sk_sp<SkTypeface> t1(SkTypeface::MakeFromName(nullptr, SkFontStyle()));
180 sk_sp<SkTypeface> t2(SkTypeface::MakeDefault());
193 static sk_sp<SkTypeface> Create() { return sk_sp<SkTypeface>(new SkEmptyTypeface());
    [all...]
SurfaceTest.cpp 43 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType,
51 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType,
64 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType,
72 static sk_sp<SkSurface> create_gpu_scratch_surface(GrContext* context,
213 sk_sp<SkSurface>& surface,
256 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
260 sk_sp<SkImage> image(surface->makeImageSnapshot());
304 sk_sp<SkImage> snap1(surface->makeImageSnapshot());
307 sk_sp<SkImage> snap2(surface->makeImageSnapshot());
352 sk_sp<SkImage> image0(surface->makeImageSnapshot())
    [all...]
  /external/skqp/gm/
tablecolorfilter.cpp 15 static sk_sp<SkShader> make_shader0(int w, int h) {
35 static sk_sp<SkShader> make_shader1(int w, int h) {
77 static sk_sp<SkColorFilter> make_null_cf() {
81 static sk_sp<SkColorFilter> make_cf0() {
85 static sk_sp<SkColorFilter> make_cf1() {
89 static sk_sp<SkColorFilter> make_cf2() {
93 static sk_sp<SkColorFilter> make_cf3() {
118 static sk_sp<SkColorFilter> (*gColorFilterMakers[])() = {
167 sk_sp<SkColorFilter> colorFilter1(gColorFilterMakers[i]());
168 sk_sp<SkImageFilter> imageFilter1(SkColorFilterImageFilter::Make
    [all...]
  /external/skqp/include/core/
SkColorSpace.h 85 static sk_sp<SkColorSpace> MakeSRGB();
91 static sk_sp<SkColorSpace> MakeSRGBLinear();
116 static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, Gamut gamut);
117 static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50);
118 static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs, Gamut gamut);
119 static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs,
122 static sk_sp<SkColorSpace> MakeRGB(SkGammaNamed gammaNamed, const SkMatrix44& toXYZD50);
127 static sk_sp<SkColorSpace> MakeICC(const void*, size_t);
191 virtual sk_sp<SkColorSpace> makeLinearGamma() const = 0;
198 virtual sk_sp<SkColorSpace> makeSRGBGamma() const = 0
    [all...]
SkFlattenable.h 53 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
68 static sk_sp<flattenable> Deserialize(const void* data, size_t size, \
70 return sk_sp<flattenable>(static_cast<flattenable*>( \
98 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
137 sk_sp<SkData> serialize(const SkSerialProcs* = nullptr) const;
138 static sk_sp<SkFlattenable> Deserialize(Type, const void* data, size_t length,
  /external/skqp/src/gpu/
SkGpuDevice.h 44 static sk_sp<SkGpuDevice> Make(GrContext*, sk_sp<GrRenderTargetContext> renderTargetContext,
55 static sk_sp<SkGpuDevice> Make(GrContext*, SkBudgeted, const SkImageInfo&,
117 sk_sp<SkSpecialImage> makeSpecial(const SkBitmap&) override;
118 sk_sp<SkSpecialImage> makeSpecial(const SkImage*) override;
119 sk_sp<SkSpecialImage> snapSpecial() override;
135 sk_sp<GrContext> fContext;
136 sk_sp<GrRenderTargetContext> fRenderTargetContext;
149 SkGpuDevice(GrContext*, sk_sp<GrRenderTargetContext>, int width, int height, unsigned flags);
153 sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps&) override
    [all...]
GrContext.cpp 95 sk_sp<GrContext> context(new GrDirectContext(backend));
109 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface) {
114 sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface,
116 sk_sp<GrContext> context(new GrDirectContext(kOpenGL_GrBackend));
128 sk_sp<GrContext> GrContext::MakeGL(const GrGLInterface* interface) {
132 sk_sp<GrContext> GrContext::MakeGL(const GrGLInterface* interface,
137 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions) {
142 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions
    [all...]
  /external/skqp/tests/
TypefaceTest.cpp 27 sk_sp<SkData> dataCopy;
52 sk_sp<SkTypeface> newTypeface(SkTypeface::MakeFromStream(new SkMemoryStream(sk_ref_sp(data))));
86 sk_sp<SkData> data(SkData::MakeFromStream(stream.get(), stream->getLength()));
105 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault();
115 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params);
147 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault();
151 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(distortable), params);
179 sk_sp<SkTypeface> t1(SkTypeface::MakeFromName(nullptr, SkFontStyle()));
180 sk_sp<SkTypeface> t2(SkTypeface::MakeDefault());
193 static sk_sp<SkTypeface> Create() { return sk_sp<SkTypeface>(new SkEmptyTypeface());
    [all...]
SurfaceTest.cpp 37 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType,
45 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType,
58 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType,
66 static sk_sp<SkSurface> create_gpu_scratch_surface(GrContext* context,
92 sk_sp<SkSurface>& surface,
135 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
139 sk_sp<SkImage> image(surface->makeImageSnapshot());
183 sk_sp<SkImage> snap1(surface->makeImageSnapshot());
186 sk_sp<SkImage> snap2(surface->makeImageSnapshot());
231 sk_sp<SkImage> image0(surface->makeImageSnapshot())
    [all...]
  /external/skqp/include/gpu/
GrContext.h 60 static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&);
61 static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>);
63 static sk_sp<GrContext> MakeGL(const GrGLInterface*);
64 static sk_sp<GrContext> MakeGL(const GrGLInterface*, const GrContextOptions&);
67 static sk_sp<GrContext> MakeVulkan(sk_sp<const GrVkBackendContext>, const GrContextOptions&);
68 static sk_sp<GrContext> MakeVulkan(sk_sp<const GrVkBackendContext>)
    [all...]
  /external/skia/experimental/skottie/
Skottie.cpp 68 sk_sp<sksg::Matrix> AttachMatrix(const Json::Value& t, AttachContext* ctx,
69 sk_sp<sksg::Matrix> parentMatrix) {
120 sk_sp<sksg::RenderNode> AttachOpacity(const Json::Value& jtransform, AttachContext* ctx,
121 sk_sp<sksg::RenderNode> childNode) {
145 sk_sp<sksg::RenderNode> AttachComposition(const Json::Value&, AttachContext* ctx);
147 sk_sp<sksg::Path> AttachPath(const Json::Value& jpath, AttachContext* ctx) {
155 sk_sp<sksg::GeometryNode> AttachPathGeometry(const Json::Value& jpath, AttachContext* ctx) {
161 sk_sp<sksg::GeometryNode> AttachRRectGeometry(const Json::Value& jrect, AttachContext* ctx) {
187 sk_sp<sksg::GeometryNode> AttachEllipseGeometry(const Json::Value& jellipse, AttachContext* ctx) {
211 sk_sp<sksg::GeometryNode> AttachPolystarGeometry(const Json::Value& jstar, AttachContext* ctx)
    [all...]
  /external/skia/src/effects/
SkLightingImageFilter.cpp 115 virtual sk_sp<SkImageFilterLight> makeColorSpace(SkColorSpaceXformer*) const = 0;
404 SkLightingImageFilterInternal(sk_sp<SkImageFilterLight> light,
406 sk_sp<SkImageFilter> input,
412 sk_sp<SkSpecialImage> filterImageGPU(SkSpecialImage* source,
418 sk_sp<GrTextureProxy>,
426 sk_sp<GrTextureProxy> srcProxy,
439 sk_sp<GrTextureProxy> srcProxy,
456 sk_sp<SkSpecialImage> SkLightingImageFilterInternal::filterImageGPU(
466 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context));
469 sk_sp<GrRenderTargetContext> renderTargetContext(context->makeDeferredRenderTargetContext
    [all...]
SkShaderMaskFilter.cpp 17 SkShaderMF(sk_sp<SkShader> shader) : fShader(std::move(shader)) {}
40 sk_sp<SkShader> fShader;
56 sk_sp<SkFlattenable> SkShaderMF::CreateProc(SkReadBuffer& buffer) {
131 sk_sp<SkMaskFilter> SkShaderMaskFilter::Make(sk_sp<SkShader> shader) {
132 return shader ? sk_sp<SkMaskFilter>(new SkShaderMF(std::move(shader))) : nullptr;
  /external/skqp/src/effects/
SkLightingImageFilter.cpp 115 virtual sk_sp<SkImageFilterLight> makeColorSpace(SkColorSpaceXformer*) const = 0;
404 SkLightingImageFilterInternal(sk_sp<SkImageFilterLight> light,
406 sk_sp<SkImageFilter> input,
412 sk_sp<SkSpecialImage> filterImageGPU(SkSpecialImage* source,
418 sk_sp<GrTextureProxy>,
426 sk_sp<GrTextureProxy> srcProxy,
439 sk_sp<GrTextureProxy> srcProxy,
456 sk_sp<SkSpecialImage> SkLightingImageFilterInternal::filterImageGPU(
466 sk_sp<GrTextureProxy> inputProxy(input->asTextureProxyRef(context));
469 sk_sp<GrRenderTargetContext> renderTargetContext(context->makeDeferredRenderTargetContext
    [all...]
  /external/skia/fuzz/
fuzz.cpp 64 static void fuzz_api(sk_sp<SkData>);
65 static void fuzz_color_deserialize(sk_sp<SkData>);
66 static void fuzz_filter_fuzz(sk_sp<SkData>);
67 static void fuzz_icc(sk_sp<SkData>);
68 static void fuzz_img2(sk_sp<SkData>);
69 static void fuzz_animated_img(sk_sp<SkData>);
70 static void fuzz_img(sk_sp<SkData>, uint8_t, uint8_t);
71 static void fuzz_path_deserialize(sk_sp<SkData>);
72 static void fuzz_region_deserialize(sk_sp<SkData>);
73 static void fuzz_region_set_path(sk_sp<SkData>)
    [all...]
  /external/skia/bench/
ImageFilterCollapse.cpp 28 void doPreDraw(sk_sp<SkColorFilter> colorFilters[], int nFilters) {
48 sk_sp<SkImageFilter> fImageFilter;
87 sk_sp<SkColorFilter> colorFilters[] = {
100 static sk_sp<SkColorFilter> make_brightness(float amount) {
109 static sk_sp<SkColorFilter> make_grayscale() {
126 sk_sp<SkColorFilter> colorFilters[] = {
  /external/skia/include/core/
SkFlattenable.h 53 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
68 static sk_sp<flattenable> Deserialize(const void* data, size_t size, \
70 return sk_sp<flattenable>(static_cast<flattenable*>( \
98 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
137 sk_sp<SkData> serialize(const SkSerialProcs* = nullptr) const;
138 static sk_sp<SkFlattenable> Deserialize(Type, const void* data, size_t length,
  /external/skia/src/core/
SkColorSpace_New.cpp 65 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeLinear() {
68 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeSRGB() {
71 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeGamma(float gamma) {
90 SkColorSpace_New::SkColorSpace_New(sk_sp<TransferFn> transferFn,
108 sk_sp<SkColorSpace> SkColorSpace_New::makeLinearGamma() const {
111 sk_sp<SkColorSpace> SkColorSpace_New::makeSRGBGamma() const {
SkDeferredDisplayListRecorder.cpp 67 fLazyProxyData = sk_sp<SkDeferredDisplayList::LazyProxyData>(
80 sk_sp<SkDeferredDisplayList::LazyProxyData> lazyProxyData = fLazyProxyData;
86 sk_sp<GrRenderTargetProxy> proxy = proxyProvider->createLazyRenderTargetProxy(
89 return sk_sp<GrSurface>();
104 sk_sp<GrSurfaceContext> c = fContext->contextPriv().makeWrappedSurfaceContext(
130 sk_sp<SkImage> img = fSurface->makeImageSnapshot();
  /external/skia/src/gpu/
GrBackendTextureImageGenerator.h 31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin,
32 sk_sp<GrSemaphore>,
33 SkAlphaType, sk_sp<SkColorSpace>);
44 sk_sp<GrTextureProxy> onGenerateTexture(GrContext*, const SkImageInfo&, const SkIPoint&,
51 uint32_t owningContextID, sk_sp<GrSemaphore>,
89 sk_sp<GrSemaphore> fSemaphore;
  /external/skia/src/gpu/effects/
GrRRectBlurEffect.h 30 static sk_sp<GrTextureProxy> find_or_create_rrect_blur_mask(GrContext* context,
51 sk_sp<GrTextureProxy> mask(
55 sk_sp<GrRenderTargetContext> rtc(context->makeDeferredRenderTargetContextWithFallback(
68 sk_sp<GrTextureProxy> srcProxy(rtc->asTextureProxyRef());
72 sk_sp<GrRenderTargetContext> rtc2(
109 sk_sp<GrTextureProxy> ninePatchSampler)
GrYUVtoRGBEffect.fp 40 static std::unique_ptr<GrFragmentProcessor> Make(sk_sp<GrTextureProxy> yProxy,
41 sk_sp<GrTextureProxy> uProxy,
42 sk_sp<GrTextureProxy> vProxy,
69 std::unique_ptr<GrFragmentProcessor> GrYUVtoRGBEffect::Make(sk_sp<GrTextureProxy> yProxy,
70 sk_sp<GrTextureProxy> uProxy,
71 sk_sp<GrTextureProxy> vProxy,
  /external/skia/src/gpu/mock/
GrMockGpu.cpp 27 sk_sp<GrGpu> GrMockGpu::Make(GrBackendContext backendContext,
32 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions,
38 return sk_sp<GrGpu>(new GrMockGpu(context, *mockOptions, contextOptions));
67 sk_sp<GrTexture> GrMockGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
75 return sk_sp<GrTexture>(
78 return sk_sp<GrTexture>(new GrMockTexture(this, budgeted, desc, mipMapsStatus, info));
  /external/skqp/bench/
ImageFilterCollapse.cpp 28 void doPreDraw(sk_sp<SkColorFilter> colorFilters[], int nFilters) {
48 sk_sp<SkImageFilter> fImageFilter;
87 sk_sp<SkColorFilter> colorFilters[] = {
100 static sk_sp<SkColorFilter> make_brightness(float amount) {
109 static sk_sp<SkColorFilter> make_grayscale() {
126 sk_sp<SkColorFilter> colorFilters[] = {
  /external/skqp/src/core/
SkColorSpace_New.cpp 65 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeLinear() {
68 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeSRGB() {
71 sk_sp<SkColorSpace_New::TransferFn> SkColorSpace_New::TransferFn::MakeGamma(float gamma) {
90 SkColorSpace_New::SkColorSpace_New(sk_sp<TransferFn> transferFn,
108 sk_sp<SkColorSpace> SkColorSpace_New::makeLinearGamma() const {
111 sk_sp<SkColorSpace> SkColorSpace_New::makeSRGBGamma() const {

Completed in 891 milliseconds

<<21222324252627282930>>