Home
last modified time | relevance | path

Searched refs:readColors (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSixteenBppTextureTest.cpp466 std::vector<R5G6B5> readColors(w * h); in TEST_P() local
467 glReadPixels(0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, readColors.data()); in TEST_P()
470 EXPECT_COLOR_NEAR(GLColor::red, Convert565(readColors[hoffset]), t); in TEST_P()
471 EXPECT_COLOR_NEAR(GLColor::green, Convert565(readColors[0]), t); in TEST_P()
472 EXPECT_COLOR_NEAR(GLColor::blue, Convert565(readColors[w - 1]), t); in TEST_P()
473 EXPECT_COLOR_NEAR(GLColor::white, Convert565(readColors[w - 1 + hoffset]), t); in TEST_P()
DRobustResourceInitTest.cpp1411 std::vector<GLColor> readColors(size * size, GLColor::yellow); in TEST_P() local
1418 readColors.data()); in TEST_P()
/third_party/skia/src/codec/
DSkColorTable.h41 const SkPMColor* readColors() const { return fColors; } in readColors() function
DSkCodecPriv.h108 return nullptr != colorTable ? colorTable->readColors() : nullptr; in get_color_ptr()
/third_party/skia/third_party/externals/libgifcodec/
DSkLibGifCodec.cpp170 this->applyColorXform(dstColors, currColorTable->readColors(), in initializeColorTable()
262 fSwizzler = SkSwizzler::Make(this->getEncodedInfo(), fCurrColorTable->readColors(), in initializeSwizzler()