/external/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 35 fImages.resize(fFrameInfos.size()); in SkAnimCodecPlayer() 48 fImages.clear(); in SkAnimCodecPlayer() 49 fImages.push_back(SkImage::MakeFromGenerator( in SkAnimCodecPlayer() 58 auto image = fImages.front(); in dimensions() 70 if (fImages[index]) { in getFrameAt() 71 return fImages[index]; in getFrameAt() 94 if (requiredFrame != SkCodec::kNoFrame && fImages[requiredFrame]) { in getFrameAt() 95 auto requiredImage = fImages[requiredFrame]; in getFrameAt() 128 return fImages[index] = image; in getFrameAt() 132 SkASSERT(fTotalDuration > 0 || fImages.size() == 1); in getFrame() [all …]
|
/external/skia/bench/ |
D | ImageCacheBudgetBench.cpp | 95 make_images(fImages, kImagesToDraw); in onPerCanvasPreDraw() 118 fImages[i].reset(); in onPerCanvasPostDraw() 135 draw_image(canvas, fImages[idx].get()); in onDraw() 152 sk_sp<SkImage> fImages[kImagesToDraw]; member in ImageCacheBudgetBench 209 make_images(fImages, kMaxImagesToDraw); in onPerCanvasPreDraw() 218 fImages[i].reset(); in onPerCanvasPostDraw() 238 draw_image(canvas, fImages[j].get()); in onDraw() 260 sk_sp<SkImage> fImages[kMaxImagesToDraw]; member in ImageCacheBudgetDynamicBench
|
D | BulkRectBench.cpp | 63 sk_sp<SkImage> fImages[kImageCount]; member in BulkRectBench 98 batch[i].fImage = fImages[imageIndex]; in drawImagesBatch() 99 batch[i].fSrcRect = SkRect::MakeIWH(fImages[imageIndex]->width(), in drawImagesBatch() 100 fImages[imageIndex]->height()); in drawImagesBatch() 122 SkRect srcRect = SkRect::MakeIWH(fImages[imageIndex]->width(), in drawImagesRef() 123 fImages[imageIndex]->height()); in drawImagesRef() 124 canvas->drawImageRect(fImages[imageIndex].get(), srcRect, fRects[i], in drawImagesRef() 227 fImages[i] = direct ? image->makeTextureImage(direct) : std::move(image); in onPerCanvasPreDraw() 236 fImages[i].reset(); in onPerCanvasPostDraw()
|
D | ImageCycleBench.cpp | 42 fImages = std::make_unique<sk_sp<SkImage>[]>(fImageCnt); in onPerCanvasPreDraw() 52 fImages[i] = surf->makeImageSnapshot(); in onPerCanvasPreDraw() 56 void onPerCanvasPostDraw(SkCanvas*) override { fImages.reset(); } in onPerCanvasPostDraw() 73 canvas->drawImage(fImages[i].get(), x, imageYOffset + rowYOffset, in onDraw() 90 std::unique_ptr<sk_sp<SkImage>[]> fImages; member in ImageCycle
|
D | CompositingImagesBench.cpp | 105 fImages = std::make_unique<sk_sp<SkImage>[]>(numImages); in onPerCanvasPreDraw() 117 fImages[i] = surf->makeImageSnapshot(); in onPerCanvasPreDraw() 121 void onPerCanvasPostDraw(SkCanvas*) override { fImages.reset(); } in onPerCanvasPostDraw() 285 return SkCanvas::ImageSetEntry(fImages[imageIdx], srcRect, dstRect, 1.f, in getEntry() 314 std::unique_ptr<sk_sp<SkImage>[]> fImages; member in CompositingImages
|
D | nanobench.cpp | 813 if (!CommonFlags::CollectImages(FLAGS_images, &fImages)) { in BenchmarkStream() 1038 for (; fCurrentCodec < fImages.size(); fCurrentCodec++) { in rawNext() 1041 const SkString& path = fImages[fCurrentCodec]; in rawNext() 1116 for (; fCurrentAndroidCodec < fImages.size(); fCurrentAndroidCodec++) { in rawNext() 1120 const SkString& path = fImages[fCurrentAndroidCodec]; in rawNext() 1162 for (; fCurrentBRDImage < fImages.size(); fCurrentBRDImage++) { in rawNext() 1166 const SkString& path = fImages[fCurrentBRDImage]; in rawNext() 1277 SkTArray<SkString> fImages; member in BenchmarkStream
|
/external/skia/gm/ |
D | perspimages.cpp | 42 fImages.push_back(make_image1()); in onOnceBeforeDraw() 43 fImages.push_back(make_image2()); in onOnceBeforeDraw() 61 for (const auto& img : fImages) { in onDraw() 86 for (const auto& origImage : fImages) { in onDraw() 129 SkTArray<sk_sp<SkImage>> fImages; member in skiagm::PerspImages
|
D | wacky_yuv_formats.cpp | 850 fImages[opaque][cs][format] = lazyYUV->refImage(dContext, fImageType); in createImages() 894 fImages[i][j][k] = nullptr; in onGpuTeardown() 941 if (fUseTargetColorSpace && fImages[opaque][cs][format]) { in onDraw() 946 fImages[opaque][cs][format]->makeColorSpace(fTargetColorSpace, direct); in onDraw() 950 canvas->drawImageRect(fImages[opaque][cs][format], srcRect, dstRect, in onDraw() 963 sk_sp<SkImage> fImages[2][kLastEnum_SkYUVColorSpace + 1][kLast_YUVFormat + 1]; member in skiagm::WackyYUVFormatsGM 1055 fImages[opaque][i++] = in createImages() 1086 fImages[0][0] = fImages[0][1] = fImages[1][0] = fImages[1][1] = nullptr; in onGpuTeardown() 1090 SkASSERT(fImages[0][0] && fImages[0][1] && fImages[1][0] && fImages[1][1]); in onDraw() 1107 if (fImages[opaque][tagged]) { in onDraw() [all …]
|
/external/skia/tools/ |
D | SkSharingProc.cpp | 72 if (fid >= context->fImages.size()) { in deserializeImage() 76 return context->fImages[fid]; in deserializeImage() 82 context->fImages.push_back(image); in deserializeImage()
|
D | SkSharingProc.h | 68 std::vector<sk_sp<SkImage>> fImages; member
|
/external/skia/modules/canvaskit/ |
D | debugger_bindings.cpp | 258 sk_sp<SkData> pngData = fImages[index]->encodeToData(); in getImageResource() 268 return fImages.size(); in getImageCount() 273 return toImageInfoNoColorspace(fImages[index]->imageInfo()); in getImageInfo() 428 fImages = deserialContext->fImages; in loadMultiFrame() 430 udm.indexImages(fImages); in loadMultiFrame() 451 std::vector<sk_sp<SkImage>> fImages; member in SkpDebugPlayer
|
/external/skia/src/core/ |
D | SkPictureData.h | 119 return reader->validateIndex(index, fImages.size()) ? fImages[index].get() : nullptr; in getImage() 178 SkTArray<sk_sp<const SkImage>> fImages; variable
|
D | SkPictureData.cpp | 58 , fImages(record.getImages()) in SkPictureData() 205 if (!fImages.empty()) { in flattenToBuffer() 206 write_tag_size(buffer, SK_PICT_IMAGE_BUFFER_TAG, fImages.size()); in flattenToBuffer() 207 for (const auto& img : fImages) { in flattenToBuffer() 496 new_array_from_buffer(buffer, size, fImages, create_image_from_buffer); in parseBufferTag()
|
D | SkPictureRecord.h | 62 return fImages; in getImages() 254 SkTArray<sk_sp<const SkImage>> fImages; variable
|
D | SkPictureRecord.cpp | 841 this->addInt(find_or_append(fImages, image)); in addImage()
|
/external/skia/tools/sk_app/ |
D | VulkanWindowContext.cpp | 44 , fImages(nullptr) in VulkanWindowContext() 338 fImages = new VkImage[fImageCount]; in createBuffers() 339 fGetSwapchainImagesKHR(fDevice, fSwapchain, &fImageCount, fImages); in createBuffers() 348 info.fImage = fImages[i]; in createBuffers() 420 delete[] fImages; in destroyBuffers() 421 fImages = nullptr; in destroyBuffers()
|
D | VulkanWindowContext.h | 107 VkImage* fImages; // images in the swapchain variable
|
/external/skia/tools/window/ |
D | SkVulkanWindowContext.cpp | 41 , fImages(nullptr) in SkVulkanWindowContext() 335 fImages = new VkImage[fImageCount]; in createBuffers() 336 fGetSwapchainImagesKHR(fDevice, fSwapchain, &fImageCount, fImages); in createBuffers() 345 info.fImage = fImages[i]; in createBuffers() 417 delete[] fImages; in destroyBuffers() 418 fImages = nullptr; in destroyBuffers()
|
D | SkVulkanWindowContext.h | 104 VkImage* fImages; // images in the swapchain variable
|
/external/skia/include/utils/ |
D | SkAnimCodecPlayer.h | 59 std::vector<sk_sp<SkImage> > fImages; variable
|