81 fractions:(void *)fractions
82 pixels:(void *)pixels;
83
84 - (void)setTexture:(jboolean)useMask
85 textureID:(id<MTLTexture>)textureID
86 filter:(jboolean)filter
87 xp0:(jdouble)xp0
88 xp1:(jdouble)xp1
89 xp3:(jdouble)xp3
90 yp0:(jdouble)yp0
91 yp1:(jdouble)yp1
92 yp3:(jdouble)yp3;
93
94 // For the current paint mode and passed composite (and flags):
95 // 1. Selects vertex+fragment shader (and corresponding pipelineDesc) and set pipelineState
96 // 2. Prepares corresponding buffers of vertex and fragment shaders
97 - (void)setPipelineState:(id<MTLRenderCommandEncoder>)encoder
98 composite:(MTLComposite *)composite
99 isStencilUsed:(jboolean)isStencilUsed
100 isTexture:(jboolean)isTexture
101 srcFlags:(const SurfaceRasterFlags *)srcFlags
102 dstFlags:(const SurfaceRasterFlags *)dstFlags
103 pipelineStateStorage:(MTLPipelineStatesStorage *)pipelineStateStorage;
104
105 - (void)setXorModePipelineState:(id<MTLRenderCommandEncoder>)encoder
106 composite:(MTLComposite *)composite
107 isStencilUsed:(jboolean)isStencilUsed
108 isTexture:(jboolean)isTexture
109 srcFlags:(const SurfaceRasterFlags *)srcFlags
110 dstFlags:(const SurfaceRasterFlags *)dstFlags
111 pipelineStateStorage:(MTLPipelineStatesStorage *)pipelineStateStorage;
112 @end
113
114 #endif /* MTLPaints_h_Included */
|
81 fractions:(void *)fractions
82 pixels:(void *)pixels;
83
84 - (void)setTexture:(jboolean)useMask
85 textureID:(id<MTLTexture>)textureID
86 filter:(jboolean)filter
87 xp0:(jdouble)xp0
88 xp1:(jdouble)xp1
89 xp3:(jdouble)xp3
90 yp0:(jdouble)yp0
91 yp1:(jdouble)yp1
92 yp3:(jdouble)yp3;
93
94 // For the current paint mode and passed composite (and flags):
95 // 1. Selects vertex+fragment shader (and corresponding pipelineDesc) and set pipelineState
96 // 2. Prepares corresponding buffers of vertex and fragment shaders
97 - (void)setPipelineState:(id<MTLRenderCommandEncoder>)encoder
98 composite:(MTLComposite *)composite
99 isStencilUsed:(jboolean)isStencilUsed
100 isTexture:(jboolean)isTexture
101 interpolation:(int)interpolation
102 srcFlags:(const SurfaceRasterFlags *)srcFlags
103 dstFlags:(const SurfaceRasterFlags *)dstFlags
104 pipelineStateStorage:(MTLPipelineStatesStorage *)pipelineStateStorage;
105
106 - (void)setXorModePipelineState:(id<MTLRenderCommandEncoder>)encoder
107 composite:(MTLComposite *)composite
108 isStencilUsed:(jboolean)isStencilUsed
109 isTexture:(jboolean)isTexture
110 interpolation:(int)interpolation
111 srcFlags:(const SurfaceRasterFlags *)srcFlags
112 dstFlags:(const SurfaceRasterFlags *)dstFlags
113 pipelineStateStorage:(MTLPipelineStatesStorage *)pipelineStateStorage;
114 @end
115
116 #endif /* MTLPaints_h_Included */
|