Lines Matching defs:ops

140      * Currently guarantees certain similarities between ops (see MergingDrawBatch::canMergeWith),
145 const std::vector<OpStatePair>& ops, const Rect& bounds) {
146 for (unsigned int i = 0; i < ops.size(); i++) {
147 renderer.restoreDisplayState(*(ops[i].state), true);
148 ops[i].op->applyDraw(renderer, dirty);
633 const std::vector<OpStatePair>& ops, const Rect& bounds) override {
634 const DeferredDisplayState& firstState = *(ops[0].state);
637 TextureVertex vertices[6 * ops.size()];
645 for (unsigned int i = 0; i < ops.size(); i++) {
646 const DeferredDisplayState& state = *(ops[i].state);
654 ((DrawBitmapOp*) ops[i].op)->uvMap(renderer, texCoords);
669 renderer.drawBitmaps(mBitmap, mEntry, ops.size(), &vertices[0],
687 // Don't merge non-simply transformed or neg scale ops, SET_TEXTURE doesn't handle rotation
804 const std::vector<OpStatePair>& ops, const Rect& bounds) override {
805 const DeferredDisplayState& firstState = *(ops[0].state);
812 for (unsigned int i = 0; i < ops.size(); i++) {
813 totalVertices += ((DrawPatchOp*) ops[i].op)->getMesh(renderer)->verticesCount;
825 // enforces ops drawn by this function to have a pure translate or
827 for (unsigned int i = 0; i < ops.size(); i++) {
828 DrawPatchOp* patchOp = (DrawPatchOp*) ops[i].op;
829 const DeferredDisplayState* state = ops[i].state;
1349 const std::vector<OpStatePair>& ops, const Rect& bounds) override {
1350 for (unsigned int i = 0; i < ops.size(); i++) {
1351 const DeferredDisplayState& state = *(ops[i].state);
1352 DrawOpMode drawOpMode = (i == ops.size() - 1) ? DrawOpMode::kFlush : DrawOpMode::kDefer;
1355 DrawTextOp& op = *((DrawTextOp*)ops[i].op);