()
| 313 | static contextType = GLContext; |
| 314 | |
| 315 | componentDidMount() { |
| 316 | const { |
| 317 | glSurface: { gl }, |
| 318 | } = this.context; |
| 319 | if (gl) this._prepareGLObjects(gl); |
| 320 | this.context.glParent._addGLNodeChild(this); |
| 321 | this.redraw(); |
| 322 | if (this.props.sync) this.flush(); |
| 323 | } |
| 324 | |
| 325 | componentWillUnmount() { |
| 326 | const { capturePixelsArray } = this; |
nothing calls this directly
no test coverage detected