/external/crosvm/sys_util/src/ |
D | write_zeroes.rs | 137 let mut readback = [0u8; 16384]; in simple_test() localVariable 139 f.read_exact(&mut readback).unwrap(); in simple_test() 141 for read in &readback[0..1234] { in simple_test() 145 for read in &readback[1234..(1234 + 5678)] { in simple_test() 149 for read in &readback[(1234 + 5678)..] { in simple_test() 161 f.read_exact(&mut readback).unwrap(); in simple_test() 163 for read in &readback[0..1234] { in simple_test() 167 for read in &readback[1234..2345] { in simple_test() 171 for read in &readback[2345..(2345 + 4321)] { in simple_test() 175 for read in &readback[(2345 + 4321)..(1234 + 5678)] { in simple_test() [all …]
|
/external/skqp/tests/ |
D | ReadWriteAlphaTest.cpp | 100 std::unique_ptr<uint8_t[]> readback(new uint8_t[bufLen]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 102 memset(readback.get(), kClearValue, bufLen); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 result = sContext->readPixels(ii, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 116 validate_alpha_data(reporter, X_SIZE, Y_SIZE, readback.get(), nonZeroRowBytes, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 137 memset(readback.get(), kClearValue, bufLen); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 139 result = surf->readPixels(ii, readback.get(), nonZeroRowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 145 uint8_t rbValue = readback.get()[y * nonZeroRowBytes + x]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 204 std::unique_ptr<uint8_t[]> readback(new uint8_t[nonZeroRowBytes * Y_SIZE]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 206 memset(readback.get(), kClearValue, nonZeroRowBytes * Y_SIZE); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 209 bool result = sContext->readPixels(dstInfo, readback.get(), rowBytes, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | BlurTest.cpp | 261 static void readback(const SkBitmap& src, int* result, int resultCount) { in readback() function 262 SkBitmap readback; in readback() local 263 readback.allocN32Pixels(resultCount, 30); in readback() 265 readback.peekPixels(&pm); in readback() 285 readback(bitmap, result, resultCount); in cpu_blur_path() 726 SkBitmap readback; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 727 SkAssertResult(readback.tryAllocPixels(ii)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 729 canvas->readPixels(readback, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 730 REPORTER_ASSERT(reporter, SkColorGetR(readback.getColor(15, 15)) > 128); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 731 REPORTER_ASSERT(reporter, SkColorGetG(readback.getColor(15, 15)) == 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | OnFlushCallbackTest.cpp | 511 SkColor readback = bm.getColor(x, kDrawnTileSize/2); in test_color() local 512 REPORTER_ASSERT(reporter, expected == readback); in test_color() 513 if (expected != readback) { in test_color() 514 SkDebugf("Color mismatch: %x %x\n", expected, readback); in test_color()
|
D | ResourceCacheTest.cpp | 65 SkBitmap readback; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 66 readback.allocN32Pixels(size.width(), size.height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 70 surface->readPixels(readback, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/tests/ |
D | BlurTest.cpp | 260 static void readback(const SkBitmap& src, int* result, int resultCount) { in readback() function 261 SkBitmap readback; in readback() local 262 readback.allocN32Pixels(resultCount, 30); in readback() 264 readback.peekPixels(&pm); in readback() 284 readback(bitmap, result, resultCount); in cpu_blur_path() 558 SkBitmap readback; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 559 SkAssertResult(readback.tryAllocPixels(ii)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 561 canvas->readPixels(readback, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 562 REPORTER_ASSERT(reporter, SkColorGetR(readback.getColor(15, 15)) > 128); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 563 REPORTER_ASSERT(reporter, SkColorGetG(readback.getColor(15, 15)) == 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | GrSurfaceTest.cpp | 194 SkAutoPixmapStorage readback; in DEF_GPUTEST() local 195 readback.alloc(info); in DEF_GPUTEST() 274 readback.erase(kClearColor); in DEF_GPUTEST() 275 if (texCtx->readPixels(dContext, readback, {0, 0})) { in DEF_GPUTEST() 277 if (!checkColor(combo, readback.addr32()[i])) { in DEF_GPUTEST() 306 readback.erase(kClearColor); in DEF_GPUTEST() 307 if (surfCtx->readPixels(dContext, readback, {0, 0})) { in DEF_GPUTEST() 309 if (!checkColor(combo, readback.addr32()[i])) { in DEF_GPUTEST()
|
D | SurfaceTest.cpp | 767 SkAutoPixmapStorage readback; in test_surface_context_clear() local 768 readback.alloc(ii); in test_surface_context_clear() 770 readback.erase(~expectedValue); in test_surface_context_clear() 771 surfaceContext->readPixels(dContext, readback, {0, 0}); in test_surface_context_clear() 774 uint32_t pixel = readback.addr32()[y * w + x]; in test_surface_context_clear() 852 SkAutoPixmapStorage readback; in test_surface_draw_partially() local 853 readback.alloc(readInfo); in test_surface_draw_partially() 855 readback.erase(~origColor); in test_surface_draw_partially() 856 REPORTER_ASSERT(reporter, surface->readPixels(readback.info(), readback.writable_addr(), in test_surface_draw_partially() 857 readback.rowBytes(), 0, 0)); in test_surface_draw_partially() [all …]
|
D | ClearTest.cpp | 41 SkAutoPixmapStorage readback; in check_rect() local 42 readback.alloc(dstInfo); in check_rect() 44 readback.erase(~expectedValue); in check_rect() 45 if (!rtc->readPixels(dContext, readback, {rect.fLeft, rect.fTop})) { in check_rect() 51 uint32_t pixel = readback.addr32()[y * w + x]; in check_rect()
|
D | OnFlushCallbackTest.cpp | 538 SkColor readback = bm.getColor(x, kDrawnTileSize/2); in test_color() local 539 REPORTER_ASSERT(reporter, expected == readback); in test_color() 540 if (expected != readback) { in test_color() 541 SkDebugf("Color mismatch: %x %x\n", expected, readback); in test_color()
|
D | ResourceCacheTest.cpp | 58 SkBitmap readback; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 59 readback.allocN32Pixels(size.width(), size.height()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 63 surface->readPixels(readback, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/angle/src/common/ |
D | system_utils_unittest.cpp | 50 std::string readback = GetEnvironmentVar(kEnvVarName); in TEST() local 51 EXPECT_EQ(kEnvVarValue, readback); in TEST() 56 readback = GetEnvironmentVar(kEnvVarName); in TEST() 57 EXPECT_EQ("", readback); in TEST()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_resource.c | 105 bool readback; in virgl_resource_transfer_prepare() local 121 readback = virgl_res_needs_readback(vctx, res, xfer->base.usage, in virgl_resource_transfer_prepare() 138 readback = false; in virgl_resource_transfer_prepare() 165 assert(!readback); in virgl_resource_transfer_prepare() 190 if (readback) { in virgl_resource_transfer_prepare() 215 (readback || (wait && vws->resource_is_busy(vws, res->hw_res)))) in virgl_resource_transfer_prepare() 218 if (readback) { in virgl_resource_transfer_prepare()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorReductionCuda.h | 35 unsigned int readback; in atomicReduce() local 36 while ((readback = atomicCAS((unsigned int*)output, oldval, newval)) != oldval) { in atomicReduce() 37 oldval = readback; in atomicReduce() 52 unsigned long long readback; in atomicReduce() local 53 while ((readback = atomicCAS((unsigned long long*)output, oldval, newval)) != oldval) { in atomicReduce() 54 oldval = readback; in atomicReduce() 91 unsigned int readback; in atomicReduce() local 92 while ((readback = atomicCAS((unsigned int*)output, oldval, newval)) != oldval) { in atomicReduce() 93 oldval = readback; in atomicReduce()
|
/external/mesa3d/docs/relnotes/ |
D | 9.2.5.rst | 82 - swrast: fix readback regression since inversion fix
|
D | 10.0.1.rst | 76 - swrast: fix readback regression since inversion fix
|
D | 11.0.3.rst | 109 - gallium/radeon: add a fail path for depth MSAA texture readback
|
/external/crosvm/disk/src/qcow/ |
D | mod.rs | 2530 let mut readback = [0u8; BLOCK_SIZE]; in combo_write_read() localVariable 2542 let nread = qcow_file.read(&mut readback).expect("Failed to read."); in combo_write_read() 2544 for (orig, read) in data.iter().zip(readback.iter()) { in combo_write_read() 2550 let nread = qcow_file.read(&mut readback).expect("Failed to read."); in combo_write_read() 2552 for read in readback.iter() { in combo_write_read() 2561 let nread = qcow_file.read(&mut readback).expect("Failed to read."); in combo_write_read() 2563 for (orig, read) in data.iter().zip(readback.iter()) { in combo_write_read()
|
/external/angle/extensions/ |
D | ANGLE_framebuffer_blit.txt | 98 read framebuffer is the source for readback operations. The same 195 "The default framebuffer for rendering and readback operations is 223 readback operations, respectively, until it is deleted or another
|
/external/perfetto/docs/contributing/ |
D | testing.md | 16 Benchmarks tracking the performance of: (i) trace writing, (ii) trace readback
|
/external/perfetto/gn/ |
D | proto_library.gni | 21 # mainly for tests and readback.
|
/external/mesa3d/docs/ |
D | xlibdriver.rst | 65 blending will require a round-trip message for pixel readback.)
|
/external/angle/src/libANGLE/renderer/metal/ |
D | DisplayMtl.mm | 774 // Enable this for simple buffer readback testing, but some functionality is missing. 902 // Disable all depth buffer and stencil buffer readback extensions until we need them
|
/external/perfetto/protos/perfetto/config/ |
D | trace_config.proto | 427 // case of IPC readback and write_into_file. This filter can be generated
|
D | perfetto_config.proto | 1875 // case of IPC readback and write_into_file. This filter can be generated
|