question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GLView getSupportedExtensions

See original GitHub issue

Hello,

I’m using a GLView to port some WebGL code over to mobile, and ran into some issues with code that utilizes OpenGL extensions. I checked gl.getSupportedExtensions() and got back an empty array. Did I miss enabling/setting up something, or are all OpenGL extensions currently unsupported in Expo?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tsapetacommented, Jan 27, 2018

Which extensions do you need? We have recently added support for WebGL 2.0 which has built-in what most WebGL 1.0 extensions do (such as WEBGL_draw_buffers, OES_vertex_array_object). This should be available in the next SDK. If you don’t want to wait for it and your extension only adds a constant, it’s very likely to work if the constant is already exported to gl object or you just use the number value of the constant.

0reactions
tsapetacommented, Mar 30, 2018

@SebastianMerz We just released SDK 26 which introduces WebGL 2.0. I’m sorry to have kept you waiting so long. I hope this new feature will reward you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

CameraExtensionCharacteristics - Android Developers
public List<Integer> getSupportedExtensions (). Return a list of supported device-specific extensions for a given camera device.
Read more >
GLView - Expo Documentation
GLView. expo-gl provides a View that acts as an OpenGL ES render target, useful for rendering 2D and 3D graphics. On mounting, an...
Read more >
expo-gl | Yarn - Package Manager
expo-gl. Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.
Read more >
WebGLRenderingContext.getSupportedExtensions() - Web APIs
method to get a specific extension object. WebGL extensions. Extensions for the WebGL API are registered in the WebGL Extension Registry. ⚠️ ....
Read more >
reactjs - React Native (Expo) WebGL2 on iPad 15 is missing ...
When attempting to use Expo (SDK 43) in managed mode on an iPad Air 4th Gen (OS 15.0.2) with expo-three, expo-gl and a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found