This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dithering on SGS2/Mali400MP

Note: This was originally posted on 19th June 2011 at http://forums.arm.com

Hi,

I was just investigating a color banding issue in a gles2 application on Samsung Galaxy S II and noticed that GL_DITHER was disabled by default, and could not be enabled either.
Is this a known problem? Intentional? Driver or android/platform issue?

Regards,
Peter
Parents
  • Note: This was originally posted on 22nd June 2011 at http://forums.arm.com

    Hi Peter,


    I used glGetBooleanv (and glGetIntegerv) to query the state, glIsEnabled does indeed return 1.
    And I noticed that glGet doesn't return zero which I thought, they don't touch my parameter at all..
    (shouldn't glGet work for state queries as well as glIsEnabled?)


    I have investigated this part of your question further and I think you may be right. It appears GLES1.x didn't have a glGet() for GL_DITHER but GLES2.0 does - since you have a GLES2.0 context, the glGet() function should work for GL_DITHER I believe. We will investigate this issue further.

    Thanks, Pete
Reply
  • Note: This was originally posted on 22nd June 2011 at http://forums.arm.com

    Hi Peter,


    I used glGetBooleanv (and glGetIntegerv) to query the state, glIsEnabled does indeed return 1.
    And I noticed that glGet doesn't return zero which I thought, they don't touch my parameter at all..
    (shouldn't glGet work for state queries as well as glIsEnabled?)


    I have investigated this part of your question further and I think you may be right. It appears GLES1.x didn't have a glGet() for GL_DITHER but GLES2.0 does - since you have a GLES2.0 context, the glGet() function should work for GL_DITHER I believe. We will investigate this issue further.

    Thanks, Pete
Children
No data