oryol icon indicating copy to clipboard operation
oryol copied to clipboard

Request: Video playback, OpenGL 2.x

Open RobertoMalatesta opened this issue 8 years ago • 1 comments

  1. what about a video decoder/player ?
  2. support for OpenGL 2 ?

I know that 2) is really retro, but there are a lot of machines out there that don't have OpenGL 3 or a properly configured driver.

I bet that next year Vulkan market share will be around 10% at most, while OpenGL 2 will still work on almost any device... :P

--R

RobertoMalatesta avatar Jun 22 '16 09:06 RobertoMalatesta

  1. Video player: no plans so far, a good place for this would be an optional module similar to oryol-imgui or oryol-tbui, also tying this to the 3D API in an efficient way might be non-trivial (currently it would have to decode into a chunk of memory, which would then be copied into a 3D API texture object)
  2. Support for OpenGL 2.1 should be trivial, since GLES2 is also supported, the reason why I'm going for 3.3 core profile on the desktop is mainly OSX. I've been thinking about supporting different GL versions at runtime for GLES2 vs GLES3 (and WebGL vs WebGL2), something similar would probably also make sense for GL 2.1 vs 3.3

The Vulkan renderer is more like an exercise to get familiar with the API, just like the D3D12 renderer it won't offer much over the older APIs (except may be on Android), since the render backend is held back by the need for GLES2/WebGL compatibility.

floooh avatar Jun 22 '16 11:06 floooh