-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: internal
-
Component/s: javafx
-
Environment:
jfx-sandbox: metal branch
-
os_x
- Remove unused variables
-- MTLGraphics
---- color and ignoreScissor from MTLGraphics.nClear() method
-- MetalContext
---- resourceFactory, rttCleared, rttLoadAction, tripleBufferSemaphore, MAX_QUADS_IN_A_BATCH
--------------------
- Use matrix_identity_float4x4 variable instead of creating an identity matrix manually.
- matrix_identity_float4x4 variable provided by Apple simd library:
https://developer.apple.com/documentation/accelerate/matrix_identity_float4x4?language=objc
--------------------
- Remove a warning
-- MetalShader.m
Add [super dealloc] call to remove a warning: MetalShader.m:458:1: warning: method possibly missing a [super dealloc] call [-Wobjc-missing-super-calls]
--------------------
-- MTLGraphics
---- color and ignoreScissor from MTLGraphics.nClear() method
-- MetalContext
---- resourceFactory, rttCleared, rttLoadAction, tripleBufferSemaphore, MAX_QUADS_IN_A_BATCH
--------------------
- Use matrix_identity_float4x4 variable instead of creating an identity matrix manually.
- matrix_identity_float4x4 variable provided by Apple simd library:
https://developer.apple.com/documentation/accelerate/matrix_identity_float4x4?language=objc
--------------------
- Remove a warning
-- MetalShader.m
Add [super dealloc] call to remove a warning: MetalShader.m:458:1: warning: method possibly missing a [super dealloc] call [-Wobjc-missing-super-calls]
--------------------