-
Sub-task
-
Resolution: Fixed
-
P4
-
internal
-
fx-sandbox:metal branch
-
generic
-
os_x
Currently we reuse MetalContext.drawIndexedQuads() method to draw the clearRect.
The MetalContext.drawIndexedQuads() gets unnecessary if else check which does not look good on eye.
The current code of MetalContext.drawIndexedQuads() adds few un-required commands to MTLCommandBuffer.
Those commands can be reduced: that does not result in any huge performance gain.
The MetalContext.drawIndexedQuads() gets unnecessary if else check which does not look good on eye.
The current code of MetalContext.drawIndexedQuads() adds few un-required commands to MTLCommandBuffer.
Those commands can be reduced: that does not result in any huge performance gain.