Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
Dithering on SGS2/Mali400MP
Jump...
Cancel
Locked
Locked
Replies
7 replies
Subscribers
137 subscribers
Views
8701 views
Users
0 members are here
Mali Drivers
Mali-GPU
Mali-400
Options
Share
More actions
Cancel
Related
How was your experience today?
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
Peter Strand
over 12 years ago
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
Peter Strand
over 12 years ago
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
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Strand
over 12 years ago
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
Cancel
Vote up
0
Vote down
Cancel
Children
No data