/third_party/skia/src/gpu/ |
H A D | GrDeferredProxyUploader.h | 27 * the payload data to allocate and fill in the fPixels pixmap. 37 * Finally, we call resetDeferredUploader, which deletes the uploader object, causing fPixels 57 GrColorType pixelColorType = SkColorTypeToGrColorType(this->fPixels.info().colorType()); in scheduleUpload() 60 if (this->fPixels.addr()) { in scheduleUpload() 62 SkIRect::MakeSize(fPixels.dimensions()), in scheduleUpload() 64 this->fPixels.addr(), in scheduleUpload() 65 this->fPixels.rowBytes()); in scheduleUpload() 79 SkAutoPixmapStorage* getPixels() { return &fPixels; } in getPixels() 92 SkAutoPixmapStorage fPixels; member in GrDeferredProxyUploader
|
H A 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()
|
H A D | GrSWMaskHelper.h | 42 : fPixels(pixels ? pixels : &fPixelsStorage) { } in GrSWMaskHelper() 67 fPixels->erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF)); in clear() 72 SkAutoPixmapStorage* fPixels; member in GrSWMaskHelper
|
H A D | GrResourceProvider.cpp | 74 bool hasPixels = texels[0].fPixels; in createTexture() 146 if (!mipLevel.fPixels) { in createTexture() 778 if (!inLevel.fPixels) { in prepare_level() 779 outLevel->fPixels = nullptr; in prepare_level() 790 outLevel->fPixels = inLevel.fPixels; in prepare_level() 795 outLevel->fPixels = data->get(); in prepare_level() 800 GrCPixmap(srcInfo, inLevel.fPixels, actualRB)); in prepare_level() 810 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in prepareLevels() 839 SkASSERT(mipLevelCount && texels && texels[0].fPixels); in writePixels() [all...] |
H A D | GrGpu.cpp | 56 bool hasBasePixels = texels[0].fPixels; in validate_texel_levels() 62 if (texels[currentMipLevel].fPixels) { in validate_texel_levels() 206 if (!texels->fPixels) { in createTexture() 228 if (texelLevelCount && texels[0].fPixels) { in createTexture() 239 markMipLevelsClean = (texelLevelCount > 1 && !levelClearMask && texels[1].fPixels); in createTexture()
|
H A D | GrProxyProvider.cpp | 401 texels[0].fPixels = bitmap.getPixels(); in createMippedProxyFromBitmap() 407 texels[i].fPixels = generatedMipLevel.fPixmap.addr(); in createMippedProxyFromBitmap() 409 SkASSERT(texels[i].fPixels); in createMippedProxyFromBitmap()
|
/third_party/skia/include/core/ |
H A 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() 713 const void* fPixels; global() member in SkPixmap [all...] |
H A D | SkPixelRef.h | 40 void* pixels() const { return fPixels; } in pixels() 92 void* fPixels; member in SkPixelRef
|
H A D | SkRasterHandleAllocator.h | 48 void* fPixels; // pixels for this allocation member
|
/third_party/skia/src/core/ |
H A D | SkImageInfo.cpp | 147 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 170 fPixels = ((char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim() 184 if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { in trim() 207 fPixels = ((const char*)fPixels + -y*fRowBytes + -x*fInfo.bytesPerPixel()); in trim()
|
H A D | SkWritePixelsRec.h | 19 : fPixels(pixels) in SkWritePixelsRec() 27 : fPixels(pm.addr()) in SkWritePixelsRec() 34 const void* fPixels; member
|
H A 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() 172 return SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, in readPixels() 411 (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; in getColor() 424 (const float*)fPixels + 4*y*(fRowBytes >> 4) + 4*x; in getColor()
|
H A D | SkPixmapPriv.h | 60 pm->fPixels = address; in ResetPixmapKeepInfo()
|
H A D | SkPixelRef.cpp | 33 , fPixels(pixels) in SkPixelRef() 50 // note: we do not change fPixels in android_only_reset()
|
H A D | SkBitmap.cpp | 487 rec.fInfo, rec.fPixels, rec.fRowBytes)) { in writePixels()
|
/third_party/skia/src/image/ |
H A D | SkReadPixelsRec.h | 19 : fPixels(pixels) in SkReadPixelsRec() 27 : fPixels(pm.writable_addr()) in SkReadPixelsRec() 34 void* fPixels; member
|
/third_party/skia/tools/ |
H A D | HashAndEncode.cpp | 70 fPixels.reset(new uint64_t[N]); in HashAndEncode() 73 void* dst = fPixels.get(); in HashAndEncode() 79 fPixels.reset(nullptr); in HashAndEncode() 90 if (const uint64_t* px = fPixels.get()) { in feedHash() 108 if (!fPixels) { in encodePNG() 172 png_write_row(png, (png_bytep)(fPixels.get() + y*fSize.width())); in encodePNG()
|
H A D | HashAndEncode.h | 29 std::unique_ptr<uint64_t[]> fPixels; // In our standard format mentioned above. member in HashAndEncode
|
/third_party/skia/docs/examples/ |
H A D | Canvas_accessTopRasterHandle.cpp | 18 rec->fPixels = context; in REG_FIDDLE()
|
/third_party/skia/gm/ |
H A D | rasterhandleallocator.cpp | 73 rec->fPixels = pixmap.writable_addr(); 135 rec->fPixels = CGBitmapContextGetData(cg); 226 rec->fPixels = pixels; in Create()
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DGpu.cpp | 677 if (!mipLevelCount || !texels[0].fPixels) { in onWritePixels() 723 if (1 == mipLevelCount && !texels[0].fPixels) { in uploadToTexture() 729 if (!texels[i].fPixels) { in uploadToTexture() 756 if (texels[currentMipLevel].fPixels) { in uploadToTexture() 764 const char* src = (const char*)texels[currentMipLevel].fPixels; in uploadToTexture()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkGpu.cpp | 511 if (!mipLevelCount || !texels[0].fPixels) { in onWritePixels() 537 texels[0].fPixels, in onWritePixels() 946 // But we may need to adjust the fPixels ptr based on the copyRect, or fRowBytes. in uploadTexDataOptimal() 959 SkASSERT(texelsShallowCopy[0].fPixels && texelsShallowCopy[0].fRowBytes); in uploadTexDataOptimal() 988 if (texelsShallowCopy[currentMipLevel].fPixels) { in uploadTexDataOptimal() 994 const char* src = (const char*)texelsShallowCopy[currentMipLevel].fPixels; in uploadTexDataOptimal()
|
/third_party/skia/tests/ |
H A D | TransferPixelsTest.cpp | 314 data.fPixels = textureData.get(); in basic_transfer_from_test()
|
/third_party/skia/include/private/ |
H A D | GrTypesPriv.h | 163 const void* fPixels = nullptr; 165 // This may be used to keep fPixels from being freed while a GrMipLevel exists.
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnGpu.cpp | 365 const void* src = texels[i].fPixels; in uploadTextureData()
|