Home
last modified time | relevance | path

Searched refs:kRowBytes (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DCopySurfaceTest.cpp33 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
78 srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
81 dstPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
147 if (!dstContext->readPixels(ii, read.get(), kRowBytes, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DApplyGammaTest.cpp100 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
117 bm.installPixels(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 if (!dst->readPixels(ii, read.get(), kRowBytes, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRenderTargetContextTest.cpp64 static const size_t kRowBytes = sizeof(uint32_t) * kSize;
66 bool result = rtCtx->readPixels(dstInfo, dstBuffer.get(), kRowBytes, 0, 0);
DReadWriteAlphaTest.cpp58 static const size_t kRowBytes[] = {0, X_SIZE, X_SIZE + 1, 2 * X_SIZE - 1}; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
92 for (auto rowBytes : kRowBytes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
201 for (auto rowBytes : kRowBytes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DCopySurfaceTest.cpp33 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
78 srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
81 dstPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
149 if (!dstContext->readPixels(ii, read.get(), kRowBytes, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DApplyGammaTest.cpp100 static const size_t kRowBytes = sizeof(uint32_t) * kW; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
117 bm.installPixels(ii, srcPixels.get(), kRowBytes); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 if (!dst->readPixels(ii, read.get(), kRowBytes, 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRenderTargetContextTest.cpp64 static const size_t kRowBytes = sizeof(uint32_t) * kSize;
66 bool result = rtCtx->readPixels(dstInfo, dstBuffer.get(), kRowBytes, 0, 0);
DReadWriteAlphaTest.cpp58 static const size_t kRowBytes[] = {0, X_SIZE, X_SIZE + 1, 2 * X_SIZE - 1}; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
92 for (auto rowBytes : kRowBytes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
201 for (auto rowBytes : kRowBytes) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()