Home
last modified time | relevance | path

Searched refs:SkSpecialImage (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkSpecialImage.cpp13 class SkSpecialImage_Base : public SkSpecialImage {
32 typedef SkSpecialImage INHERITED;
36 static inline const SkSpecialImage_Base* as_IB(const SkSpecialImage* image) { in as_IB()
40 void SkSpecialImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkPaint* paint) const { in draw()
44 bool SkSpecialImage::peekPixels(SkPixmap* pixmap) const { in peekPixels()
48 GrTexture* SkSpecialImage::peekTexture() const { in peekTexture()
52 SkSpecialSurface* SkSpecialImage::newSurface(const SkImageInfo& info) const { in newSurface()
61 SkSpecialImage* SkSpecialImage::internal_fromBM(SkImageFilter::Proxy* proxy, in internal_fromBM()
65 return SkSpecialImage::NewFromGpu(proxy, in internal_fromBM()
71 return SkSpecialImage::NewFromRaster(proxy, src.bounds(), src); in internal_fromBM()
[all …]
DSkSpecialImage.h40 class SkSpecialImage : public SkRefCnt {
55 static SkSpecialImage* NewFromImage(const SkIRect& subset, const SkImage*);
56 static SkSpecialImage* NewFromRaster(SkImageFilter::Proxy*,
59 static SkSpecialImage* NewFromGpu(SkImageFilter::Proxy*,
72 static SkSpecialImage* internal_fromBM(SkImageFilter::Proxy*, const SkBitmap&);
76 SkSpecialImage(SkImageFilter::Proxy* proxy, const SkIRect& subset, uint32_t uniqueID) in SkSpecialImage() function
DSkSpecialSurface.cpp30 virtual SkSpecialImage* onNewImageSnapshot() = 0;
58 SkSpecialImage* SkSpecialSurface::newImageSnapshot() { in newImageSnapshot()
59 SkSpecialImage* image = as_SB(this)->onNewImageSnapshot(); in newImageSnapshot()
84 SkSpecialImage* onNewImageSnapshot() override { in onNewImageSnapshot()
85 return SkSpecialImage::NewFromRaster(this->proxy(), this->subset(), fBitmap); in onNewImageSnapshot()
140 SkSpecialImage* onNewImageSnapshot() override { in onNewImageSnapshot()
141 return SkSpecialImage::NewFromGpu(this->proxy(), this->subset(), in onNewImageSnapshot()
DSkSpecialSurface.h18 class SkSpecialImage; variable
51 SkSpecialImage* newImageSnapshot();
DSkImageFilter.cpp530 Value(const Key& key, SkSpecialImage* image, const SkIPoint& offset) in Value()
535 SkAutoTUnref<SkSpecialImage> fImage;
560 SkSpecialImage* get(const Key& key, SkIPoint* offset) const override { in get()
592 void set(const Key& key, SkSpecialImage* image, const SkIPoint& offset) override { in set()
/external/skia/tests/
DImageFilterCacheTest.cpp30 SkSpecialImage* image, in test_find_existing()
31 SkSpecialImage* subset) { in test_find_existing()
44 SkSpecialImage* foundImage = cache->get(key1, &foundOffset); in test_find_existing()
54 SkSpecialImage* image, in test_dont_find_if_diff_key()
55 SkSpecialImage* subset) { in test_dont_find_if_diff_key()
79 static void test_internal_purge(skiatest::Reporter* reporter, SkSpecialImage* image) { in test_internal_purge()
104 SkSpecialImage* image, in test_explicit_purging()
105 SkSpecialImage* subset) { in test_explicit_purging()
138 SkAutoTUnref<SkSpecialImage> fullImg(SkSpecialImage::NewFromRaster(nullptr, full, srcBM)); in DEF_TEST()
142 SkAutoTUnref<SkSpecialImage> subsetImg(SkSpecialImage::NewFromRaster(nullptr, subset, srcBM)); in DEF_TEST()
[all …]
DSpecialImageTest.cpp21 static const SkIRect& Subset(const SkSpecialImage* img) { in Subset()
25 static bool PeekPixels(const SkSpecialImage* img, SkPixmap* pixmap) { in PeekPixels()
29 static GrTexture* PeekTexture(const SkSpecialImage* img) { in PeekTexture()
63 static void test_image(SkSpecialImage* img, skiatest::Reporter* reporter, in test_image()
113 SkAutoTUnref<SkSpecialImage> img(SkSpecialImage::NewFromRaster(nullptr, subset, bm)); in DEF_TEST()
124 SkAutoTUnref<SkSpecialImage> img(SkSpecialImage::NewFromImage(subset, fullImage)); in DEF_TEST()
146 SkAutoTUnref<SkSpecialImage> img(SkSpecialImage::NewFromGpu(nullptr, subset, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSpecialSurfaceTest.cpp24 static const SkIRect& Subset(const SkSpecialImage* img) { in Subset()
49 SkAutoTUnref<SkSpecialImage> img(surf->newImageSnapshot()); in test_surface()
/external/skia/include/core/
DSkImageFilter.h26 class SkSpecialImage; variable
46 virtual SkSpecialImage* get(const Key& key, SkIPoint* offset) const = 0;
48 virtual void set(const Key& key, SkSpecialImage* image, const SkIPoint& offset) = 0;
/external/skia/gyp/
Dcore.gypi257 '<(skia_src_path)/core/SkSpecialImage.cpp',
258 '<(skia_src_path)/core/SkSpecialImage.h',
/external/skia/
DAndroid.mk244 src/core/SkSpecialImage.cpp \