(nextProps: Props, nextContext: any)
| 334 | } |
| 335 | |
| 336 | _syncNextDrawProps(nextProps: Props, nextContext: any) { |
| 337 | const nextWidthHeight = nodeWidthHeight(nextProps, nextContext); |
| 338 | if (this.framebuffer) { |
| 339 | this.framebuffer.syncSize(...nextWidthHeight); |
| 340 | } |
| 341 | if (this.backbuffer) { |
| 342 | this.backbuffer.syncSize(...nextWidthHeight); |
| 343 | } |
| 344 | invariant( |
| 345 | nextProps.backbuffering === this.drawProps.backbuffering, |
| 346 | "Node backbuffering prop must not changed. (not yet supported)" |
| 347 | ); |
| 348 | this.drawProps = nextProps; |
| 349 | } |
| 350 | |
| 351 | _resolveElement = ( |
| 352 | uniform: string, |
no test coverage detected