Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

support GL_LUMINANCE or GL_{RGB,BGR} input #44

Open
headupinclouds opened this issue Apr 27, 2018 · 0 comments
Open

support GL_LUMINANCE or GL_{RGB,BGR} input #44

headupinclouds opened this issue Apr 27, 2018 · 0 comments

Comments

@headupinclouds
Copy link

Currently GL_{RGBA,BGRA} and a GL_NV21 overload for format==0 are supported as ogles_gpgpu inputs. This is suitable for mobile platforms, but desktops can often support other input types, such as GL_LUMINANCE or GL_{RGB,BGR}. These formats have to be supported by converting to one of the two formats above first on the CPU.

TODO: Confirm that loading these formats directly would actually be an optimizations before implementing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant