()
| 166 | } |
| 167 | |
| 168 | _shouldDeferUpload() { |
| 169 | return ( |
| 170 | this.width === 0 || |
| 171 | this.height === 0 || |
| 172 | (this.isSrcMediaElement && !this.src.loadedmetadata) |
| 173 | ); |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Checks if the source data for this texture has changed (if it's |