| 149 | |
| 150 | // A GPU processing step. |
| 151 | class MaskStep { |
| 152 | constructor(gl) { |
| 153 | this.proc = new GlShaderProcessor(gl, MASK_SHADER); |
| 154 | } |
| 155 | process(frame, mask) { |
| 156 | this.proc.startProcessFrame(frame.width, frame.height); |
| 157 | this.proc.bindTextures( |
| 158 | [['frame', frame], ['mask', mask]]); |
| 159 | return this.proc.finalizeProcessFrame(); |
| 160 | } |
| 161 | } |
nothing calls this directly
no outgoing calls
no test coverage detected