Home | History | Annotate | Download | only in image

Lines Matching refs:SkImage

30 SkImage::SkImage(int width, int height, uint32_t uniqueID)
39 const void* SkImage::peekPixels(SkImageInfo* info, size_t* rowBytes) const {
51 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
60 bool SkImage::scalePixels(const SkPixmap& dst, SkFilterQuality quality, CachingHint chint) const {
81 void SkImage::preroll(GrContext* ctx) const {
94 SkShader* SkImage::newShader(SkShader::TileMode tileX,
100 SkData* SkImage::encode(SkImageEncoder::Type type, int quality) const {
108 SkData* SkImage::encode(SkPixelSerializer* serializer) const {
130 SkData* SkImage::refEncoded() const {
135 SkImage* SkImage::NewFromEncoded(SkData* encoded, const SkIRect* subset) {
140 return generator ? SkImage::NewFromGenerator(generator, subset) : nullptr;
143 const char* SkImage::toString(SkString* str) const {
149 SkImage* SkImage::newSubset(const SkIRect& subset) const {
161 return SkRef(const_cast<SkImage*>(this));
168 GrTexture* SkImage::getTexture() const {
172 bool SkImage::isTextureBacked() const { return SkToBool(as_IB(this)->getTexture()); }
174 GrBackendObject SkImage::getTextureHandle(bool flushPendingGrContextIO) const {
190 GrTexture* SkImage::getTexture() const { return nullptr; }
192 bool SkImage::isTextureBacked() const { return false; }
194 GrBackendObject SkImage::getTextureHandle(bool) const { return 0; }
244 bool SkImage::peekPixels(SkPixmap* pmap) const {
257 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const {
267 bool SkImage::readYUV8Planes(const SkISize sizes[3], void* const planes[3],
281 SkImage* SkImage::NewFromBitmap(const SkBitmap& bm) {
307 bool SkImage::asLegacyBitmap(SkBitmap* bitmap, LegacyBitmapMode mode) const {
330 SkImage* SkImage::NewFromPicture(const SkPicture* picture, const SkISize& dimensions,
338 bool SkImage::isLazyGenerated() const {
346 SkImage* SkImage::NewFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType,
351 SkImage* SkImage::NewFromAdoptedTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType) {
355 SkImage* SkImage::NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&, SkAlphaType) {
359 SkImage* SkImage::newTextureImage(GrContext*) const {