|   /external/skqp/tests/ | 
| VkHardwareBufferTest.cpp  | 53     virtual sk_sp<SkImage> importHardwareBufferForRead(skiatest::Reporter* reporter, 55     virtual sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 59     virtual bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) = 0; 61                                           sk_sp<SkSurface>) = 0; 102     sk_sp<SkImage> importHardwareBufferForRead(skiatest::Reporter* reporter, 104     sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter, 108     bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override; 110                                   sk_sp<SkSurface>) override; 256 sk_sp<SkImage> EGLTestHelper::importHardwareBufferForRead(skiatest::Reporter* reporter, 269     sk_sp<SkImage> image = SkImage::MakeFromTexture(fGrContext     [all...] | 
| WritePixelsTest.cpp  | 268     sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes); 416             sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctxInfo.grContext(), 442             sk_sp<SkSurface> surface(SkSurface::MakeFromBackendTextureAsRenderTarget( 457 static sk_sp<SkSurface> create_surf(GrContext* context, int width, int height) { 461     sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii); 466 static sk_sp<SkImage> upload(const sk_sp<SkSurface>& surf, SkColor color) { 495     sk_sp<SkSurface> dest = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, fullII); 506         sk_sp<GrTextureProxy> temp = proxyProvider->createProxy(desc, SkBackingFit::kApprox, 512     sk_sp<SkSurface> leftSurf = create_surf(context, kHalfSize, kFullSize)     [all...] | 
|   /external/skia/include/private/ | 
| GrSurfaceProxy.h  | 136     GrIORefProxy(sk_sp<GrSurface> surface) : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { 137         // Since we're manually forwarding on refs & unrefs we don't want sk_sp doing 348     static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, GrMipMapped, 353     static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, GrMipMapped, 357     static sk_sp<GrSurfaceContext> TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, 376     using LazyInstantiateCallback = std::function<sk_sp<GrSurface>(GrResourceProvider*)>; 384     GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit); 401     virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0; 402     void assign(sk_sp<GrSurface> surface); 404     sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil     [all...] | 
|   /external/skqp/include/private/ | 
| GrSurfaceProxy.h  | 125     GrIORefProxy(sk_sp<GrSurface> surface) : fRefCnt(1), fPendingReads(0), fPendingWrites(0) { 126         // Since we're manually forwarding on refs & unrefs we don't want sk_sp doing 331     static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, GrMipMapped, 336     static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, GrMipMapped, 340     static sk_sp<GrSurfaceContext> TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, 358     using LazyInstantiateCallback = std::function<sk_sp<GrTexture>(GrResourceProvider*, 366     GrSurfaceProxy(sk_sp<GrSurface> surface, GrSurfaceOrigin origin, SkBackingFit fit); 383     virtual sk_sp<GrSurface> createSurface(GrResourceProvider*) const = 0; 384     void assign(sk_sp<GrSurface> surface); 386     sk_sp<GrSurface> createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil     [all...] | 
|   /frameworks/base/libs/hwui/pipeline/skia/ | 
| SkiaRecordingCanvas.cpp  | 98         // Create a ref-counted drawable, which is kept alive by sk_sp in SkLiteDL. 99         sk_sp<SkDrawable> drawable(new LayerDrawable(layerUpdater)); 154     sk_sp<SkColorFilter> colorFilter; 155     sk_sp<SkImage> image = bitmap.makeImage(&colorFilter); 170     sk_sp<SkColorFilter> colorFilter; 171     sk_sp<SkImage> image = bitmap.makeImage(&colorFilter); 185     sk_sp<SkColorFilter> colorFilter; 186     sk_sp<SkImage> image = bitmap.makeImage(&colorFilter); 220     sk_sp<SkColorFilter> colorFilter; 221     sk_sp<SkImage> image = bitmap.makeImage(&colorFilter)     [all...] | 
|   /external/skia/src/core/ | 
| SkBlurImageFilter.cpp  | 38                           sk_sp<SkImageFilter> input, 49     sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context&, 51     sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override; 59     sk_sp<SkSpecialImage> gpuFilter( 61             SkVector sigma, const sk_sp<SkSpecialImage> &input, 75 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, 76                                              sk_sp<SkImageFilter> input, 82     return sk_sp<SkImageFilter>( 103                                              sk_sp<SkImageFilter> input, 108 sk_sp<SkFlattenable> SkBlurImageFilterImpl::CreateProc(SkReadBuffer& buffer)      [all...] | 
|   /external/skia/src/ports/ | 
| SkFontMgr_win_dw.cpp  | 298     sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const override; 299     sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override; 300     sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override; 301     sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override; 308     sk_sp<SkTypeface> makeTypefaceFromDWriteFont(IDWriteFontFace* fontFace, 338     sk_sp<const SkFontMgr_DirectWrite> fFontMgr; 453 sk_sp<SkTypeface> SkFontMgr_DirectWrite::makeTypefaceFromDWriteFont( 466     return sk_sp<SkTypeface>(face); 511     sk_sp<SkFontStyleSet> sset(this->matchFamily(familyName))     [all...] | 
|   /external/skqp/src/core/ | 
| SkBlurImageFilter.cpp  | 38                           sk_sp<SkImageFilter> input, 49     sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context&, 51     sk_sp<SkImageFilter> onMakeColorSpace(SkColorSpaceXformer*) const override; 59     sk_sp<SkSpecialImage> gpuFilter( 61             SkVector sigma, const sk_sp<SkSpecialImage> &input, 75 sk_sp<SkImageFilter> SkBlurImageFilter::Make(SkScalar sigmaX, SkScalar sigmaY, 76                                              sk_sp<SkImageFilter> input, 82     return sk_sp<SkImageFilter>( 103                                              sk_sp<SkImageFilter> input, 108 sk_sp<SkFlattenable> SkBlurImageFilterImpl::CreateProc(SkReadBuffer& buffer)      [all...] | 
|   /external/skqp/src/ports/ | 
| SkFontMgr_win_dw.cpp  | 298     sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset>, int ttcIndex) const override; 299     sk_sp<SkTypeface> onMakeFromData(sk_sp<SkData>, int ttcIndex) const override; 300     sk_sp<SkTypeface> onMakeFromFile(const char path[], int ttcIndex) const override; 301     sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override; 308     sk_sp<SkTypeface> makeTypefaceFromDWriteFont(IDWriteFontFace* fontFace, 338     sk_sp<const SkFontMgr_DirectWrite> fFontMgr; 453 sk_sp<SkTypeface> SkFontMgr_DirectWrite::makeTypefaceFromDWriteFont( 466     return sk_sp<SkTypeface>(face); 511     sk_sp<SkFontStyleSet> sset(this->matchFamily(familyName))     [all...] | 
|   /external/skia/fuzz/ | 
| FuzzCanvas.cpp  | 163 static sk_sp<SkImage> make_fuzz_image(Fuzz*); 167 static sk_sp<SkPicture> make_fuzz_picture(Fuzz*, int depth); 169 static sk_sp<SkColorFilter> make_fuzz_colorfilter(Fuzz* fuzz, int depth) { 185             sk_sp<SkColorFilter> outer = make_fuzz_colorfilter(fuzz, depth - 1); 189             sk_sp<SkColorFilter> inner = make_fuzz_colorfilter(fuzz, depth - 1); 252 static sk_sp<SkShader> make_fuzz_shader(Fuzz* fuzz, int depth) { 253     sk_sp<SkShader> shader1(nullptr), shader2(nullptr); 254     sk_sp<SkColorFilter> colorFilter(nullptr); 256     sk_sp<SkImage> img; 428 static sk_sp<SkPathEffect> make_fuzz_patheffect(Fuzz* fuzz, int depth)      [all...] | 
|   /external/skqp/fuzz/ | 
| FuzzCanvas.cpp  | 163 static sk_sp<SkImage> make_fuzz_image(Fuzz*); 167 static sk_sp<SkPicture> make_fuzz_picture(Fuzz*, int depth); 169 static sk_sp<SkColorFilter> make_fuzz_colorfilter(Fuzz* fuzz, int depth) { 185             sk_sp<SkColorFilter> outer = make_fuzz_colorfilter(fuzz, depth - 1); 186             sk_sp<SkColorFilter> inner = make_fuzz_colorfilter(fuzz, depth - 1); 248 static sk_sp<SkShader> make_fuzz_shader(Fuzz* fuzz, int depth) { 249     sk_sp<SkShader> shader1(nullptr), shader2(nullptr); 250     sk_sp<SkColorFilter> colorFilter(nullptr); 252     sk_sp<SkImage> img; 424 static sk_sp<SkPathEffect> make_fuzz_patheffect(Fuzz* fuzz, int depth)      [all...] | 
|   /external/skia/gm/ | 
| gradients_no_texture.cpp  | 30 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 34 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 41 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 48 static sk_sp<SkShader> Make2Radial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 60 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 73 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 219     sk_sp<SkShader> fShader;
  | 
| xfermodeimagefilter.cpp  | 85         sk_sp<SkImageFilter> background(SkImageSource::Make(fCheckerboard)); 115         sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(fBitmap)); 116         sk_sp<SkImageFilter> foreground(SkImageSource::Make(std::move(bitmapImage))); 117         sk_sp<SkImageFilter> offsetForeground(SkOffsetImageFilter::Make(SkIntToScalar(4), 120         sk_sp<SkImageFilter> offsetBackground(SkOffsetImageFilter::Make(SkIntToScalar(4), 172         sk_sp<SkImageFilter> cropped(SkOffsetImageFilter::Make(0, 0, foreground, &cropRect)); 223     sk_sp<SkImage>  fCheckerboard;
  | 
|   /external/skia/include/core/ | 
| SkImageInfo.h  | 157                             sk_sp<SkColorSpace> cs = nullptr) { 165                                sk_sp<SkColorSpace> cs = nullptr) { 177     static SkImageInfo MakeN32Premul(int width, int height, sk_sp<SkColorSpace> cs = nullptr) { 202     sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } 233     SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const { 309     sk_sp<SkColorSpace> fColorSpace; 315     SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs)
  | 
|   /external/skia/src/gpu/ | 
| GrTextureProducer.cpp  | 18 sk_sp<GrTextureProxy> GrTextureProducer::CopyOnGpu(GrContext* context, 19                                                    sk_sp<GrTextureProxy> inputProxy, 27     sk_sp<SkColorSpace> colorSpace; 31     sk_sp<GrRenderTargetContext> copyRTC = context->makeDeferredRenderTargetContextWithFallback( 185         sk_sp<GrTextureProxy> proxy, 211 sk_sp<GrTextureProxy> GrTextureProducer::refTextureProxyForParams( 214         sk_sp<SkColorSpace>* proxyColorSpace,
  | 
| GrRenderTargetContext.h  | 151     void drawTextureAffine(const GrClip& clip, sk_sp<GrTextureProxy>, GrSamplerState::Filter, 153                            const SkMatrix& viewMatrix, sk_sp<GrColorSpaceXform>); 228                       sk_sp<SkVertices> vertices, 314                           sk_sp<GrTextureProxy>, 315                           sk_sp<GrColorSpaceXform>, 360     sk_sp<GrSurfaceProxy> asSurfaceProxyRef() override { return fRenderTargetProxy; } 364     sk_sp<GrTextureProxy> asTextureProxyRef() override; 367     sk_sp<GrRenderTargetProxy> asRenderTargetProxyRef() override { return fRenderTargetProxy; } 380     GrRenderTargetContext(GrContext*, GrDrawingManager*, sk_sp<GrRenderTargetProxy>, 381                           sk_sp<SkColorSpace>, const SkSurfaceProps*, GrAuditTrail*     [all...] | 
|   /external/skia/tests/ | 
| GrSurfaceTest.cpp  | 37     sk_sp<GrSurface> texRT1 = resourceProvider->createTexture(desc, SkBudgeted::kNo); 50     sk_sp<GrTexture> tex1 = resourceProvider->createTexture(desc, SkBudgeted::kNo); 58     sk_sp<GrSurface> texRT2 = 115             sk_sp<GrSurface> tex = resourceProvider->createTexture(desc, SkBudgeted::kNo); 120             sk_sp<GrTextureProxy> proxy = proxyProvider->createMipMapProxy( 158         sk_sp<SkColorSpace> colorSpace; 178                         sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(
  | 
| OnFlushCallbackTest.cpp  | 99         sk_sp<GrGeometryProcessor> gp = 292     sk_sp<GrTextureProxy> getAtlasProxy(GrProxyProvider* proxyProvider) { 300                         return sk_sp<GrTexture>(); 326                   SkTArray<sk_sp<GrRenderTargetContext>>* results) override { 350         sk_sp<GrRenderTargetContext> rtc = resourceProvider->makeRenderTargetContext( 416     sk_sp<GrTextureProxy>        fAtlasProxy; 423 static sk_sp<GrTextureProxy> make_upstream_image(GrContext* context, AtlasObject* object, int start, 424                                                  sk_sp<GrTextureProxy> atlasProxy) { 425     sk_sp<GrRenderTargetContext> rtc(context->makeDeferredRenderTargetContext( 466 sk_sp<GrTextureProxy> pre_create_atlas(GrContext* context)      [all...] | 
| WritePixelsTest.cpp  | 258     sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes); 404         sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(context, 430         sk_sp<SkSurface> surface(SkSurface::MakeFromBackendTextureAsRenderTarget( 447 static sk_sp<SkSurface> create_surf(GrContext* context, int width, int height) { 451     sk_sp<SkSurface> surf = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, ii); 456 static sk_sp<SkImage> upload(const sk_sp<SkSurface>& surf, SkColor color) { 485     sk_sp<SkSurface> dest = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, fullII); 496         sk_sp<GrTextureProxy> temp = proxyProvider->createProxy(desc, SkBackingFit::kApprox, 502     sk_sp<SkSurface> leftSurf = create_surf(context, kHalfSize, kFullSize)     [all...] | 
|   /external/skqp/gm/ | 
| gradients_no_texture.cpp  | 30 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 34 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 41 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, SkShader::TileMode) { 48 static sk_sp<SkShader> Make2Radial(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 60 static sk_sp<SkShader> Make2Conical(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm) { 73 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, SkShader::TileMode tm); 219     sk_sp<SkShader> fShader;
  | 
| xfermodeimagefilter.cpp  | 85         sk_sp<SkImageFilter> background(SkImageSource::Make(fCheckerboard)); 115         sk_sp<SkImage> bitmapImage(SkImage::MakeFromBitmap(fBitmap)); 116         sk_sp<SkImageFilter> foreground(SkImageSource::Make(std::move(bitmapImage))); 117         sk_sp<SkImageFilter> offsetForeground(SkOffsetImageFilter::Make(SkIntToScalar(4), 120         sk_sp<SkImageFilter> offsetBackground(SkOffsetImageFilter::Make(SkIntToScalar(4), 172         sk_sp<SkImageFilter> cropped(SkOffsetImageFilter::Make(0, 0, foreground, &cropRect)); 223     sk_sp<SkImage>  fCheckerboard;
  | 
|   /external/skqp/include/core/ | 
| SkImageInfo.h  | 193                             sk_sp<SkColorSpace> cs = nullptr) { 201                                sk_sp<SkColorSpace> cs = nullptr) { 213     static SkImageInfo MakeN32Premul(int width, int height, sk_sp<SkColorSpace> cs = nullptr) { 238     sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } 269     SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const { 350     sk_sp<SkColorSpace> fColorSpace; 356     SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs)
  | 
|   /frameworks/base/core/jni/android/graphics/ | 
| GraphicsJNI.h  | 108     static sk_sp<SkColorSpace> defaultColorSpace(); 109     static sk_sp<SkColorSpace> linearColorSpace(); 110     static sk_sp<SkColorSpace> colorSpaceForType(SkColorType type); 115     static sk_sp<SkColorSpace> getNativeColorSpace(JNIEnv* env, jobject colorSpace); 117     static jobject getColorSpace(JNIEnv* env, sk_sp<SkColorSpace>& decodeColorSpace, 137     sk_sp<android::Bitmap> mStorage; 212     sk_sp<android::Bitmap> mStorage;
  | 
|   /frameworks/base/libs/hwui/tests/common/scenes/ | 
| TvApp.cpp  | 59     std::vector<sk_sp<Bitmap>> mCachedBitmaps; 61     sk_sp<Bitmap> mSingleBitmap; 98                     sk_sp<Bitmap> bitmap = 106                                           sk_sp<Bitmap> bitmap) { 158             sk_sp<Bitmap> bitmap = 220             sk_sp<SkColorFilter> filter( 223             sk_sp<Bitmap> bitmap = mCachedBitmaps[ci];
  | 
|   /external/skia/bench/ | 
| GradientBench.cpp  | 50 static sk_sp<SkShader> MakeLinear(const SkPoint pts[2], const GradData& data, 55 static sk_sp<SkShader> MakeRadial(const SkPoint pts[2], const GradData& data, 65 static sk_sp<SkShader> MakeSweep(const SkPoint pts[2], const GradData& data, 74 static sk_sp<SkShader> MakeConical(const SkPoint pts[2], const GradData& data, 87 static sk_sp<SkShader> MakeConicalZeroRad(const SkPoint pts[2], const GradData& data, 100 static sk_sp<SkShader> MakeConicalOutside(const SkPoint pts[2], const GradData& data, 114 static sk_sp<SkShader> MakeConicalOutsideZeroRad(const SkPoint pts[2], const GradData& data, 127 typedef sk_sp<SkShader> (*GradMaker)(const SkPoint pts[2], const GradData& data, 254     sk_sp<SkShader> MakeShader(GradType gradType, GradData data,
  |