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 20th June 2011 at http://forums.arm.com

    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?)

    However, the result in the framebuffer looks undithered, which is my real problem to begin with.

    I have exactly the same version of the S2 as you.



    Here is a small test application:


    (prebuilt debug-apk in bin/SimpleGL.apk)
    It displays smooth (dithered) gradients on Adreno and SGX. Undithered on Mali.


    /Peter
Reply
  • Note: This was originally posted on 20th June 2011 at http://forums.arm.com

    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?)

    However, the result in the framebuffer looks undithered, which is my real problem to begin with.

    I have exactly the same version of the S2 as you.



    Here is a small test application:


    (prebuilt debug-apk in bin/SimpleGL.apk)
    It displays smooth (dithered) gradients on Adreno and SGX. Undithered on Mali.


    /Peter
Children
No data