Lines Matching refs:mCmds
34 g2d_commandlist *mCmds = nullptr; variable
69 if (!mCmds) in getLayerHdrMode()
72 for (unsigned int i = 0; i < mCmds->layer_count; i++) { in getLayerHdrMode()
73 unsigned int idx = (mCmds->layer_hdr_mode[i].offset >> 8) - 2; in getLayerHdrMode()
81 if (mCmds->layer_hdr_mode[i].value & G2D_LAYER_HDRMODE_DEMULT_ALPHA) in getLayerHdrMode()
83 task.commands.source[idx][G2DSFR_SRC_HDRMODE] = mCmds->layer_hdr_mode[i].value; in getLayerHdrMode()
88 return mCmds ? mCmds->command_count : 0; in getCommandCount()
92 if (mCmds) { in write()
93 memcpy(regs, mCmds->commands, sizeof(*regs) * mCmds->command_count); in write()
94 return mCmds->command_count; in write()
101 if (!mCmds && mWriter) in getCommands()
102 mCmds = mWriter->getCommands(); in getCommands()
106 if (mWriter && mCmds) { in putCommands()
107 mWriter->putCommands(mCmds); in putCommands()
108 mCmds = nullptr; in putCommands()