/external/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 18 fImages.resize(fFrameInfos.size()); in SkAnimCodecPlayer() 31 fImages.clear(); in SkAnimCodecPlayer() 32 fImages.push_back(SkImage::MakeFromGenerator( in SkAnimCodecPlayer() 46 if (fImages[index]) { in getFrameAt() 47 return fImages[index]; in getFrameAt() 59 auto requiredImage = fImages[requiredFrame]; in getFrameAt() 67 return fImages[index] = SkImage::MakeRasterData(fImageInfo, std::move(data), rb); in getFrameAt() 73 SkASSERT(fTotalDuration > 0 || fImages.size() == 1); in getFrame() 77 : fImages.front(); in getFrame()
|
/external/skqp/src/utils/ |
D | SkAnimCodecPlayer.cpp | 18 fImages.resize(fFrameInfos.size()); in SkAnimCodecPlayer() 31 fImages.clear(); in SkAnimCodecPlayer() 32 fImages.push_back(SkImage::MakeFromGenerator( in SkAnimCodecPlayer() 46 if (fImages[index]) { in getFrameAt() 47 return fImages[index]; in getFrameAt() 59 auto requiredImage = fImages[requiredFrame]; in getFrameAt() 67 return fImages[index] = SkImage::MakeRasterData(fImageInfo, std::move(data), rb); in getFrameAt() 73 SkASSERT(fTotalDuration > 0 || fImages.size() == 1); in getFrame() 77 : fImages.front(); in getFrame()
|
/external/skia/bench/ |
D | ImageCacheBudgetBench.cpp | 96 make_images(fImages, kImagesToDraw); in onPerCanvasPreDraw() 119 fImages[i].reset(); in onPerCanvasPostDraw() 134 draw_image(canvas, fImages[idx].get()); in onDraw() 149 sk_sp<SkImage> fImages[kImagesToDraw]; member in ImageCacheBudgetBench 207 make_images(fImages, kMaxImagesToDraw); in onPerCanvasPreDraw() 216 fImages[i].reset(); in onPerCanvasPostDraw() 234 draw_image(canvas, fImages[j].get()); in onDraw() 254 sk_sp<SkImage> fImages[kMaxImagesToDraw]; member in ImageCacheBudgetDynamicBench
|
D | ImageCycleBench.cpp | 40 fImages.reset(new sk_sp<SkImage>[fImageCnt]); in onPerCanvasPreDraw() 50 fImages[i] = surf->makeImageSnapshot(); in onPerCanvasPreDraw() 54 void onPerCanvasPostDraw(SkCanvas*) override { fImages.reset(); } in onPerCanvasPostDraw() 72 canvas->drawImage(fImages[i].get(), x, imageYOffset + rowYOffset, &paint); in onDraw() 86 std::unique_ptr<sk_sp<SkImage>[]> fImages; member in ImageCycle
|
D | CompositingImagesBench.cpp | 44 fImages.reset(new sk_sp<SkImage>[numImages]); in onPerCanvasPreDraw() 54 fImages[i] = surf->makeImageSnapshot(); in onPerCanvasPreDraw() 58 void onPerCanvasPostDraw(SkCanvas*) override { fImages.reset(); } in onPerCanvasPostDraw() 72 canvas->drawImage(fImages[imgIdx++].get(), x * fTileSize.fWidth + o, in onDraw() 93 std::unique_ptr<sk_sp<SkImage>[]> fImages; member in CompositingImages
|
D | nanobench.cpp | 635 if (!CollectImages(FLAGS_images, &fImages)) { in BenchmarkStream() 820 for (; fCurrentCodec < fImages.count(); fCurrentCodec++) { in rawNext() 823 const SkString& path = fImages[fCurrentCodec]; in rawNext() 898 for (; fCurrentAndroidCodec < fImages.count(); fCurrentAndroidCodec++) { in rawNext() 902 const SkString& path = fImages[fCurrentAndroidCodec]; in rawNext() 943 for (; fCurrentBRDImage < fImages.count(); fCurrentBRDImage++) { in rawNext() 947 const SkString& path = fImages[fCurrentBRDImage]; in rawNext() 1059 SkTArray<SkString> fImages; member in BenchmarkStream
|
/external/skqp/bench/ |
D | ImageCacheBudgetBench.cpp | 96 make_images(fImages, kImagesToDraw); in onPerCanvasPreDraw() 119 fImages[i].reset(); in onPerCanvasPostDraw() 134 draw_image(canvas, fImages[idx].get()); in onDraw() 149 sk_sp<SkImage> fImages[kImagesToDraw]; member in ImageCacheBudgetBench 207 make_images(fImages, kMaxImagesToDraw); in onPerCanvasPreDraw() 216 fImages[i].reset(); in onPerCanvasPostDraw() 234 draw_image(canvas, fImages[j].get()); in onDraw() 254 sk_sp<SkImage> fImages[kMaxImagesToDraw]; member in ImageCacheBudgetDynamicBench
|
D | ImageCycleBench.cpp | 40 fImages.reset(new sk_sp<SkImage>[fImageCnt]); in onPerCanvasPreDraw() 50 fImages[i] = surf->makeImageSnapshot(); in onPerCanvasPreDraw() 54 void onPerCanvasPostDraw(SkCanvas*) override { fImages.reset(); } in onPerCanvasPostDraw() 72 canvas->drawImage(fImages[i].get(), x, imageYOffset + rowYOffset, &paint); in onDraw() 86 std::unique_ptr<sk_sp<SkImage>[]> fImages; member in ImageCycle
|
D | CompositingImagesBench.cpp | 44 fImages.reset(new sk_sp<SkImage>[numImages]); in onPerCanvasPreDraw() 54 fImages[i] = surf->makeImageSnapshot(); in onPerCanvasPreDraw() 58 void onPerCanvasPostDraw(SkCanvas*) override { fImages.reset(); } in onPerCanvasPostDraw() 72 canvas->drawImage(fImages[imgIdx++].get(), x * fTileSize.fWidth + o, in onDraw() 93 std::unique_ptr<sk_sp<SkImage>[]> fImages; member in CompositingImages
|
D | nanobench.cpp | 635 if (!CollectImages(FLAGS_images, &fImages)) { in BenchmarkStream() 820 for (; fCurrentCodec < fImages.count(); fCurrentCodec++) { in rawNext() 823 const SkString& path = fImages[fCurrentCodec]; in rawNext() 898 for (; fCurrentAndroidCodec < fImages.count(); fCurrentAndroidCodec++) { in rawNext() 902 const SkString& path = fImages[fCurrentAndroidCodec]; in rawNext() 943 for (; fCurrentBRDImage < fImages.count(); fCurrentBRDImage++) { in rawNext() 947 const SkString& path = fImages[fCurrentBRDImage]; in rawNext() 1059 SkTArray<SkString> fImages; member in BenchmarkStream
|
/external/skia/gm/ |
D | imagescalealigned.cpp | 23 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN); in onOnceBeforeDraw() 25 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorRED); in onOnceBeforeDraw() 27 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN); in onOnceBeforeDraw() 66 SkSTArray<3, sk_sp<SkImage>, true> fImages; member 127 SkASSERT(set.fImages.count() == set.fScales.count()); in drawSet() 130 for (int i = 0; i < set.fImages.count(); ++i) { in drawSet() 131 auto& img = set.fImages[i]; in drawSet()
|
D | perspimages.cpp | 34 fImages.push_back(make_image1()); in onOnceBeforeDraw() 35 fImages.push_back(make_image2()); in onOnceBeforeDraw() 53 for (const auto& img : fImages) { in onDraw() 75 for (const auto& img : fImages) { in onDraw() 116 SkTArray<sk_sp<SkImage>> fImages; member in skiagm::PerspImages
|
D | wacky_yuv_formats.cpp | 828 fImages[opaque][cs][format] = SkImage::MakeFromYUVATexturesCopy( in createImages() 837 fImages[opaque][cs][format] = SkImage::MakeFromYUVATextures( in createImages() 847 fImages[opaque][cs][format] = SkImage::MakeFromYUVAPixmaps( in createImages() 858 fImages[opaque][cs][format] = make_yuv_gen_image( in createImages() 890 if (fUseTargetColorSpace && fImages[opaque][cs][format]) { in onDraw() 895 fImages[opaque][cs][format]->makeColorSpace(fTargetColorSpace); in onDraw() 898 canvas->drawImage(fImages[opaque][cs][format], x, y, &paint); in onDraw() 923 sk_sp<SkImage> fImages[2][kLastEnum_SkYUVColorSpace + 1][kLast_YUVFormat + 1]; member in skiagm::WackyYUVFormatsGM 1002 fImages[opaque][0] = SkImage::MakeFromYUVATextures( in createImages() 1009 fImages[opaque][1] = SkImage::MakeFromYUVATextures( in createImages() [all …]
|
/external/skqp/gm/ |
D | imagescalealigned.cpp | 23 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN); in onOnceBeforeDraw() 25 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorRED); in onOnceBeforeDraw() 27 set.fImages.push_back() = MakeImage(vectors[i], SK_ColorGREEN); in onOnceBeforeDraw() 66 SkSTArray<3, sk_sp<SkImage>, true> fImages; member 127 SkASSERT(set.fImages.count() == set.fScales.count()); in drawSet() 130 for (int i = 0; i < set.fImages.count(); ++i) { in drawSet() 131 auto& img = set.fImages[i]; in drawSet()
|
D | perspimages.cpp | 34 fImages.push_back(make_image1()); in onOnceBeforeDraw() 35 fImages.push_back(make_image2()); in onOnceBeforeDraw() 53 for (const auto& img : fImages) { in onDraw() 75 for (const auto& img : fImages) { in onDraw() 116 SkTArray<sk_sp<SkImage>> fImages; member in skiagm::PerspImages
|
D | wacky_yuv_formats.cpp | 809 fImages[opaque][cs][format] = SkImage::MakeFromYUVATexturesCopy( in createImages() 818 fImages[opaque][cs][format] = SkImage::MakeFromYUVATextures( in createImages() 828 fImages[opaque][cs][format] = SkImage::MakeFromYUVAPixmaps( in createImages() 839 fImages[opaque][cs][format] = make_yuv_gen_image( in createImages() 865 if (fUseTargetColorSpace && fImages[opaque][cs][format]) { in onDraw() 867 fImages[opaque][cs][format]->makeColorSpace(fTargetColorSpace); in onDraw() 870 canvas->drawImage(fImages[opaque][cs][format], x, y); in onDraw() 895 sk_sp<SkImage> fImages[2][kLastEnum_SkYUVColorSpace + 1][kLast_YUVFormat + 1]; member in skiagm::WackyYUVFormatsGM
|
/external/skqp/tools/sk_app/ |
D | VulkanWindowContext.cpp | 41 , fImages(nullptr) in VulkanWindowContext() 323 fImages = new VkImage[fImageCount]; in createBuffers() 324 fGetSwapchainImagesKHR(fDevice, fSwapchain, &fImageCount, fImages); in createBuffers() 333 info.fImage = fImages[i]; in createBuffers() 441 delete[] fImages; in destroyBuffers() 442 fImages = nullptr; in destroyBuffers() 564 fImages[backbuffer->fImageIndex], // image in getBackbufferSurface() 621 SkASSERT(imageInfo.fImage == fImages[backbuffer->fImageIndex]); in swapBuffers() 638 fImages[backbuffer->fImageIndex], // image in swapBuffers()
|
/external/skqp/src/core/ |
D | SkPictureData.h | 103 return reader->validateIndex(index, fImages.count()) ? fImages[index].get() : nullptr; in getImage() 157 SkTArray<sk_sp<const SkImage>> fImages; variable
|
D | SkPictureData.cpp | 47 , fImages(record.getImages()) in SkPictureData() 179 if (!fImages.empty()) { in flattenToBuffer() 180 write_tag_size(buffer, SK_PICT_IMAGE_BUFFER_TAG, fImages.count()); in flattenToBuffer() 181 for (const auto& img : fImages) { in flattenToBuffer() 439 new_array_from_buffer(buffer, size, fImages, create_image_from_buffer); in parseBufferTag()
|
D | SkPictureRecord.h | 53 return fImages; in getImages() 251 SkTArray<sk_sp<const SkImage>> fImages; variable
|
/external/skia/src/core/ |
D | SkPictureData.h | 103 return reader->validateIndex(index, fImages.count()) ? fImages[index].get() : nullptr; in getImage() 157 SkTArray<sk_sp<const SkImage>> fImages; variable
|
D | SkPictureData.cpp | 47 , fImages(record.getImages()) in SkPictureData() 179 if (!fImages.empty()) { in flattenToBuffer() 180 write_tag_size(buffer, SK_PICT_IMAGE_BUFFER_TAG, fImages.count()); in flattenToBuffer() 181 for (const auto& img : fImages) { in flattenToBuffer() 439 new_array_from_buffer(buffer, size, fImages, create_image_from_buffer); in parseBufferTag()
|
/external/skia/tools/sk_app/ |
D | VulkanWindowContext.cpp | 42 , fImages(nullptr) in VulkanWindowContext() 323 fImages = new VkImage[fImageCount]; in createBuffers() 324 fGetSwapchainImagesKHR(fDevice, fSwapchain, &fImageCount, fImages); in createBuffers() 333 info.fImage = fImages[i]; in createBuffers() 390 delete[] fImages; in destroyBuffers() 391 fImages = nullptr; in destroyBuffers()
|
/external/skqp/include/utils/ |
D | SkAnimCodecPlayer.h | 52 std::vector<sk_sp<SkImage> > fImages; variable
|
/external/skia/include/utils/ |
D | SkAnimCodecPlayer.h | 52 std::vector<sk_sp<SkImage> > fImages; variable
|