Hi forum,
I’m working on ARM Android, using ARM MALI GPU to do some rendering.
I have two GL contexts and do different rendering tasks. For convenience, call the two GL contexts A and B, respectively.
Sometimes, I need tasks of B to be urgently finished while tasks of A are executing. Each GL context has its own thread.
Can I just simply insert some checkpoints in tasks of A, then suspend thread of A when needed and let thread of B go first? Is there anything that needs to be taken into consideration when inserting checkpoints?