We ran into an issue with setting the blend functions that occured only on the Adreno chips, the following two pieces of code were not equivalent for us:
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
and
We ran into an issue with setting the blend functions that occured only on the Adreno chips, the following two pieces of code were not equivalent for us:
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
and
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.
Yes, agree these should be equivalent. Are you able to query the blend state and verify that the glstate is correct?
Could you let us know which device you are seeing this on?
Are you able to capture a log file?
Also, would you have a test apk that you are using to demonstrate the problem?
thanks...
We can repro this on the S4 and the Nexus 7, the blend func reports as GL_ONE_MINUS_SRC_ALPHA in both cases, we came across the "fix" when some code was querying the state, setting to one, then setting back. What sort of log file were you thinking of? We run the alpha set every frame so it's buried in a bunch of other opengl calls. I'm following up on whether I can give out an apk right now.
I've got an apk for you, let me know how to deliver it :-)