google / dart-gl

OpenGL ES 2.0 Dart Native Extension
BSD 3-Clause "New" or "Revised" License
91 stars 17 forks source link

Dynamically load gl2ext methods #15

Closed jtmcdole closed 7 years ago

jtmcdole commented 7 years ago

Many libraries do not implement stubs for everything in gl2ext.h. In dart you check if the extension is available before using it and there is no problem. In the native extension that's not so much.

Includes thread safe changes across isolates.

jtmcdole commented 7 years ago

Compiles and runs on linux with the nvidia driver. Had to add blacklisting for external APIs we're not using and we don't properly identify (i.e. header file make bad IDLs)

jtmcdole commented 7 years ago

@mmclenna