OPENGLES1.1 glBlendFunc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OPENGLES1.1 glBlendFunc

523 Views
xyguo
Contributor I

Hi,

     The current application use OPENGLES1.1 .When I use glTexDirectVIV / glTexDirectVIVMap / glTexDirectInvalidateVIV , Translucent layer layout which set by glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA) is not as expected . But when I use glTexImage2D/glTexSubImage2D(But The efficiency is lower ),Translucent layer work as expected.

     So,how to solve this problem?

 

My current configuration:

          BOARD:IMX6Q_SABRESD

          BSP:3.14.52_LinuxYocto

          APP USE:Linux_framebuffer(FB,RGBA)+OPENGLES1.1

Thank a lot!:)

Labels (1)
0 Kudos
1 Reply

348 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi xy

Please provide the sample code, Using GPU sdk samples glblend functions works as expected.

Maybe you are missing a glEnable(GL_BLEND)

regards

0 Kudos