Re: [Mesa-dev] Choosing texture internal format in GLES

2013-09-30 Thread Marek Olšák
It will indeed select RGBA32F if you supply GL_RGBA and GL_FLOAT, etc. Marek On Mon, Sep 30, 2013 at 9:36 AM, Rogovin, Kevin wrote: > Hi, > >> No, I said it would be better to use st_choose_matching_format in >> st_ChooseTextureFormat, >> because st_choose_matching_format does exactly what you'

Re: [Mesa-dev] Choosing texture internal format in GLES

2013-09-30 Thread Rogovin, Kevin
Hi, > No, I said it would be better to use st_choose_matching_format in > st_ChooseTextureFormat, > because st_choose_matching_format does exactly what you're trying to do. > > I have gone ahead and implemented what I had in mind. See the attached patch. > > Marek One thing to make sure of in th

Re: [Mesa-dev] Choosing texture internal format in GLES

2013-09-29 Thread Wladimir
On Sat, Sep 28, 2013 at 9:34 PM, Marek Olšák wrote: > No, I said it would be better to use st_choose_matching_format in > st_ChooseTextureFormat, because st_choose_matching_format does exactly > what you're trying to do. > > I have gone ahead and implemented what I had in mind. See the attached >

Re: [Mesa-dev] Choosing texture internal format in GLES

2013-09-28 Thread Marek Olšák
No, I said it would be better to use st_choose_matching_format in st_ChooseTextureFormat, because st_choose_matching_format does exactly what you're trying to do. I have gone ahead and implemented what I had in mind. See the attached patch. Marek On Sat, Sep 28, 2013 at 8:45 AM, Wladimir wrote

[Mesa-dev] Choosing texture internal format in GLES

2013-09-27 Thread Wladimir
Hello, Mareko and me had a small discussion about this on IRC. Basically with GLES (1.0, 2.0 at least) the application has no way to control the exact internal format [1]. This is intentional give the hardware more leeway. See http://www.khronos.org/opengles/sdk/docs/man/xhtml/glTexImage2D.xml :