On Tue, Apr 26, 2011 at 10:16 AM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote: >> having a list per hardware. uint32_t would give enough room to add all >> formats even if one format is only supported by one hardware only (at > > It would indeed. A point realised by the Amiga designers in 1985 and > turned into a standard of sorts with a registry and process and adopted > by folks like Apple and Microsoft. > > See www.fourcc.org. 4CC is already used by the kernel for Video4Linux. > I think 4cc it bit useless with RGB stuff (or maybe i just don't understand 4cc). For instance i think we want uniq different id for RGB555, RGB565,RGBX8888, RGBA8888, BGRA8888 ... it seems 4cc just says rgb and than rely on additional informations for color order or components size. Cheers, Jerome _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel