Home
last modified time | relevance | path

Searched refs:fImages (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/utils/
DSkAnimCodecPlayer.cpp18 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/
DSkAnimCodecPlayer.cpp18 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/
DImageCacheBudgetBench.cpp96 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
DImageCycleBench.cpp40 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
DCompositingImagesBench.cpp44 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
Dnanobench.cpp635 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/
DImageCacheBudgetBench.cpp96 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
DImageCycleBench.cpp40 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
DCompositingImagesBench.cpp44 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
Dnanobench.cpp635 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/
Dimagescalealigned.cpp23 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()
Dperspimages.cpp34 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
Dwacky_yuv_formats.cpp828 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/
Dimagescalealigned.cpp23 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()
Dperspimages.cpp34 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
Dwacky_yuv_formats.cpp809 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/
DVulkanWindowContext.cpp41 , 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/
DSkPictureData.h103 return reader->validateIndex(index, fImages.count()) ? fImages[index].get() : nullptr; in getImage()
157 SkTArray<sk_sp<const SkImage>> fImages; variable
DSkPictureData.cpp47 , 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()
DSkPictureRecord.h53 return fImages; in getImages()
251 SkTArray<sk_sp<const SkImage>> fImages; variable
/external/skia/src/core/
DSkPictureData.h103 return reader->validateIndex(index, fImages.count()) ? fImages[index].get() : nullptr; in getImage()
157 SkTArray<sk_sp<const SkImage>> fImages; variable
DSkPictureData.cpp47 , 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/
DVulkanWindowContext.cpp42 , 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/
DSkAnimCodecPlayer.h52 std::vector<sk_sp<SkImage> > fImages; variable
/external/skia/include/utils/
DSkAnimCodecPlayer.h52 std::vector<sk_sp<SkImage> > fImages; variable

12