/external/skia/include/core/ |
D | SkImage.h | 70 static sk_sp<SkImage> MakeRasterCopy(const SkPixmap& pixmap); 86 static sk_sp<SkImage> MakeRasterData(const Info& info, sk_sp<SkData> pixels, size_t rowBytes); 110 static sk_sp<SkImage> MakeFromRaster(const SkPixmap& pixmap, 128 static sk_sp<SkImage> MakeFromBitmap(const SkBitmap& bitmap); 145 static sk_sp<SkImage> MakeFromGenerator(std::unique_ptr<SkImageGenerator> imageGenerator, 159 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr); 165 static sk_sp<SkImage> MakeFromTexture(GrContext* context, in MakeFromTexture() 169 sk_sp<SkColorSpace> colorSpace) { in MakeFromTexture() 176 static sk_sp<SkImage> MakeFromTexture(GrContext* context, 180 sk_sp<SkColorSpace> colorSpace, [all …]
|
D | SkRefCnt.h | 246 template <typename T> class sk_sp { 248 using unspecified_bool_type = T* sk_sp::*; 252 constexpr sk_sp() : fPtr(nullptr) {} in sk_sp() function 253 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} in sk_sp() function 259 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp() function 261 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp() function 268 sk_sp(sk_sp<T>&& that) : fPtr(that.release()) {} in sk_sp() function 270 sk_sp(sk_sp<U>&& that) : fPtr(that.release()) {} in sk_sp() function 276 explicit sk_sp(T* obj) : fPtr(obj) {} in sk_sp() function 281 ~sk_sp() { in ~sk_sp() [all …]
|
D | SkShader.h | 178 sk_sp<SkShader> makeWithLocalMatrix(const SkMatrix&) const; 184 sk_sp<SkShader> makeWithColorFilter(sk_sp<SkColorFilter>) const; 192 static sk_sp<SkShader> MakeEmptyShader(); 198 static sk_sp<SkShader> MakeColorShader(SkColor); 206 static sk_sp<SkShader> MakeColorShader(const SkColor4f&, sk_sp<SkColorSpace>); 218 static sk_sp<SkShader> MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src, 224 static sk_sp<SkShader> MakeComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, in MakeComposeShader() 237 static sk_sp<SkShader> MakeMixer(sk_sp<SkShader> dst, sk_sp<SkShader> src, float lerp) { in MakeMixer() 255 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 274 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy, [all …]
|
D | SkSurface.h | 58 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 86 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 112 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 131 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 154 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 181 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 184 sk_sp<SkColorSpace> colorSpace, 213 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 217 sk_sp<SkColorSpace> colorSpace, 240 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context, [all …]
|
/external/skqp/include/core/ |
D | SkImage.h | 54 static sk_sp<SkImage> MakeRasterCopy(const SkPixmap& pixmap); 55 static sk_sp<SkImage> MakeRasterData(const Info& info, sk_sp<SkData> pixels, size_t rowBytes); 66 static sk_sp<SkImage> MakeFromRaster(const SkPixmap& pixmap, 74 static sk_sp<SkImage> MakeFromBitmap(const SkBitmap& bitmap); 82 static sk_sp<SkImage> MakeFromGenerator(std::unique_ptr<SkImageGenerator> imageGenerator, 91 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr); 104 static sk_sp<SkImage> MakeFromTexture(GrContext* context, in MakeFromTexture() 108 sk_sp<SkColorSpace> colorSpace) { in MakeFromTexture() 123 static sk_sp<SkImage> MakeFromTexture(GrContext* context, 127 sk_sp<SkColorSpace> colorSpace, [all …]
|
D | SkRefCnt.h | 246 template <typename T> class sk_sp { 248 using unspecified_bool_type = T* sk_sp::*; 252 constexpr sk_sp() : fPtr(nullptr) {} in sk_sp() function 253 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} in sk_sp() function 259 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp() function 261 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp() function 268 sk_sp(sk_sp<T>&& that) : fPtr(that.release()) {} in sk_sp() function 270 sk_sp(sk_sp<U>&& that) : fPtr(that.release()) {} in sk_sp() function 276 explicit sk_sp(T* obj) : fPtr(obj) {} in sk_sp() function 281 ~sk_sp() { in ~sk_sp() [all …]
|
D | SkShader.h | 175 sk_sp<SkShader> makeWithLocalMatrix(const SkMatrix&) const; 181 sk_sp<SkShader> makeWithColorFilter(sk_sp<SkColorFilter>) const; 189 static sk_sp<SkShader> MakeEmptyShader(); 195 static sk_sp<SkShader> MakeColorShader(SkColor); 203 static sk_sp<SkShader> MakeColorShader(const SkColor4f&, sk_sp<SkColorSpace>); 215 static sk_sp<SkShader> MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src, 221 static sk_sp<SkShader> MakeComposeShader(sk_sp<SkShader> dst, sk_sp<SkShader> src, in MakeComposeShader() 234 static sk_sp<SkShader> MakeMixer(sk_sp<SkShader> dst, sk_sp<SkShader> src, float lerp) { in MakeMixer() 252 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy, 271 static sk_sp<SkShader> MakePictureShader(sk_sp<SkPicture> src, TileMode tmx, TileMode tmy, [all …]
|
D | SkSurface.h | 47 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 55 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 69 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 75 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 85 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 96 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 99 sk_sp<SkColorSpace> colorSpace, 114 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 118 sk_sp<SkColorSpace> colorSpace, 121 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context, [all …]
|
/external/skia/src/sksl/ |
D | SkSLUtil.h | 179 static sk_sp<GrShaderCaps> Default() { 180 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 186 static sk_sp<GrShaderCaps> Version450Core() { 187 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 192 static sk_sp<GrShaderCaps> Version110() { 193 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 199 static sk_sp<GrShaderCaps> UsesPrecisionModifiers() { 200 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 206 static sk_sp<GrShaderCaps> CannotUseMinAndAbsTogether() { 207 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); [all …]
|
/external/skqp/src/sksl/ |
D | SkSLUtil.h | 191 static sk_sp<GrShaderCaps> Default() { 192 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 198 static sk_sp<GrShaderCaps> Version450Core() { 199 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 204 static sk_sp<GrShaderCaps> Version110() { 205 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 211 static sk_sp<GrShaderCaps> UsesPrecisionModifiers() { 212 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); 218 static sk_sp<GrShaderCaps> CannotUseMinAndAbsTogether() { 219 sk_sp<GrShaderCaps> result = sk_make_sp<GrShaderCaps>(GrContextOptions()); [all …]
|
/external/skqp/src/core/ |
D | SkPathEffect.cpp | 38 SkPairPathEffect(sk_sp<SkPathEffect> pe0, sk_sp<SkPathEffect> pe1) in SkPairPathEffect() 51 sk_sp<SkPathEffect> fPE0; 52 sk_sp<SkPathEffect> fPE1; 87 static sk_sp<SkPathEffect> Make(sk_sp<SkPathEffect> outer, sk_sp<SkPathEffect> inner) { in Make() 94 return sk_sp<SkPathEffect>(new SkComposePathEffect(outer, inner)); in Make() 117 SkComposePathEffect(sk_sp<SkPathEffect> outer, sk_sp<SkPathEffect> inner) in SkComposePathEffect() 129 sk_sp<SkFlattenable> SkComposePathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc() 130 sk_sp<SkPathEffect> pe0(buffer.readPathEffect()); in CreateProc() 131 sk_sp<SkPathEffect> pe1(buffer.readPathEffect()); in CreateProc() 157 static sk_sp<SkPathEffect> Make(sk_sp<SkPathEffect> first, sk_sp<SkPathEffect> second) { in Make() [all …]
|
/external/skia/src/core/ |
D | SkPathEffect.cpp | 38 SkPairPathEffect(sk_sp<SkPathEffect> pe0, sk_sp<SkPathEffect> pe1) in SkPairPathEffect() 51 sk_sp<SkPathEffect> fPE0; 52 sk_sp<SkPathEffect> fPE1; 87 static sk_sp<SkPathEffect> Make(sk_sp<SkPathEffect> outer, sk_sp<SkPathEffect> inner) { in Make() 94 return sk_sp<SkPathEffect>(new SkComposePathEffect(outer, inner)); in Make() 117 SkComposePathEffect(sk_sp<SkPathEffect> outer, sk_sp<SkPathEffect> inner) in SkComposePathEffect() 129 sk_sp<SkFlattenable> SkComposePathEffect::CreateProc(SkReadBuffer& buffer) { in CreateProc() 130 sk_sp<SkPathEffect> pe0(buffer.readPathEffect()); in CreateProc() 131 sk_sp<SkPathEffect> pe1(buffer.readPathEffect()); in CreateProc() 157 static sk_sp<SkPathEffect> Make(sk_sp<SkPathEffect> first, sk_sp<SkPathEffect> second) { in Make() [all …]
|
/external/skqp/src/gpu/ |
D | GrResourceProvider.h | 50 sk_sp<T> findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() 51 return sk_sp<T>(static_cast<T*>(this->findResourceByUniqueKey(key).release())); in findByUniqueKey() 63 sk_sp<GrTexture> createApproxTexture(const GrSurfaceDesc&, uint32_t flags); 67 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, uint32_t flags = 0); 69 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, 74 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel&); 87 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, 95 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex, 108 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&); 122 sk_sp<const GrBuffer> findOrMakeStaticBuffer(GrBufferType intendedType, size_t size, [all …]
|
D | GrProxyProvider.h | 28 GrProxyProvider(GrResourceProvider*, GrResourceCache*, sk_sp<const GrCaps>, GrSingleOwner*); 53 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 59 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 67 sk_sp<GrTextureProxy> createInstantiatedProxy(const GrSurfaceDesc&, SkBackingFit, SkBudgeted, 75 sk_sp<GrTextureProxy> createTextureProxy(const GrSurfaceDesc&, SkBudgeted, 83 sk_sp<GrTextureProxy> createTextureProxy(sk_sp<SkImage> srcImage, 97 sk_sp<GrTextureProxy> createMipMapProxy(const GrSurfaceDesc&, SkBudgeted, 109 sk_sp<GrTextureProxy> createMipMapProxy(const GrSurfaceDesc&, SkBudgeted); 114 sk_sp<GrTextureProxy> createProxy(const GrSurfaceDesc&, SkBackingFit, SkBudgeted, 124 sk_sp<GrTextureProxy> createWrappedTextureProxy(const GrBackendTexture&, GrSurfaceOrigin, [all …]
|
/external/skia/src/gpu/ |
D | GrResourceProvider.h | 52 sk_sp<T> findByUniqueKey(const GrUniqueKey& key) { in findByUniqueKey() 53 return sk_sp<T>(static_cast<T*>(this->findResourceByUniqueKey(key).release())); in findByUniqueKey() 65 sk_sp<GrTexture> createApproxTexture(const GrSurfaceDesc&, uint32_t flags); 69 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, uint32_t flags = 0); 71 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, 76 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, SkBackingFit, 90 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, 98 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex, 111 sk_sp<GrRenderTarget> wrapBackendRenderTarget(const GrBackendRenderTarget&); 125 sk_sp<const GrBuffer> findOrMakeStaticBuffer(GrBufferType intendedType, size_t size, [all …]
|
D | GrProxyProvider.h | 29 GrProxyProvider(GrResourceProvider*, GrResourceCache*, sk_sp<const GrCaps>, GrSingleOwner*); 54 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 60 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin); 68 sk_sp<GrTextureProxy> createInstantiatedProxy(const GrSurfaceDesc&, SkBackingFit, SkBudgeted, 76 sk_sp<GrTextureProxy> createTextureProxy(const GrSurfaceDesc&, SkBudgeted, 84 sk_sp<GrTextureProxy> createTextureProxy(sk_sp<SkImage> srcImage, 98 sk_sp<GrTextureProxy> createMipMapProxy(const GrSurfaceDesc&, SkBudgeted); 103 sk_sp<GrTextureProxy> createMipMapProxyFromBitmap(const SkBitmap& bitmap, 109 sk_sp<GrTextureProxy> createProxy(const GrSurfaceDesc&, GrMipMapped, SkBackingFit, SkBudgeted, 112 sk_sp<GrTextureProxy> createProxy(const GrSurfaceDesc& desc, SkBackingFit fit, [all …]
|
/external/skqp/experimental/svg/model/ |
D | SkSVGDOM.cpp | 37 bool SetPaintAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPaintAttribute() 49 bool SetColorAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetColorAttribute() 61 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute() 73 bool SetClipPathAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetClipPathAttribute() 86 bool SetPathDataAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPathDataAttribute() 97 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute() 109 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute() 121 bool SetNumberAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetNumberAttribute() 133 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute() 145 bool SetLineCapAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLineCapAttribute() [all …]
|
/external/skia/experimental/svg/model/ |
D | SkSVGDOM.cpp | 37 bool SetPaintAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPaintAttribute() 49 bool SetColorAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetColorAttribute() 61 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute() 73 bool SetClipPathAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetClipPathAttribute() 86 bool SetPathDataAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPathDataAttribute() 97 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute() 109 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute() 121 bool SetNumberAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetNumberAttribute() 133 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute() 145 bool SetLineCapAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLineCapAttribute() [all …]
|
/external/skqp/include/effects/ |
D | SkGradientShader.h | 41 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 45 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() 63 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 64 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, 67 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() 68 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, in MakeLinear() 86 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, 90 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, in MakeRadial() 109 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, 110 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, [all …]
|
D | SkLightingImageFilter.h | 20 static sk_sp<SkImageFilter> MakeDistantLitDiffuse(const SkPoint3& direction, 22 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 23 static sk_sp<SkImageFilter> MakePointLitDiffuse(const SkPoint3& location, 25 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 26 static sk_sp<SkImageFilter> MakeSpotLitDiffuse(const SkPoint3& location, 29 sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 30 static sk_sp<SkImageFilter> MakeDistantLitSpecular(const SkPoint3& direction, 32 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); 33 static sk_sp<SkImageFilter> MakePointLitSpecular(const SkPoint3& location, 35 SkScalar shininess, sk_sp<SkImageFilter> input, const CropRect* cropRect = nullptr); [all …]
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 41 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 45 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() 63 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], 64 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, 67 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], in MakeLinear() 68 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, in MakeLinear() 86 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, 90 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, in MakeRadial() 109 static sk_sp<SkShader> MakeRadial(const SkPoint& center, SkScalar radius, 110 const SkColor4f colors[], sk_sp<SkColorSpace> colorSpace, [all …]
|
/external/skqp/experimental/sksg/effects/ |
D | SkSGTransform.h | 24 static sk_sp<Matrix> Make(const SkMatrix& m, sk_sp<Matrix> parent = nullptr) { 25 return sk_sp<Matrix>(new Matrix(m, std::move(parent))); 35 Matrix(const SkMatrix&, sk_sp<Matrix>); 40 sk_sp<Matrix> fParent; 52 static sk_sp<Transform> Make(sk_sp<RenderNode> child, sk_sp<Matrix> matrix) { in Make() 54 ? sk_sp<Transform>(new Transform(std::move(child), std::move(matrix))) in Make() 58 static sk_sp<Transform> Make(sk_sp<RenderNode> child, const SkMatrix& m) { in Make() 64 const sk_sp<Matrix>& getMatrix() const { return fMatrix; } in getMatrix() 72 Transform(sk_sp<RenderNode>, sk_sp<Matrix>); 74 const sk_sp<Matrix> fMatrix;
|
/external/skia/experimental/sksg/effects/ |
D | SkSGTransform.h | 24 static sk_sp<Matrix> Make(const SkMatrix& m, sk_sp<Matrix> parent = nullptr) { 25 return sk_sp<Matrix>(new Matrix(m, std::move(parent))); 35 Matrix(const SkMatrix&, sk_sp<Matrix>); 40 sk_sp<Matrix> fParent; 52 static sk_sp<Transform> Make(sk_sp<RenderNode> child, sk_sp<Matrix> matrix) { in Make() 54 ? sk_sp<Transform>(new Transform(std::move(child), std::move(matrix))) in Make() 58 static sk_sp<Transform> Make(sk_sp<RenderNode> child, const SkMatrix& m) { in Make() 64 const sk_sp<Matrix>& getMatrix() const { return fMatrix; } in getMatrix() 72 Transform(sk_sp<RenderNode>, sk_sp<Matrix>); 74 const sk_sp<Matrix> fMatrix;
|
/external/skia/gm/ |
D | colorfilterimagefilter.cpp | 22 static sk_sp<SkColorFilter> cf_make_brightness(float brightness) { in cf_make_brightness() 32 static sk_sp<SkColorFilter> cf_make_grayscale() { in cf_make_grayscale() 42 static sk_sp<SkColorFilter> cf_make_colorize(SkColor color) { in cf_make_colorize() 46 static void sk_gm_get_colorfilters(SkTArray<sk_sp<SkColorFilter>>* array) { in sk_gm_get_colorfilters() 57 static sk_sp<SkShader> sh_make_lineargradient0() { in sh_make_lineargradient0() 63 static sk_sp<SkShader> sh_make_lineargradient1() { in sh_make_lineargradient1() 69 static sk_sp<SkShader> sh_make_image() { in sh_make_image() 70 sk_sp<SkImage> image(GetResourceAsImage("images/mandrill_128.png")); in sh_make_image() 91 static sk_sp<SkImageFilter> make_blur(float amount, sk_sp<SkImageFilter> input) { in make_blur() 95 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { in make_brightness() [all …]
|
/external/skqp/gm/ |
D | colorfilterimagefilter.cpp | 22 static sk_sp<SkColorFilter> cf_make_brightness(float brightness) { in cf_make_brightness() 32 static sk_sp<SkColorFilter> cf_make_grayscale() { in cf_make_grayscale() 42 static sk_sp<SkColorFilter> cf_make_colorize(SkColor color) { in cf_make_colorize() 46 static void sk_gm_get_colorfilters(SkTArray<sk_sp<SkColorFilter>>* array) { in sk_gm_get_colorfilters() 57 static sk_sp<SkShader> sh_make_lineargradient0() { in sh_make_lineargradient0() 63 static sk_sp<SkShader> sh_make_lineargradient1() { in sh_make_lineargradient1() 69 static sk_sp<SkShader> sh_make_image() { in sh_make_image() 70 sk_sp<SkImage> image(GetResourceAsImage("images/mandrill_128.png")); in sh_make_image() 91 static sk_sp<SkImageFilter> make_blur(float amount, sk_sp<SkImageFilter> input) { in make_blur() 95 static sk_sp<SkImageFilter> make_brightness(float amount, sk_sp<SkImageFilter> input) { in make_brightness() [all …]
|