Set globalCompositeOperation

I draw primitives using cc.Graphics methods but it can’t find any api to change context’s globalCompositeOperation.

What I trying to do is as below

  1. draw primitive
  2. change globalCompositeOperation
  3. draw other primitive

Do you have any idea?