Lines Matching defs:glop

39     ValidatingBakedOpRenderer(RenderState& renderState, std::function<void(const Glop& glop)> validator)
46 const ClipBase* clip, const Glop& glop) {
49 vbor->mValidator(glop);
51 std::function<void(const Glop& glop)> mValidator;
57 std::function<void(const Glop& glop)> glopVerifier, int expectedGlopCount = 1) {
65 auto glopReceiver = [&glopVerifier, &glopCount, &expectedGlopCount] (const Glop& glop) {
66 ASSERT_LE(glopCount++, expectedGlopCount) << expectedGlopCount << "glop(s) expected";
67 glopVerifier(glop);
91 auto textureGlopVerifier = [] (const Glop& glop) {
92 // validate glop produced by renderPathTexture (so texture, unit quad)
93 auto texture = glop.fill.texture.texture;
104 EXPECT_EQ(expectedModelView, glop.transform.modelView)
108 // Arc and Oval will render functionally the same glop, differing only in texture content
121 testUnmergedGlopDispatch(renderThread, &op, [&renderThread] (const Glop& glop) {
128 testUnmergedGlopDispatch(renderThread, op, [&result] (const Glop& glop) {
129 result = glop.transform.transformFlags;
175 auto glopReceiver = [&glopCount] (const Glop& glop) {
178 EXPECT_EQ(FloatColor({1, 1, 1, 1}), glop.fill.color);
181 EXPECT_EQ(FloatColor({1, 0, 0, 1}), glop.fill.color);
197 std::function<void(const Glop& glop)> validator) {
242 validateLayerDraw(renderThread, [&glopCount, &debugLayersUpdates](const Glop& glop) {
245 EXPECT_TRUE(glop.fill.colorEnabled);
246 EXPECT_EQ(makeFloatColor(Color::Black), glop.fill.color);
249 EXPECT_FALSE(glop.fill.colorEnabled);
252 EXPECT_TRUE(glop.fill.colorEnabled);
254 EXPECT_EQ(GLenum(GL_ONE), glop.blend.src);
255 EXPECT_EQ(GLenum(GL_ONE_MINUS_SRC_ALPHA), glop.blend.dst);
257 glop.fill.color) << "Should be transparent green if debugLayersUpdates";
260 EXPECT_TRUE(glop.fill.colorEnabled);
262 ASSERT_EQ(makeFloatColor(expectedColor), glop.fill.color);
282 testUnmergedGlopDispatch(renderThread, &op, [] (const Glop& glop) {
283 auto texture = glop.fill.texture.texture;