Home
last modified time | relevance | path

Searched refs:alphaData (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/tests/
DReadWriteAlphaTest.cpp53 unsigned char alphaData[X_SIZE * Y_SIZE]; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
66 memset(alphaData, 0, X_SIZE * Y_SIZE); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
70 SkPixmap pixmap(ii, alphaData, ii.minRowBytes()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
86 alphaData[y * X_SIZE + x] = y*X_SIZE+x; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 bool result = sContext->writePixels(ii, alphaData, 0, {0, 0}); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 alphaData, msg, GrColorType::kAlpha_8); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
168 alphaData[y * X_SIZE + x] = y*X_SIZE+x; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 rgbaData[y * X_SIZE + x] = GrColorPackRGBA(6, 7, 8, alphaData[y * X_SIZE + x]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
216 alphaData, msg, info.fColorType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProcessorTest.cpp298 std::unique_ptr<uint8_t[]> alphaData(new uint8_t[kTestTextureSize * kTestTextureSize]); in init_test_textures() local
301 alphaData[kTestTextureSize * y + x] = random->nextULessThan(256); in init_test_textures()
307 SkPixmap pixmap(ii, alphaData.get(), ii.minRowBytes()); in init_test_textures()
/third_party/skia/tests/
DProcessorTest.cpp285 uint8_t* alphaData = new uint8_t[kTestTextureSize * kTestTextureSize]; in init() local
288 alphaData[kTestTextureSize * y + x] = random.nextULessThan(256); in init()
296 ii, alphaData, ii.minRowBytes(), in init()