Lines Matching defs:actions
679 if (ret.size() % 2) // We need an even number of actions. See ping-pong note in applyLayerFilters().
685 void LayerFilterRenderer::applyActions(unsigned& fbo, LayerCompositingThread* layer, Vector<RefPtr<LayerFilterRendererAction> > actions)
688 ASSERT(!(actions.size() % 2)); // See ping-ponging note below.
700 for (unsigned i = 0; i < actions.size(); ++i) {
701 if (actions[i]->shouldPushSnapshot())
731 for (unsigned i = 0; i < actions.size(); ++i) {
738 // Because we eventually have to end on the parent texture, we need an even number of actions.
741 if (actions[i]->shouldPushSnapshot()) {
753 actions[i]->useActionOn(this);
755 if (actions[i]->shouldPopSnapshot())
758 switch (actions[i]->drawingMode()) {
763 glDrawElements(GL_TRIANGLES, actions[i]->drawingModeParameter(), GL_UNSIGNED_SHORT, reinterpret_cast<GLvoid*>(static_cast<intptr_t>(0)));
770 actions[i]->restoreState();