Home | History | Annotate | Download | only in unit

Lines Matching refs:Glop

40                               std::function<void(const Glop& glop)> validator)
48 const ClipBase* clip, const Glop& glop) {
50 vbor->mValidator(glop);
52 std::function<void(const Glop& glop)> mValidator;
58 std::function<void(const Glop& glop)> glopVerifier,
67 auto glopReceiver = [&glopVerifier, &glopCount, &expectedGlopCount](const Glop& glop) {
68 ASSERT_LE(glopCount++, expectedGlopCount) << expectedGlopCount << "glop(s) expected";
69 glopVerifier(glop);
82 << "Glop(s) expected";
93 auto textureGlopVerifier = [](const Glop& glop) {
94 // validate glop produced by renderPathTexture (so texture, unit quad)
95 auto texture = glop.fill.texture.texture;
106 EXPECT_EQ(expectedModelView, glop.transform.modelView)
110 // Arc and Oval will render functionally the same glop, differing only in texture content
124 [](const Glop& glop) { ADD_FAILURE() << "Nothing should happen"; }, 0);
129 testUnmergedGlopDispatch(renderThread, op, [&result](const Glop& glop) {
130 result = glop.transform.transformFlags;
176 auto glopReceiver = [&glopCount](const Glop& glop) {
179 EXPECT_EQ(FloatColor({1, 1, 1, 1}), glop.fill.color);
182 EXPECT_EQ(FloatColor({1, 0, 0, 1}), glop.fill.color);
198 std::function<void(const Glop& glop)> validator) {
243 validateLayerDraw(renderThread, [&glopCount, &debugLayersUpdates](const Glop& glop) {
246 EXPECT_TRUE(glop.fill.colorEnabled);
247 EXPECT_EQ(makeFloatColor(Color::Black), glop.fill.color);
250 EXPECT_FALSE(glop.fill.colorEnabled);
253 EXPECT_TRUE(glop.fill.colorEnabled);
255 EXPECT_EQ(GLenum(GL_ONE), glop.blend.src);
256 EXPECT_EQ(GLenum(GL_ONE_MINUS_SRC_ALPHA), glop.blend.dst);
257 EXPECT_EQ(makeFloatColor(debugLayersUpdates ? 0x7f00ff00 : 0), glop.fill.color)
261 EXPECT_TRUE(glop.fill.colorEnabled);
263 ASSERT_EQ(makeFloatColor(expectedColor), glop.fill.color);
283 testUnmergedGlopDispatch(renderThread, &op, [](const Glop& glop) {
284 auto texture = glop.fill.texture.texture;