Forums - Adreno 320 Stencil Buffer problem

2 posts / 0 new
Last post
Adreno 320 Stencil Buffer problem
nkligang
Join Date: 22 Mar 15
Posts: 2
Posted: Sun, 2015-03-22 22:23

Hi, I have a graphic renderring problem about stencil buffer using Adreno 320 on Android devices. the problem is descript as follow.

I use cocos2dx 2.2.3 as my 2d game engine. I have developed a game which scene can be destroyed. I use CCClippingNode class in my game. (the CCClippingNode class use Stencil Buffer to clip)

Somebody said this problem has occurs on devices which has android system version bellow 4.3, I will try it later.

This problem is not exist on most android devices except the devices which using Adreno 320!

this demo can be download at:

http://115.28.106.122:19038/pang_terrain_problem.apk

Can somebody help me to solve this problem? thank you very much!

my email address is [email protected], welcome to email me about this problem.

 

  • Up0
  • Down0
nkligang
Join Date: 22 Mar 15
Posts: 2
Posted: Thu, 2017-08-24 00:29

This problem has been fix for change CCClippingNode.cpp(cocos2dx 2.2.3) in

line 231: glClear(GL_STENCIL_BUFFER_BIT);

to //glClear(GL_STENCIL_BUFFER_BIT);

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.