Home
last modified time | relevance | path

Searched refs:isGPU (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DWritePixelsTest.cpp179 bool write_should_succeed(const SkImageInfo& dstInfo, const SkImageInfo& srcInfo, bool isGPU) { in write_should_succeed() argument
183 if (!isGPU) { in write_should_succeed()
392 bool isGPU = SkToBool(surface->getCanvas()->recordingContext()); in test_write_pixels() local
410 write_should_succeed(surfaceInfo, bmp.info(), isGPU); in test_write_pixels()
/external/skqp/tests/
DWritePixelsTest.cpp179 bool write_should_succeed(const SkImageInfo& dstInfo, const SkImageInfo& srcInfo, bool isGPU) { in write_should_succeed() argument
183 if (!isGPU) { in write_should_succeed()
392 bool isGPU = SkToBool(surface->getCanvas()->getGrContext()); in test_write_pixels() local
411 write_should_succeed(surfaceInfo, bmp.info(), isGPU); in test_write_pixels()
DReadPixelsTest.cpp373 const SkImageInfo& srcInfo, bool isGPU) { in read_should_succeed() argument
380 if (!isGPU) { in read_should_succeed()
424 bool isGPU = SkToBool(surface->getCanvas()->getGrContext()); in test_readpixels() local
425 auto expectSuccess = read_should_succeed(srcRect, bmp.info(), surfaceInfo, isGPU); in test_readpixels()
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts848 const isGPU = subsurface.reportBackendTypeIsGPU(); // $ExpectType boolean constant