Home
last modified time | relevance | path

Searched refs:requestedInfo (Results 1 – 5 of 5) sorted by relevance

/external/skqp/src/core/
DSkBitmap.cpp224 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels() argument
225 if (!this->setInfo(requestedInfo, rowBytes)) { in tryAllocPixels()
249 bool SkBitmap::tryAllocPixelsFlags(const SkImageInfo& requestedInfo, uint32_t allocFlags) { in tryAllocPixelsFlags() argument
250 if (!this->setInfo(requestedInfo)) { in tryAllocPixelsFlags()
277 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, in installPixels() argument
279 if (!this->setInfo(requestedInfo, rb)) { in installPixels()
/external/skqp/tests/
DSurfaceTest.cpp42 SkImageInfo* requestedInfo = nullptr) { in create_surface() argument
44 if (requestedInfo) { in create_surface()
45 *requestedInfo = info; in create_surface()
50 SkImageInfo* requestedInfo = nullptr) { in create_direct_surface() argument
52 if (requestedInfo) { in create_direct_surface()
53 *requestedInfo = info; in create_direct_surface()
62 SkImageInfo* requestedInfo = nullptr) { in create_gpu_surface() argument
64 if (requestedInfo) { in create_gpu_surface()
65 *requestedInfo = info; in create_gpu_surface()
71 SkImageInfo* requestedInfo = nullptr) { in create_gpu_scratch_surface() argument
[all …]
/external/skia/tests/
DSurfaceTest.cpp42 SkImageInfo* requestedInfo = nullptr) { in create_surface() argument
44 if (requestedInfo) { in create_surface()
45 *requestedInfo = info; in create_surface()
50 SkImageInfo* requestedInfo = nullptr) { in create_direct_surface() argument
52 if (requestedInfo) { in create_direct_surface()
53 *requestedInfo = info; in create_direct_surface()
62 SkImageInfo* requestedInfo = nullptr) { in create_gpu_surface() argument
64 if (requestedInfo) { in create_gpu_surface()
65 *requestedInfo = info; in create_gpu_surface()
71 SkImageInfo* requestedInfo = nullptr) { in create_gpu_scratch_surface() argument
[all …]
/external/skia/src/core/
DSkBitmap.cpp256 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels() argument
257 if (!this->setInfo(requestedInfo, rowBytes)) { in tryAllocPixels()
281 bool SkBitmap::tryAllocPixelsFlags(const SkImageInfo& requestedInfo, uint32_t allocFlags) { in tryAllocPixelsFlags() argument
282 if (!this->setInfo(requestedInfo)) { in tryAllocPixelsFlags()
309 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, in installPixels() argument
311 if (!this->setInfo(requestedInfo, rb)) { in installPixels()
/external/skia/src/android/
DSkAnimatedImage.cpp30 const SkImageInfo& requestedInfo, SkIRect cropRect, sk_sp<SkPicture> postProcess) { in Make() argument
35 auto scaledSize = requestedInfo.dimensions(); in Make()
36 auto decodeInfo = requestedInfo; in Make()