Home
last modified time | relevance | path

Searched refs:readback (Results 1 – 15 of 15) sorted by relevance

/external/u-boot/post/drivers/
Dmemory.c242 ulong readback; in memory_post_addrline() local
252 readback = *target; in memory_post_addrline()
256 readback = *testaddr; in memory_post_addrline()
259 if(readback == *testaddr) { in memory_post_addrline()
276 ulong readback; in memory_post_test1() local
286 readback = mem[i]; in memory_post_test1()
287 if (readback != val) { in memory_post_test1()
290 mem + i, val, readback); in memory_post_test1()
306 ulong readback; in memory_post_test2() local
316 readback = mem[i]; in memory_post_test2()
[all …]
/external/skia/tests/
DReadWriteAlphaTest.cpp100 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 …]
DBlurTest.cpp261 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 …]
DOnFlushCallbackTest.cpp515 SkColor readback = bm.getColor(x, kDrawnTileSize/2); in test_color() local
516 REPORTER_ASSERT(reporter, expected == readback); in test_color()
517 if (expected != readback) { in test_color()
518 SkDebugf("Color mismatch: %x %x\n", expected, readback); in test_color()
DResourceCacheTest.cpp65 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/skqp/tests/
DReadWriteAlphaTest.cpp100 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 …]
DBlurTest.cpp261 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 …]
DOnFlushCallbackTest.cpp511 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()
DResourceCacheTest.cpp65 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/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c44 bool readback = true; in virgl_res_needs_readback() local
46 readback = false; in virgl_res_needs_readback()
48 readback = false; in virgl_res_needs_readback()
51 readback = false; in virgl_res_needs_readback()
52 return readback; in virgl_res_needs_readback()
Dvirgl_buffer.c53 bool readback; in virgl_buffer_transfer_map() local
78 readback = virgl_res_needs_readback(vctx, &vbuf->base, usage); in virgl_buffer_transfer_map()
79 if (readback) in virgl_buffer_transfer_map()
85 if (doflushwait || readback) in virgl_buffer_transfer_map()
Dvirgl_texture.c135 boolean readback = TRUE; in virgl_texture_transfer_map() local
189 readback = virgl_res_needs_readback(vctx, &vtex->base, usage); in virgl_texture_transfer_map()
190 if (readback) in virgl_texture_transfer_map()
193 if (doflushwait || readback) in virgl_texture_transfer_map()
/external/u-boot/cmd/
Dmem.c576 ulong val, readback; in mem_test_alt() local
620 readback = *addr; in mem_test_alt()
621 if (readback != val) { in mem_test_alt()
624 val, readback); in mem_test_alt()
631 readback = *addr; in mem_test_alt()
632 if (readback != ~val) { in mem_test_alt()
635 readback, ~val); in mem_test_alt()
802 ulong val, readback; in mem_test_quick() local
836 readback = *addr; in mem_test_quick()
837 if (readback != val) { in mem_test_quick()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorReductionCuda.h35 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/perfetto/docs/
Dtesting.md16 Benchmarks tracking the performance of: (i) trace writing, (ii) trace readback