Home
last modified time | relevance | path

Searched refs:computeByteSize (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/flutter/skia/tests/
DCanvasStateTest.cpp156 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize()); in DEF_TEST()
159 bitmaps[0].computeByteSize())); in DEF_TEST()
268 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize()); in DEF_TEST()
271 bitmaps[0].computeByteSize())); in DEF_TEST()
DMallocPixelRefTest.cpp36 size_t size = info.computeByteSize(rowBytes); in DEF_TEST()
45 size_t size = info.computeByteSize(rowBytes) - 1; in DEF_TEST()
53 size_t size = info.computeByteSize(rowBytes) + 9; in DEF_TEST()
DImageNewShaderTest.cpp18 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); in test_bitmap_equality()
19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize())); in test_bitmap_equality()
DRecordingXfermodeTest.cpp155 size_t pixelsSize = goldenBM.computeByteSize(); in DEF_TEST()
156 REPORTER_ASSERT(reporter, pixelsSize == pictureBM.computeByteSize()); in DEF_TEST()
/third_party/skia/tests/
DMallocPixelRefTest.cpp33 size_t size = info.computeByteSize(rowBytes); in DEF_TEST()
42 size_t size = info.computeByteSize(rowBytes) - 1; in DEF_TEST()
50 size_t size = info.computeByteSize(rowBytes) + 9; in DEF_TEST()
DImageNewShaderTest.cpp18 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); in test_bitmap_equality()
19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize())); in test_bitmap_equality()
DCanvasStateTest.cpp105 REPORTER_ASSERT(reporter, pm[0].computeByteSize() == pm[1].computeByteSize()); in compare()
108 if (memcmp(pm[0].addr(0, 0), pm[1].addr(0, 0), pm[0].computeByteSize()) != 0) { in compare()
DRecordingXfermodeTest.cpp157 size_t pixelsSize = goldenBM.computeByteSize(); in DEF_TEST()
158 REPORTER_ASSERT(reporter, pixelsSize == pictureBM.computeByteSize()); in DEF_TEST()
/third_party/flutter/skia/src/core/
DSkAutoPixmapStorage.cpp32 return info.computeByteSize(rb); in AllocSize()
61 sk_sp<SkData> data = SkData::MakeFromMalloc(fStorage, this->computeByteSize()); in detachPixelsAsData()
DSkMallocPixelRef.cpp54 size = info.computeByteSize(rowBytes); in MakeAllocate()
81 if ((rowBytes < info.minRowBytes()) || (data->size() < info.computeByteSize(rowBytes))) { in MakeWithData()
/third_party/skia/src/core/
DSkAutoPixmapStorage.cpp36 return info.computeByteSize(rb); in AllocSize()
77 sk_sp<SkData> data = SkData::MakeFromMalloc(fStorage, this->computeByteSize()); in detachPixelsAsData()
DSkMallocPixelRef.cpp33 size_t size = info.computeByteSize(rowBytes); in MakeAllocate()
64 if ((rowBytes < info.minRowBytes()) || (data->size() < info.computeByteSize(rowBytes))) { in MakeWithData()
/third_party/skia/src/utils/
DSkAnimCodecPlayer.cpp60 size_t size = fImageInfo.computeByteSize(rb); in getFrameAt()
106 size = imageInfo.computeByteSize(rb); in getFrameAt()
/third_party/flutter/skia/docs/examples/
DBitmap_computeByteSize.cpp13 bitmap.computeByteSize()); in draw()
DImageInfo_ByteSizeOverflowed.cpp11 const size_t size = info.computeByteSize(rowBytes);
DPixmap_computeByteSize.cpp13 pixmap.computeByteSize()); in draw()
DImageInfo_computeByteSize.cpp8 const size_t size = info.computeByteSize(100000); in draw()
/third_party/skia/docs/examples/
DImageInfo_ByteSizeOverflowed.cpp11 const size_t size = info.computeByteSize(rowBytes);
DBitmap_computeByteSize.cpp13 bitmap.computeByteSize()); in draw()
DPixmap_computeByteSize.cpp13 pixmap.computeByteSize()); in draw()
DImageInfo_computeByteSize.cpp8 const size_t size = info.computeByteSize(100000); in draw()
DSurface_MakeRasterDirectReleaseProc.cpp16 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in draw()
/third_party/cef/libcef/browser/
Dimage_impl.cc120 DCHECK_EQ(pixel_data_size, bitmap.computeByteSize()); in AddBitmap()
214 bitmap->computeByteSize()); in GetAsBitmap()
221 desired_bitmap.computeByteSize()); in GetAsBitmap()
/third_party/flutter/skia/include/core/
DSkImageInfo.h557 size_t computeByteSize(size_t rowBytes) const;
568 return this->computeByteSize(this->minRowBytes()); in computeMinByteSize()
DSkPixmap.h229 size_t computeByteSize() const { return fInfo.computeByteSize(fRowBytes); } in computeByteSize() function

1234