Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I hope that 'bgra' was at least a typo of 'rgba'


BGRA is a "weird" convention in the graphics world that goes back to at least OS/2 bitmaps, when there was no wrong answer, and has stuck since then. Since early GPUs targeted Windows (where BGRA is the native format for GDI/D2D), it makes sense that it made it this far :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: