-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of R8G8B8 texture format ? #687
Comments
No GPU actually supports 24-bit RGB format. There is only legacy GL support for it, but otherwise unavailable on other graphics APIs. |
Oh, did not know that. I always used that format as a nice saving over RGBA8888 for those full screen textures artists like. Is RGB565 our best option for non-alpha textures? |
I was just checking Vulkan headers and they have it too: I might just add it, but D3D doesn't have it. Anyhow I have ability to convert between all uncompressed formats inside bgfx, just features is not hooked up for all formats, and I don't know when I'm going to do it. |
Ok, thanks for your answer. I will convert my video image into RGBA8 until you add support for RGB8. Regards, |
Yeah, I'll just post update here. |
A bit off-topic as i dont want to create an issue for this but ... About this video-grabber, here what i am roughtly doing :
That means the bgfx::memory i am creating to send pixel buffer to gpu is needed only one bgfx::frame(). It makes not sense in my case to defer the memory deletion of one frame. Regards, |
That's only requirement for There is also See here: |
Great, it works well for me ! Thank you |
Hello,
I do not see support for R8G8B8 texture format, is there a good reason ?
I am capturing images from a video that are in R8G8B8 pixel format, i would like to send it on GPU without conversion.
Regards,
Harold
The text was updated successfully, but these errors were encountered: