| /external/skia/src/gpu/ops/ |
| GrDrawVerticesOp.h | 39 static std::unique_ptr<GrDrawOp> Make(GrPaint&&, sk_sp<SkVertices>, const SkMatrix& viewMatrix, 40 GrAAType, bool gammaCorrect, sk_sp<GrColorSpaceXform>, 43 GrDrawVerticesOp(const Helper::MakeArgs& helperArgs, GrColor, sk_sp<SkVertices>, 44 GrPrimitiveType, GrAAType, bool gammaCorrect, sk_sp<GrColorSpaceXform>, 68 sk_sp<GrGeometryProcessor> makeGP(bool* hasColorAttribute, bool* hasLocalCoordAttribute) const; 81 sk_sp<SkVertices> fVertices; 129 sk_sp<GrColorSpaceXform> fColorSpaceXform;
|
| /external/skia/tools/sk_app/ios/ |
| RasterWindowContext_ios.cpp | 35 sk_sp<SkSurface> getBackbufferSurface() override; 39 sk_sp<const GrGLInterface> onInitializeContext() override; 45 sk_sp<SkSurface> fBackbufferSurface; 65 sk_sp<const GrGLInterface> RasterWindowContext_ios::onInitializeContext() { 96 sk_sp<SkSurface> RasterWindowContext_ios::getBackbufferSurface() { return fBackbufferSurface; } 101 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot(); 103 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface();
|
| /external/skia/tools/sk_app/mac/ |
| RasterWindowContext_mac.cpp | 35 sk_sp<SkSurface> getBackbufferSurface() override; 39 sk_sp<const GrGLInterface> onInitializeContext() override; 45 sk_sp<SkSurface> fBackbufferSurface; 65 sk_sp<const GrGLInterface> RasterWindowContext_mac::onInitializeContext() { 96 sk_sp<SkSurface> RasterWindowContext_mac::getBackbufferSurface() { return fBackbufferSurface; } 101 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot(); 103 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface();
|
| /external/skqp/experimental/sksg/paint/ |
| SkSGGradient.h | 42 virtual sk_sp<SkShader> onMakeShader(const std::vector<SkColor>& colors, 57 static sk_sp<LinearGradient> Make() { 58 return sk_sp<LinearGradient>(new LinearGradient()); 65 sk_sp<SkShader> onMakeShader(const std::vector<SkColor>& colors, 79 static sk_sp<RadialGradient> Make() { 80 return sk_sp<RadialGradient>(new RadialGradient()); 89 sk_sp<SkShader> onMakeShader(const std::vector<SkColor>& colors,
|
| /external/skqp/include/core/ |
| SkMallocPixelRef.h | 26 static sk_sp<SkPixelRef> MakeDirect(const SkImageInfo&, void* addr, size_t rowBytes); 38 static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes); 43 static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes); 58 static sk_sp<SkPixelRef> MakeWithProc(const SkImageInfo& info, size_t rowBytes, void* addr, 69 static sk_sp<SkPixelRef> MakeWithData(const SkImageInfo&, size_t rowBytes, sk_sp<SkData> data); 76 static sk_sp<SkPixelRef> MakeUsing(void*(*alloc)(size_t),
|
| /external/skqp/include/private/ |
| SkSurfaceCharacterization.h | 64 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } 70 void set(sk_sp<GrContextThreadSafeProxy> contextInfo, 78 sk_sp<SkColorSpace> colorSpace, 94 sk_sp<GrContextThreadSafeProxy> fContextInfo; 104 sk_sp<SkColorSpace> fColorSpace; 121 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } 127 sk_sp<SkColorSpace> fColorSpace;
|
| /external/skqp/src/gpu/ops/ |
| GrDrawVerticesOp.h | 39 static std::unique_ptr<GrDrawOp> Make(GrPaint&&, sk_sp<SkVertices>, const SkMatrix& viewMatrix, 40 GrAAType, bool gammaCorrect, sk_sp<GrColorSpaceXform>, 43 GrDrawVerticesOp(const Helper::MakeArgs& helperArgs, GrColor, sk_sp<SkVertices>, 44 GrPrimitiveType, GrAAType, bool gammaCorrect, sk_sp<GrColorSpaceXform>, 68 sk_sp<GrGeometryProcessor> makeGP(bool* hasColorAttribute, bool* hasLocalCoordAttribute) const; 81 sk_sp<SkVertices> fVertices; 129 sk_sp<GrColorSpaceXform> fColorSpaceXform;
|
| /external/skqp/tests/ |
| AnnotationTest.cpp | 34 sk_sp<SkData> data(SkData::MakeWithCString("http://www.gooogle.com")); 44 sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream)); 50 sk_sp<SkData> data(SkData::MakeWithCString("http://www.gooogle.com")); 54 sk_sp<SkData> out = outStream.detachAsData(); 63 sk_sp<SkDocument> doc(SkDocument::MakePDF(&outStream)); 68 sk_sp<SkData> data(SkData::MakeWithCString("example")); 72 sk_sp<SkData> out = outStream.detachAsData();
|
| ProxyConversionTest.cpp | 22 static sk_sp<GrSurfaceProxy> make_wrapped_FBO0(GrProxyProvider* provider, 33 static sk_sp<GrSurfaceProxy> make_wrapped_offscreen_rt(GrProxyProvider* provider, 40 static sk_sp<GrSurfaceProxy> make_wrapped_texture(GrProxyProvider* provider, 59 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(proxyProvider, reporter, desc)); 71 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(proxyProvider, desc)); 85 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); 100 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); 124 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, 137 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, 153 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox [all...] |
| /external/skqp/tools/sk_app/ios/ |
| RasterWindowContext_ios.cpp | 35 sk_sp<SkSurface> getBackbufferSurface() override; 39 sk_sp<const GrGLInterface> onInitializeContext() override; 45 sk_sp<SkSurface> fBackbufferSurface; 65 sk_sp<const GrGLInterface> RasterWindowContext_ios::onInitializeContext() { 106 sk_sp<SkSurface> RasterWindowContext_ios::getBackbufferSurface() { return fBackbufferSurface; } 111 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot(); 113 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface();
|
| /external/skqp/tools/sk_app/mac/ |
| RasterWindowContext_mac.cpp | 35 sk_sp<SkSurface> getBackbufferSurface() override; 39 sk_sp<const GrGLInterface> onInitializeContext() override; 45 sk_sp<SkSurface> fBackbufferSurface; 65 sk_sp<const GrGLInterface> RasterWindowContext_mac::onInitializeContext() { 106 sk_sp<SkSurface> RasterWindowContext_mac::getBackbufferSurface() { return fBackbufferSurface; } 111 sk_sp<SkImage> snapshot = fBackbufferSurface->makeImageSnapshot(); 113 sk_sp<SkSurface> gpuSurface = INHERITED::getBackbufferSurface();
|
| /frameworks/base/libs/hwui/tests/common/scenes/ |
| HwBitmapInCompositeShader.cpp | 53 sk_sp<Bitmap> hardwareBitmap(Bitmap::createFrom(buffer)); 54 sk_sp<SkShader> hardwareShader(createBitmapShader(*hardwareBitmap)); 61 sk_sp<SkShader> gradientShader = SkGradientShader::MakeRadial( 64 sk_sp<SkShader> compositeShader( 74 sk_sp<SkShader> createBitmapShader(Bitmap& bitmap) { 75 sk_sp<SkColorFilter> colorFilter; 76 sk_sp<SkImage> image = bitmap.makeImage(&colorFilter);
|
| /external/skia/experimental/skottie/ |
| SkottieProperties.h | 63 explicit CompositeRRect(sk_sp<sksg::RRect>); 72 sk_sp<sksg::RRect> fRRectNode; 83 CompositePolyStar(sk_sp<sksg::Path>, Type); 96 sk_sp<sksg::Path> fPathNode; 104 explicit CompositeTransform(sk_sp<sksg::Matrix>); 116 sk_sp<sksg::Matrix> fMatrixNode; 128 CompositeGradient(sk_sp<sksg::Gradient>, size_t stopCount); 133 sk_sp<sksg::Gradient> fGradient; 146 CompositeLinearGradient(sk_sp<sksg::LinearGradient>, size_t stopCount); 156 CompositeRadialGradient(sk_sp<sksg::RadialGradient>, size_t stopCount) [all...] |
| /external/skia/gm/ |
| color4f.cpp | 17 static sk_sp<SkShader> make_opaque_color() { 21 static sk_sp<SkShader> make_alpha_color() { 25 static sk_sp<SkColorFilter> make_cf_null() { 29 static sk_sp<SkColorFilter> make_cf0() { 35 static sk_sp<SkColorFilter> make_cf1() { 47 static sk_sp<SkColorFilter> make_cf2() { 53 sk_sp<SkShader> (*shaders[])() { make_opaque_color, make_alpha_color }; 54 sk_sp<SkColorFilter> (*filters[])() { make_cf_null, make_cf0, make_cf1, make_cf2 }; 75 sk_sp<SkColorSpace> colorSpaces[]{ 110 sk_sp<SkShader> shaders[] [all...] |
| encode.cpp | 33 sk_sp<SkData> pngData(sk_tool_utils::EncodeImageToData(orig, SkEncodedImageFormat::kPNG, 100)); 34 sk_sp<SkData> jpegData(sk_tool_utils::EncodeImageToData(orig, SkEncodedImageFormat::kJPEG, 100)); 36 sk_sp<SkImage> pngImage = SkImage::MakeFromEncoded(pngData); 37 sk_sp<SkImage> jpegImage = SkImage::MakeFromEncoded(jpegData); 56 static sk_sp<SkImage> imgs[8];
|
| /external/skia/include/private/ |
| SkSurfaceCharacterization.h | 58 sk_sp<GrContextThreadSafeProxy> refContextInfo() const { return fContextInfo; } 72 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } 79 SkSurfaceCharacterization(sk_sp<GrContextThreadSafeProxy> contextInfo, 84 sk_sp<SkColorSpace> colorSpace, 100 void set(sk_sp<GrContextThreadSafeProxy> contextInfo, 109 sk_sp<SkColorSpace> colorSpace, 128 sk_sp<GrContextThreadSafeProxy> fContextInfo; 139 sk_sp<SkColorSpace> fColorSpace; 158 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } 164 sk_sp<SkColorSpace> fColorSpace [all...] |
| /external/skia/src/effects/ |
| SkComposeImageFilter.cpp | 15 sk_sp<SkImageFilter> SkComposeImageFilter::Make(sk_sp<SkImageFilter> outer, 16 sk_sp<SkImageFilter> inner) { 23 sk_sp<SkImageFilter> inputs[2] = { std::move(outer), std::move(inner) }; 24 return sk_sp<SkImageFilter>(new SkComposeImageFilter(inputs)); 34 sk_sp<SkSpecialImage> SkComposeImageFilter::onFilterImage(SkSpecialImage* source, 44 sk_sp<SkSpecialImage> inner(this->filterInput(1, source, innerContext, &innerOffset)); 56 sk_sp<SkSpecialImage> outer(this->filterInput(0, inner.get(), outerContext, &outerOffset)); 65 sk_sp<SkImageFilter> SkComposeImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { 84 sk_sp<SkFlattenable> SkComposeImageFilter::CreateProc(SkReadBuffer& buffer) [all...] |
| /external/skia/src/gpu/ |
| GrDrawingManager.h | 40 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>, 41 sk_sp<SkColorSpace>, 44 sk_sp<GrTextureContext> makeTextureContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>); 50 sk_sp<GrRenderTargetOpList> newRTOpList(GrRenderTargetProxy* rtp, bool managedOpList); 51 sk_sp<GrTextureOpList> newTextureOpList(GrTextureProxy* textureProxy); 122 SkTArray<sk_sp<GrOpList>> fOpLists; 126 SkSTArray<8, sk_sp<GrOpList>> fOnFlushCBOpLists [all...] |
| /external/skia/src/ports/ |
| SkFontMgr_custom.h | 102 void appendTypeface(sk_sp<SkTypeface_Custom> typeface); 110 SkTArray<sk_sp<SkTypeface_Custom>> fStyles; 125 typedef SkTArray<sk_sp<SkFontStyleSet_Custom>> Families; 145 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override; 146 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const override; 147 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const override; 148 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> data) const override; 149 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override; 150 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override [all...] |
| /external/skia/tests/ |
| ProxyConversionTest.cpp | 22 static sk_sp<GrSurfaceProxy> make_wrapped_FBO0(GrProxyProvider* provider, 33 static sk_sp<GrSurfaceProxy> make_wrapped_offscreen_rt(GrProxyProvider* provider, 40 static sk_sp<GrSurfaceProxy> make_wrapped_texture(GrProxyProvider* provider, 59 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(proxyProvider, reporter, desc)); 71 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(proxyProvider, desc)); 85 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); 100 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); 124 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, 137 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, 153 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox [all...] |
| /external/skqp/experimental/skottie/ |
| SkottieProperties.h | 63 explicit CompositeRRect(sk_sp<sksg::RRect>); 72 sk_sp<sksg::RRect> fRRectNode; 83 CompositePolyStar(sk_sp<sksg::Path>, Type); 96 sk_sp<sksg::Path> fPathNode; 104 explicit CompositeTransform(sk_sp<sksg::Matrix>); 116 sk_sp<sksg::Matrix> fMatrixNode; 128 CompositeGradient(sk_sp<sksg::Gradient>, size_t stopCount); 133 sk_sp<sksg::Gradient> fGradient; 146 CompositeLinearGradient(sk_sp<sksg::LinearGradient>, size_t stopCount); 156 CompositeRadialGradient(sk_sp<sksg::RadialGradient>, size_t stopCount) [all...] |
| /external/skqp/gm/ |
| color4f.cpp | 17 static sk_sp<SkShader> make_opaque_color() { 21 static sk_sp<SkShader> make_alpha_color() { 25 static sk_sp<SkColorFilter> make_cf_null() { 29 static sk_sp<SkColorFilter> make_cf0() { 35 static sk_sp<SkColorFilter> make_cf1() { 48 static sk_sp<SkColorFilter> make_cf2() { 54 sk_sp<SkShader> (*shaders[])() { make_opaque_color, make_alpha_color }; 55 sk_sp<SkColorFilter> (*filters[])() { make_cf_null, make_cf0, make_cf1, make_cf2 }; 76 sk_sp<SkColorSpace> colorSpaces[]{ 111 sk_sp<SkShader> shaders[] [all...] |
| /external/skqp/src/effects/ |
| SkComposeImageFilter.cpp | 15 sk_sp<SkImageFilter> SkComposeImageFilter::Make(sk_sp<SkImageFilter> outer, 16 sk_sp<SkImageFilter> inner) { 23 sk_sp<SkImageFilter> inputs[2] = { std::move(outer), std::move(inner) }; 24 return sk_sp<SkImageFilter>(new SkComposeImageFilter(inputs)); 34 sk_sp<SkSpecialImage> SkComposeImageFilter::onFilterImage(SkSpecialImage* source, 44 sk_sp<SkSpecialImage> inner(this->filterInput(1, source, innerContext, &innerOffset)); 56 sk_sp<SkSpecialImage> outer(this->filterInput(0, inner.get(), outerContext, &outerOffset)); 65 sk_sp<SkImageFilter> SkComposeImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { 84 sk_sp<SkFlattenable> SkComposeImageFilter::CreateProc(SkReadBuffer& buffer) [all...] |
| /external/skqp/src/gpu/ |
| GrDrawingManager.h | 40 sk_sp<GrRenderTargetContext> makeRenderTargetContext(sk_sp<GrSurfaceProxy>, 41 sk_sp<SkColorSpace>, 44 sk_sp<GrTextureContext> makeTextureContext(sk_sp<GrSurfaceProxy>, sk_sp<SkColorSpace>); 50 sk_sp<GrRenderTargetOpList> newRTOpList(GrRenderTargetProxy* rtp, bool managedOpList); 51 sk_sp<GrTextureOpList> newTextureOpList(GrTextureProxy* textureProxy); 132 SkTArray<sk_sp<GrOpList>> fOpLists; 136 SkSTArray<8, sk_sp<GrOpList>> fOnFlushCBOpLists [all...] |
| /external/skqp/src/ports/ |
| SkFontMgr_custom.h | 102 void appendTypeface(sk_sp<SkTypeface_Custom> typeface); 110 SkTArray<sk_sp<SkTypeface_Custom>> fStyles; 125 typedef SkTArray<sk_sp<SkFontStyleSet_Custom>> Families; 145 sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData> data, int ttcIndex) const override; 146 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const override; 147 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset>, const SkFontArguments&) const override; 148 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> data) const override; 149 sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override; 150 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle style) const override [all...] |