Lines Matching refs:glop

39 …ValidatingBakedOpRenderer(RenderState& renderState, std::function<void(const Glop& glop)> validato…  in ValidatingBakedOpRenderer()
46 const ClipBase* clip, const Glop& glop) { in ValidatingGlopReceiver() argument
49 vbor->mValidator(glop); in ValidatingGlopReceiver()
51 std::function<void(const Glop& glop)> mValidator;
57 std::function<void(const Glop& glop)> glopVerifier, int expectedGlopCount = 1) { in testUnmergedGlopDispatch()
65 auto glopReceiver = [&glopVerifier, &glopCount, &expectedGlopCount] (const Glop& glop) { in testUnmergedGlopDispatch() argument
67 glopVerifier(glop); in testUnmergedGlopDispatch()
91 auto textureGlopVerifier = [] (const Glop& glop) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
93 auto texture = glop.fill.texture.texture; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
104 EXPECT_EQ(expectedModelView, glop.transform.modelView) in RENDERTHREAD_OPENGL_PIPELINE_TEST()
121 testUnmergedGlopDispatch(renderThread, &op, [&renderThread] (const Glop& glop) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
128 testUnmergedGlopDispatch(renderThread, op, [&result] (const Glop& glop) { in getGlopTransformFlags() argument
129 result = glop.transform.transformFlags; in getGlopTransformFlags()
175 auto glopReceiver = [&glopCount] (const Glop& glop) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
178 EXPECT_EQ(FloatColor({1, 1, 1, 1}), glop.fill.color); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
181 EXPECT_EQ(FloatColor({1, 0, 0, 1}), glop.fill.color); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
197 std::function<void(const Glop& glop)> validator) { in validateLayerDraw()
242 validateLayerDraw(renderThread, [&glopCount, &debugLayersUpdates](const Glop& glop) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
245 EXPECT_TRUE(glop.fill.colorEnabled); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
246 EXPECT_EQ(makeFloatColor(Color::Black), glop.fill.color); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
249 EXPECT_FALSE(glop.fill.colorEnabled); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
252 EXPECT_TRUE(glop.fill.colorEnabled); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
254 EXPECT_EQ(GLenum(GL_ONE), glop.blend.src); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
255 EXPECT_EQ(GLenum(GL_ONE_MINUS_SRC_ALPHA), glop.blend.dst); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
257 glop.fill.color) << "Should be transparent green if debugLayersUpdates"; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
260 EXPECT_TRUE(glop.fill.colorEnabled); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
262 ASSERT_EQ(makeFloatColor(expectedColor), glop.fill.color); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
282 testUnmergedGlopDispatch(renderThread, &op, [] (const Glop& glop) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
283 auto texture = glop.fill.texture.texture; in RENDERTHREAD_OPENGL_PIPELINE_TEST()