Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status applet doesn't render well in 16bit X #441

Closed
MerlijnWajer opened this issue Aug 23, 2020 · 3 comments
Closed

Status applet doesn't render well in 16bit X #441

MerlijnWajer opened this issue Aug 23, 2020 · 3 comments

Comments

@MerlijnWajer
Copy link
Member

Some relevant info from the irc logs:

18:27 < freemangordon> well, not 100% sure, but what I think is:
18:29 < freemangordon> on d4 (and pinephone),   EGL_KHR_image_pixmap is used to bind pixmap to a texture
18:29 < freemangordon> however, either SGX driver is buggy on d4 or glEGLImageTargetTexture2DOES cannot be used for 32bpp images on 16 bits
18:30 < freemangordon> when the target is GL_TEXTURE_2D
18:31 < freemangordon> however, there is another target for glEGLImageTargetTexture2DOES -  GL_TEXTURE_EXTERNAL_OES, but because of my ignorance in EGL and the lack of godd documentation and examples, it is hard for me to judge whether it will work or not
18:32 < freemangordon> simple replacement of GL_TEXTURE_2D with GL_TEXTURE_EXTERNAL_OES in clutter didn't do the job, so I have to create test program to gain some experience :)
18:32 < freemangordon> Wizzup: is it clearer now?
18:33 < Wizzup> so it doesn't happen on pinephone?
18:33 < freemangordon> on pinephone nothing is rendered with 16bpp
18:33 < Wizzup> ok
18:33 < freemangordon> but I guess it is another story
18:33 < Wizzup> right
18:34 < freemangordon> on d4, because hildon-status-menu and hildon-home are applications, thus EGL_KHR_image_pixmap
18:34 < freemangordon> and because they want transparency, thats why 32bits
18:35 < freemangordon> BTW, it would be great if we can find someone with some experience in EGL/GLES2
18:37 < freemangordon> as docs are in shape of https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt
@MerlijnWajer
Copy link
Member Author

09:50 < freemangordon> Wizzup: 16bpp bad rendering on d4 is a driver bug, in vmplayer VM, with 3d accel enabled (so EGL_KHR_image_pixmap is supported), the same clutter code works perfectly fine
10:19 < freemangordon> I wonder how to try the newer SGX driver (1.17 or whatever the version)

@MerlijnWajer
Copy link
Member Author

Might be helpful somehow: http://powervr-graphics.github.io/WebGL_SDK/WebGL_SDK/Documentation/Architecture%20Guides/PowerVR.Supported%20Extensions.OpenGL%20ES.EGL.pdf

@IMbackK
Copy link
Collaborator

IMbackK commented Aug 7, 2021

Im going to close this as wontfix, since we are staying on 32bit by necessity of support in modern applications, newer pvr also has issues at 16 bit btw.

@IMbackK IMbackK closed this as completed Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants