(name: string)
| 218 | //@ts-ignore |
| 219 | const getExt = glContext.getExtension.bind(glContext); |
| 220 | const shimGetExt = (name: string) => { |
| 221 | if (name === "EXT_color_buffer_float") { |
| 222 | if (RNPlatform.OS === "ios") { |
| 223 | // iOS does not support EXT_color_buffer_float |
| 224 | return null; |
| 225 | } else { |
| 226 | return {}; |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | if (name === "EXT_color_buffer_half_float") { |
| 231 | return {}; |
| 232 | } |
| 233 | return getExt(name); |
| 234 | }; |
| 235 | |
| 236 | // |
| 237 | // Manually make 'read' synchronous. glContext has a defined gl.fenceSync |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…