From: Jerome G. <j.g...@gm...> - 2005-02-19 20:23:36
|
> No. The <format> parameter describes the incoming format of the > user's texture image. It may or may not have any bearing on which > hardware format is chosen by the driver. More typically, the > <internalFormat> parameter is used by the driver to choose the > hardware texture format. I am standing from the driver point of view, and so i wanted to know if i can ask mesa, from the driver, for a special order. In r300 driver we have to test & find the hardware texture format and for testing all possible path i would like to have the texture provided by mesa in rev or "not" rev order as internal mesa can give it to me in this two format. What i found is that on big endian machine i get the texture in REV order while on little endian i get it in "normal" order. Anyway if it isn't possible to ask mesa for having texture in rev or not order, i can assume that on big endian machine i will always have texture in rev while on x86 i will get it in "normal" order ? > Not all the MESA_FORMAT_* texture formats are supported by all drivers. I think that r300 could support all mesa's texture format :) thx for your help Jerome Glisse |