/external/skia/src/gpu/ |
D | GrDeferredProxyUploader.h | 57 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload() 60 if (this->fPixels.addr()) { in scheduleUpload() 61 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload() 62 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload() 76 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels() 89 SkAutoPixmapStorage fPixels; variable
|
D | GrSWMaskHelper.cpp | 137 if (!fPixels->tryAlloc(bmImageInfo)) { in init() 140 fPixels->erase(0); in init() 142 fDraw.fDst = *fPixels; in init() 149 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureView() 150 size_t rowBytes = fPixels->rowBytes(); in toTextureView() 153 SkAssertResult(bitmap.installPixels(ii, fPixels->detachPixels(), rowBytes, in toTextureView()
|
D | GrSWMaskHelper.h | 42 : fPixels(pixels ? pixels : &fPixelsStorage) { } 67 fPixels->erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF)); in clear() 72 SkAutoPixmapStorage* fPixels; variable
|
D | GrResourceProvider.cpp | 68 bool hasPixels = texels[0].fPixels; in createTexture() 120 if (!mipLevel.fPixels) { in createTexture() 625 if (!inLevel.fPixels) { in prepare_level() 626 outLevel->fPixels = nullptr; in prepare_level() 637 outLevel->fPixels = inLevel.fPixels; in prepare_level() 642 outLevel->fPixels = data->get(); in prepare_level() 647 GrCPixmap(srcInfo, inLevel.fPixels, actualRB)); in prepare_level() 657 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in prepareLevels() 686 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in writePixels()
|
/external/skqp/src/gpu/ |
D | GrDeferredProxyUploader.h | 58 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload() 61 if (this->fPixels.addr()) { in scheduleUpload() 62 writePixelsFn(proxy, 0, 0, this->fPixels.width(), this->fPixels.height(), in scheduleUpload() 63 pixelColorType, this->fPixels.addr(), this->fPixels.rowBytes()); in scheduleUpload() 77 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels() 90 SkAutoPixmapStorage fPixels; variable
|
D | GrSWMaskHelper.cpp | 83 if (!fPixels->tryAlloc(bmImageInfo)) { in init() 86 fPixels->erase(0); in init() 88 fDraw.fDst = *fPixels; in init() 95 SkImageInfo ii = SkImageInfo::MakeA8(fPixels->width(), fPixels->height()); in toTextureProxy() 96 size_t rowBytes = fPixels->rowBytes(); in toTextureProxy() 98 sk_sp<SkData> data = fPixels->detachPixelsAsData(); in toTextureProxy()
|
D | GrSWMaskHelper.h | 39 : fPixels(pixels ? pixels : &fPixelsStorage) { } 57 fPixels->erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF)); in clear() 62 SkAutoPixmapStorage* fPixels; variable
|
/external/skqp/include/core/ |
D | SkPixmap.h | 51 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 73 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 147 const void* addr() const { return fPixels; } in addr() 285 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr() 298 return reinterpret_cast<const uint8_t*>(fPixels); in addr8() 311 return reinterpret_cast<const uint16_t*>(fPixels); in addr16() 324 return reinterpret_cast<const uint32_t*>(fPixels); in addr32() 337 return reinterpret_cast<const uint64_t*>(fPixels); in addr64() 352 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16() 451 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr() [all …]
|
D | SkPixelRef.h | 40 void* pixels() const { return fPixels; } in pixels() 97 void* fPixels; variable
|
D | SkRasterHandleAllocator.h | 48 void* fPixels; // pixels for this allocation member
|
/external/skia/include/core/ |
D | SkPixmap.h | 41 : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) in SkPixmap() 63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info) in SkPixmap() 143 const void* addr() const { return fPixels; } in addr() 286 return (const char*)fPixels + fInfo.computeOffset(x, y, fRowBytes); in addr() 299 return reinterpret_cast<const uint8_t*>(fPixels); in addr8() 312 return reinterpret_cast<const uint16_t*>(fPixels); in addr16() 325 return reinterpret_cast<const uint32_t*>(fPixels); in addr32() 338 return reinterpret_cast<const uint64_t*>(fPixels); in addr64() 354 return reinterpret_cast<const uint16_t*>(fPixels); in addrF16() 454 void* writable_addr() const { return const_cast<void*>(fPixels); } in writable_addr() [all …]
|
D | SkPixelRef.h | 40 void* pixels() const { return fPixels; } in pixels() 92 void* fPixels; variable
|
/external/skqp/src/core/ |
D | SkImageInfo.cpp | 103 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 126 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 140 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 163 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
|
D | SkWritePixelsRec.h | 18 : fPixels(pixels) in SkWritePixelsRec() 26 : fPixels(pm.addr()) in SkWritePixelsRec() 33 const void* fPixels; member
|
D | SkPixmap.cpp | 34 fPixels = nullptr; in reset() 43 fPixels = addr; in reset() 75 if (fPixels) { in extractSubset() 77 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset() 147 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes()); in readPixels() 309 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor() 322 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
|
/external/skia/src/core/ |
D | SkImageInfo.cpp | 129 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 152 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 166 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 189 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
|
D | SkWritePixelsRec.h | 19 : fPixels(pixels) in SkWritePixelsRec() 27 : fPixels(pm.addr()) in SkWritePixelsRec() 34 const void* fPixels; member
|
D | SkPixmap.cpp | 36 fPixels = nullptr; in reset() 45 fPixels = addr; in reset() 77 if (fPixels) { in extractSubset() 79 pixels = (const uint8_t*)fPixels + r.fTop * fRowBytes + r.fLeft * bpp; in extractSubset() 171 return SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, in readPixels() 386 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor() 399 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
|
/external/skqp/src/image/ |
D | SkReadPixelsRec.h | 18 : fPixels(pixels) in SkReadPixelsRec() 26 : fPixels(pm.writable_addr()) in SkReadPixelsRec() 33 void* fPixels; member
|
/external/skia/src/image/ |
D | SkReadPixelsRec.h | 19 : fPixels(pixels) in SkReadPixelsRec() 27 : fPixels(pm.writable_addr()) in SkReadPixelsRec() 34 void* fPixels; member
|
/external/skia/tools/ |
D | HashAndEncode.cpp | 69 fPixels.reset(new uint64_t[N]); in HashAndEncode() 72 void* dst = fPixels.get(); in HashAndEncode() 78 fPixels.reset(nullptr); in HashAndEncode() 89 if (const uint64_t* px = fPixels.get()) { in feedHash() 107 if (!fPixels) { in encodePNG() 171 png_write_row(png, (png_bytep)(fPixels.get() + y*fSize.width())); in encodePNG()
|
D | HashAndEncode.h | 29 std::unique_ptr<uint64_t[]> fPixels; // In our standard format mentioned above. variable
|
/external/skqp/tools/fiddle/ |
D | fiddle_main.cpp | 157 texels[0].fPixels = pixmap->addr(); in setup_backend_objects() 161 texels[i].fPixels = nullptr; in setup_backend_objects() 212 texels[0].fPixels = data.get(); in setup_backend_objects() 216 texels[i].fPixels = nullptr; in setup_backend_objects()
|
/external/skia/gm/ |
D | rasterhandleallocator.cpp | 73 rec->fPixels = pixmap.writable_addr(); in allocHandle() 135 rec->fPixels = CGBitmapContextGetData(cg); in allocHandle() 226 rec->fPixels = pixels; in Create()
|
/external/skia/docs/examples/ |
D | Canvas_accessTopRasterHandle.cpp | 18 rec->fPixels = context; in allocHandle()
|