[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-users
Subject:    [Mesa-users] Comatibility Issue for GL_ARGB and GL_BRGA_EXT
From:       Vivek Singh <vivek.siwan () gmail ! com>
Date:       2011-09-29 11:51:44
Message-ID: CAJrcCc0ChoXeA+J9F0oDC-5joR_V-Kc2=v2JDd4nK6dCgf6-qg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello All,

I am running mesa-7.10.2 on my qemu machine having  /dev/fb0 with following
configuration

./configure --prefix=/opt/mesa-arm-genoa-new --host=arm-linux
--build=i686-linux --enable-gles2 --with-x=no --with-egl-platforms=fbdev
 --with-egl-displays=fbdev --with-driver=no   --disable-glu --disable-glw
--disable-glut --disable-gl-osmesa --disable-opengl --enable-debug
--enable-gles-overlay

. I want to run some stack which runs gles2 as backend and requires GL_ARGB
 pixel format to execute APIs glTexImage2D and glReadPixel , but above
ported mesa code base is showing GL_BRGA_EXT   after calling following
API. glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, &readFormat);

Please suggest me how i can configure Mesa for GL_ARGB pixel format.


Regards
Vivek

[Attachment #5 (text/html)]

<span class="Apple-style-span" style="font-family: arial, sans-serif; \
background-color: rgb(255, 255, 255); font-size: medium; "><div class="gE ib gt" \
style="font-size: 13px; padding-left: 4px; padding-bottom: 3px; padding-right: 0px; \
cursor: auto; "> <table cellpadding="0" class="cf gJ" style="margin-top: 0px; width: \
auto; border-collapse: collapse; "><tbody><tr><td class="gF gK" style="text-align: \
right;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
font-family: arial, sans-serif; white-space: nowrap; padding-right: 0px; \
vertical-align: top; width: 511px; padding-top: 0px; "> <font \
class="Apple-style-span" color="#888888"><br></font></td><td class="gH" \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
font-family: arial, sans-serif; text-align: right; white-space: nowrap; \
vertical-align: top; "> <br></td><td class="gH cY8xve" style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, \
sans-serif; text-align: right; white-space: nowrap; vertical-align: top; \
"></td></tr></tbody></table> </div><div class="iF" style="height: 0px; overflow-x: \
hidden; overflow-y: hidden; clear: both; "></div><div class="utdU2e"></div><div \
class="QqXVeb"></div><div id=":1zh" class="ii gt" style="font-size: 13px; margin-top: \
5px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px; padding-bottom: 20px; \
position: relative; z-index: 2; "> <div id=":1zg">Hello All,<div><br></div><div>I am \
running mesa-7.10.2 on my qemu machine having  /dev/fb0 with following \
configuration</div><div><br></div><div>./configure --prefix=/opt/mesa-arm-genoa-new \
--host=arm-linux --build=i686-linux --enable-gles2 --with-x=no \
--with-egl-platforms=fbdev  --with-egl-displays=fbdev --with-driver=no   \
--disable-glu --disable-glw --disable-glut --disable-gl-osmesa --disable-opengl \
--enable-debug --enable-gles-overlay</div> <div><br></div><div>. I want to run some \
stack which runs gles2 as backend and requires GL_ARGB  pixel format to execute APIs \
glTexImage2D and glReadPixel , but above ported mesa code base is showing GL_BRGA_EXT \
after calling following API. glGetIntegerv(GL_IMPLEMENTATION_COLOR_READ_FORMAT, \
&amp;readFormat);  </div> <div><br></div><div>Please suggest me how i can configure \
Mesa for GL_ARGB pixel \
format.</div><div><br></div><div><br></div><div>Regards</div><div>Vivek</div></div></div></span>




_______________________________________________
mesa-users mailing list
mesa-users@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic