/external/skia/src/image/ |
SkImagePriv.h | 12 #include "SkImage.h" 16 extern SkBitmap::Config SkImageInfoToBitmapConfig(const SkImage::Info&, 19 extern int SkImageBytesPerPixel(SkImage::ColorType); 21 extern bool SkBitmapToImageInfo(const SkBitmap&, SkImage::Info*); 24 extern SkImage* SkNewImageFromPixelRef(const SkImage::Info&, SkPixelRef*, 34 * SkImage::Info, or the bitmap's pixels cannot be accessed, this will return 37 extern SkImage* SkNewImageFromBitmap(const SkBitmap&, bool canSharePixelRef); 43 * Return an SkImage whose contents are those of the specified picture. Note: 46 extern SkImage* SkNewImageFromPicture(const SkPicture*) [all...] |
SkImagePriv.cpp | 12 SkBitmap::Config SkImageInfoToBitmapConfig(const SkImage::Info& info, 15 case SkImage::kAlpha_8_ColorType: 17 case SkImage::kIgnore_AlphaType: 21 case SkImage::kOpaque_AlphaType: 25 case SkImage::kPremul_AlphaType: 26 case SkImage::kUnpremul_AlphaType: 32 case SkImage::kRGB_565_ColorType: 37 case SkImage::kRGBA_8888_ColorType: 38 case SkImage::kBGRA_8888_ColorType: 42 case SkImage::kPMColor_ColorType [all...] |
SkImage_Base.h | 11 #include "SkImage.h" 13 class SkImage_Base : public SkImage { 20 typedef SkImage INHERITED;
|
SkImage.cpp | 13 SK_DEFINE_INST_COUNT(SkImage) 15 static SkImage_Base* asIB(SkImage* image) { 19 uint32_t SkImage::NextUniqueID() { 30 void SkImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y,
|
SkSurface_Base.h | 26 virtual SkSurface* onNewSurface(const SkImage::Info&) = 0; 29 * Allocate an SkImage that represents the current contents of the surface. 34 virtual SkImage* onNewImageShapshot() = 0; 54 virtual void onCopyOnWrite(SkImage* cachedImage, SkCanvas*) = 0; 57 inline SkImage* getCachedImage(); 64 SkImage* fCachedImage;
|
SkSurface_Picture.cpp | 23 virtual SkSurface* onNewSurface(const SkImage::Info&) SK_OVERRIDE; 24 virtual SkImage* onNewImageShapshot() SK_OVERRIDE; 27 virtual void onCopyOnWrite(SkImage*, SkCanvas*) SK_OVERRIDE; 55 SkSurface* SkSurface_Picture::onNewSurface(const SkImage::Info& info) { 59 SkImage* SkSurface_Picture::onNewImageShapshot() { 63 SkImage::Info info; 65 info.fColorType = SkImage::kPMColor_ColorType; 66 info.fAlphaType = SkImage::kOpaque_AlphaType; 67 return SkImage::NewRasterCopy(info, NULL, 0); 79 void SkSurface_Picture::onCopyOnWrite(SkImage* cachedImage, SkCanvas*) [all...] |
SkImage_Raster.cpp | 52 static SkImage* NewEmpty(); 54 SkImage_Raster(const SkImage::Info&, SkData*, size_t rb); 60 SkImage_Raster(const SkImage::Info&, SkPixelRef*, size_t rowBytes); 74 SkImage* SkImage_Raster::NewEmpty() { 76 static SkImage* gEmpty; 114 SkImage* SkImage::NewRasterCopy(const SkImage::Info& info, const void* pixels, size_t rowBytes) { 132 SkImage* SkImage::NewRasterData(const SkImage::Info& info, SkData* pixelData, size_t rowBytes) [all...] |
SkSurface_Raster.cpp | 18 static bool Valid(const SkImage::Info&, size_t rb = kIgnoreRowBytesValue); 20 SkSurface_Raster(const SkImage::Info&, void*, size_t rb); 21 SkSurface_Raster(const SkImage::Info&, SkPixelRef*, size_t rb); 24 virtual SkSurface* onNewSurface(const SkImage::Info&) SK_OVERRIDE; 25 virtual SkImage* onNewImageShapshot() SK_OVERRIDE; 28 virtual void onCopyOnWrite(SkImage*, SkCanvas*) SK_OVERRIDE; 39 bool SkSurface_Raster::Valid(const SkImage::Info& info, size_t rowBytes) { 84 SkSurface_Raster::SkSurface_Raster(const SkImage::Info& info, void* pixels, size_t rb) 95 SkSurface_Raster::SkSurface_Raster(const SkImage::Info& info, SkPixelRef* pr, size_t rb) 114 SkSurface* SkSurface_Raster::onNewSurface(const SkImage::Info& info) [all...] |
SkImage_Gpu.cpp | 71 SkImage* SkImage::NewTexture(GrTexture* texture) { 79 GrTexture* SkTextureImageGetTexture(SkImage* image) { 83 void SkTextureImageSetTexture(SkImage* image, GrTexture* texture) {
|
SkSurface_Gpu.cpp | 17 SkSurface_Gpu(GrContext*, const SkImage::Info&, int sampleCount); 22 virtual SkSurface* onNewSurface(const SkImage::Info&) SK_OVERRIDE; 23 virtual SkImage* onNewImageShapshot() SK_OVERRIDE; 26 virtual void onCopyOnWrite(SkImage*, SkCanvas*) SK_OVERRIDE; 38 SkSurface_Gpu::SkSurface_Gpu(GrContext* ctx, const SkImage::Info& info, 68 SkSurface* SkSurface_Gpu::onNewSurface(const SkImage::Info& info) { 74 SkImage* SkSurface_Gpu::onNewImageShapshot() { 78 return SkImage::NewTexture(rt->asTexture()); 87 // texture to the SkImage. Note that this flushes the SkGpuDevice but 89 void SkSurface_Gpu::onCopyOnWrite(SkImage* image, SkCanvas* canvas) [all...] |
SkImage_Codec.cpp | 16 static SkImage* NewEmpty(); 53 SkImage* SkImage::NewEncodedData(SkData* data) {
|
SkSurface.cpp | 39 SkImage* image = this->newImageShapshot(); 54 SkImage* SkSurface_Base::getCachedImage() { 120 SkImage* SkSurface::newImageShapshot() { 121 SkImage* image = asSB(this)->getCachedImage(); 126 SkSurface* SkSurface::newSurface(const SkImage::Info& info) {
|
SkImage_Picture.cpp | 42 SkImage* SkNewImageFromPicture(const SkPicture* srcPicture) {
|
/external/skia/include/core/ |
SkSurface.h | 12 #include "SkImage.h" 38 static SkSurface* NewRasterDirect(const SkImage::Info&, void* pixels, size_t rowBytes); 47 static SkSurface* NewRaster(const SkImage::Info&); 65 static SkSurface* NewRenderTarget(GrContext*, const SkImage::Info&, int sampleCount = 0); 108 SkSurface* newSurface(const SkImage::Info&); 115 SkImage* newImageShapshot();
|
SkImage.h | 27 * SkImage is an abstraction for drawing a rectagle of pixels, though the 32 * The content of SkImage is always immutable, though the actual storage may 36 class SkImage : public SkRefCnt { 38 SK_DECLARE_INST_COUNT(SkImage) 66 static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes); 67 static SkImage* NewRasterData(const Info&, SkData* pixels, size_t rowBytes); 68 static SkImage* NewEncodedData(SkData*); 69 static SkImage* NewTexture(GrTexture*); 81 SkImage(int width, int height) :
|
/external/skia/legacy/src/animator/ |
SkDrawBitmap.cpp | 122 const SkMemberInfo SkImage::fInfo[] = { 132 DEFINE_GET_MEMBER(SkImage); 134 SkImage::SkImage() : fDirty(true), fUriBase(NULL) { 139 SkImage::~SkImage() { 143 SkDisplayable* SkImage::deepCopy(SkAnimateMaker* maker) { 145 ((SkImage*) copy)->fUriBase = ((SkImage*) this)->fUriBase; 149 void SkImage::dirty() [all...] |
SkDrawBitmap.h | 53 class SkImage : public SkBaseBitmap { 55 SkImage(); 56 virtual ~SkImage(); 63 void resolve() const { (const_cast<SkImage*>(this))->resolve(); }
|
/external/skia/legacy/src/utils/ |
SkBase64.h | 41 friend class SkImage;
|
/external/skia/gm/ |
fatpathfill.cpp | 19 SkImage::Info info = { 22 SkImage::kPMColor_ColorType, 23 SkImage::kPremul_AlphaType
|
image.cpp | 35 SkImage* image = SkImage::NewEncodedData(data); 67 SkImage* imgR = surf->newImageShapshot(); 70 SkImage* imgR2 = surf->newImageShapshot(); 76 SkImage* imgG = surf->newImageShapshot(); 155 SkImage::Info info; 159 info.fColorType = SkImage::kPMColor_ColorType; 160 info.fAlphaType = SkImage::kPremul_AlphaType;
|
srcmode.cpp | 120 SkImage::Info info = { 123 SkImage::kPMColor_ColorType, 124 SkImage::kPremul_AlphaType
|
/external/skia/ |
Android.mk | 251 src/image/SkImage.cpp \
|
/external/skia/tests/ |
PathTest.cpp | 28 SkImage::Info info = { 29 w, h, SkImage::kPMColor_ColorType, SkImage::kPremul_AlphaType [all...] |