Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upmethod needed for initializing gl #933
Closed
Labels
Comments
|
I think what we need to do here is basically add an init() method to Renderer and Device, and ensure that any GL calls are moved from the constructors to here. It's probably a little more complicated than it sounds, but I think that will work well. That will also allow us to make the init() method fallible in case of bad hardware, shader compile errors etc. |
|
Is there any point in creating |
|
Has there been any progress with this? |
|
Not yet, no. |
|
Servo's CEF isn't a thing anymore I'm told. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Servo's CEF interface provides the initialize_compositing() method, which is used by an application to run all the GL initialization code after the application has set up its GL contexts/surfaces.
Ideally this should be able to be tested by building and running https://github.com/zmike/ecef, though I haven't tested the application with GLES3 in a long time so I can also be available for some testing if you run into issues on the application side.
cc @glennw