Home
last modified time | relevance | path

Searched refs:isTextureBacked (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/tests/
DDeviceTest.cpp54 SkASSERT(!special->isTextureBacked());
63 SkASSERT(!special->isTextureBacked());
71 SkASSERT(!special->isTextureBacked());
97 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
106 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
116 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSpecialImageTest.cpp68 REPORTER_ASSERT(reporter, isGPUBacked == img->isTextureBacked()); in test_image()
79 if (!img->isTextureBacked()) { in test_image()
120 REPORTER_ASSERT(reporter, isGPUBacked == tightImg->isTextureBacked()); in test_image()
DImageTest.cpp418 if (!image->isTextureBacked() || imageContext->priv().matches(dContext)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
423 if (!texImage->isTextureBacked()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
442 if (image->isTextureBacked() && (!validRequestForMips || origIsMippedTexture)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
476 if (!image->isTextureBacked()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
486 REPORTER_ASSERT(reporter, !rasterImage->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1477 REPORTER_ASSERT(reporter, static_cast<SkImage_GpuYUVA*>(as_IB(i2.get()))->isTextureBacked()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DSurfaceTest.cpp548 REPORTER_ASSERT(reporter, !as_IB(image)->isTextureBacked()); in DEF_TEST()
550 REPORTER_ASSERT(reporter, !as_IB(image)->isTextureBacked()); in DEF_TEST()
557 REPORTER_ASSERT(reporter, as_IB(image)->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
561 REPORTER_ASSERT(reporter, as_IB(image)->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/tests/
DDeviceTest.cpp54 SkASSERT(!special->isTextureBacked());
63 SkASSERT(!special->isTextureBacked());
71 SkASSERT(!special->isTextureBacked());
97 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
106 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
116 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
124 SkASSERT(special->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSpecialImageTest.cpp66 REPORTER_ASSERT(reporter, isGPUBacked == img->isTextureBacked()); in test_image()
116 REPORTER_ASSERT(reporter, isGPUBacked == tightImg->isTextureBacked()); in test_image()
185 REPORTER_ASSERT(reporter, gpuBacked->isTextureBacked()); in test_texture_backed()
DImageTest.cpp410 if (!image->isTextureBacked() || imageContext == context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
415 if (!texImage->isTextureBacked()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
425 if (image->isTextureBacked()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
460 if (!image->isTextureBacked()) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
470 REPORTER_ASSERT(reporter, !rasterImage->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1432 REPORTER_ASSERT(reporter, static_cast<SkImage_GpuYUVA*>(as_IB(i2.get()))->isTextureBacked()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
1438 REPORTER_ASSERT(reporter, static_cast<SkImage_GpuYUVA*>(as_IB(i2.get()))->isTextureBacked()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
1460 REPORTER_ASSERT(reporter, static_cast<SkImage_GpuYUVA*>(as_IB(i2.get()))->isTextureBacked()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DSurfaceTest.cpp515 REPORTER_ASSERT(reporter, !as_IB(image)->isTextureBacked()); in DEF_TEST()
517 REPORTER_ASSERT(reporter, !as_IB(image)->isTextureBacked()); in DEF_TEST()
524 REPORTER_ASSERT(reporter, as_IB(image)->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
528 REPORTER_ASSERT(reporter, as_IB(image)->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/gm/
Dimagemakewithfilter.cpp296 SkASSERT(mainImage && (mainImage->isTextureBacked() || !rContext)); in onDraw()
297 SkASSERT(auxImage && (auxImage->isTextureBacked() || !rContext)); in onDraw()
387 SkASSERT(mainImage->isTextureBacked() == result->isTextureBacked()); in drawImageWithFilter()
Dbc1_transparency.cpp123 if (image && image->isTextureBacked()) { in draw_image()
Dcompressed_textures.cpp275 if (image->isTextureBacked()) { in drawCell()
/third_party/flutter/skia/gm/
Dimagemakewithfilter.cpp283 SkASSERT(mainImage && (mainImage->isTextureBacked() || !canvas->getGrContext())); in onDraw()
284 SkASSERT(auxImage && (auxImage->isTextureBacked() || !canvas->getGrContext())); in onDraw()
369 SkASSERT(mainImage->isTextureBacked() == result->isTextureBacked()); in drawImageWithFilter()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dimage_decoder.cc63 FML_DCHECK(!image->isTextureBacked()); in ResizeRasterImage()
162 FML_DCHECK(!image->isTextureBacked()); in UploadRasterImage()
/third_party/flutter/skia/docs/examples/
DImage_isTextureBacked.cpp16 canvas->drawString(image->isTextureBacked() ? "is GPU texture" : "not GPU texture",
/third_party/skia/docs/examples/
DImage_isTextureBacked.cpp21 canvas->drawString(image->isTextureBacked() ? "is GPU texture" : "not GPU texture", in draw()
/third_party/flutter/skia/src/image/
DSkImage.cpp150 bool SkImage::isTextureBacked() const { return as_IB(this)->onIsTextureBacked(); } in isTextureBacked() function in SkImage
174 bool SkImage::isTextureBacked() const { return false; } in isTextureBacked() function in SkImage
400 if (!this->isTextureBacked()) { in makeNonTextureImage()
DSkImage_Gpu.cpp376 if (this->isTextureBacked()) { in makeTextureImage()
632 if (!image->isTextureBacked()) { in MakeBackendTextureFromSkImage()
/third_party/flutter/skia/src/core/
DSkImageFilterTypes.h81 bool gpuBacked() const { return fSource->isTextureBacked(); } in gpuBacked()
DSkSpecialImage.h130 bool isTextureBacked() const;
DSkImageFilter.cpp223 if (context.gpuBacked() && result && !result->isTextureBacked()) { in filterImage()
393 SkASSERT(!result || ctx.gpuBacked() == result->isTextureBacked()); in filterInput()
/third_party/skia/src/core/
DSkSpecialImage.h134 bool isTextureBacked() const;
DSkImageFilter.cpp247 SkASSERT(!result.image() || result.image()->isTextureBacked()); in filterImage()
571 SkASSERT(!result.image() || ctx.gpuBacked() == result.image()->isTextureBacked()); in filterInput()
/third_party/skia/tools/gpu/
DProxyUtils.cpp32 if (!image->isTextureBacked() || as_IB(image)->isYUVA()) { in GetTextureImageProxy()
/third_party/skia/src/image/
DSkImage.cpp210 bool SkImage::isTextureBacked() const { return as_IB(this)->onIsTextureBacked(); } in isTextureBacked() function in SkImage
238 bool SkImage::isTextureBacked() const { return false; } in isTextureBacked() function in SkImage
641 if (!this->isTextureBacked()) { in makeNonTextureImage()
/third_party/flutter/skia/tools/
DDDLTileHelper.cpp60 if (fPromiseImages[i]->isTextureBacked()) { in createDDL()

12