We use JNI to draw some opcodes like DrawGlyphList, MaskFIll and DrawPoly.
In such cases in OpenGL we flush the content if the context is not null .
Verify whether we need such change in Metal also when JNI path is used.
In such cases in OpenGL we flush the content if the context is not null .
Verify whether we need such change in Metal also when JNI path is used.