Andre Weissflog
Andre Weissflog
**How a loader should actually work:** - complete resource loading and creation in several steps: - on main thread: allocate resource id, set resource state to pending, create and fire...
Perfect resource streaming only possible on GL4.x+ (http://www.slideshare.net/CassEveritt/approaching-zero-driver-overhead). So need to implement at least 2 paths for GL2.1+exts, and "full AZDO" with GL4.x. Also: pre-allocate and map one big vertex...
I've been hesitating to merge this because it contains breaking changes, and I was focusing on other things in the past months... Have you seen this blog post? https://floooh.github.io/2018/05/05/oryol-sokol-gfx-changes.html I...
I think the branch needs a few fixes for changes that happened in sokol-gfx API, but other then that I don't think there are big outstanding issues. I'm still not...
@pixelherodev This branch currently only uses sokol_gfx.h, but not sokol_app.h. On Linux GLFW is used for window creation, so theoretically it should work with Wayland even when sokol_gfx.h is used...
Oryol is a bit on the backburner for quite a while now. The problem with this PR in particular is that I also did a lot of API changes in...
Hmm... I haven't worked with side modules yet, but I don't believe they have their own address space, that would isolate them completely from the main module and other side...
PS: also googling for smth like "emscripten side module static initialization" brings up this fairly recent bug: https://github.com/kripken/emscripten/issues/6991 Is your emscripten version uptodate?
I agree with defining a standardised persistent writable location for saves, options, etc... I don't quite agree with extending the standard filesystem API with file/directory enumeration or other features useful...
I would probably put the load/save stuff into a separate module, separate from the IO module. While there is some overlap with general IO, things like IndexedDB and iterating save...