[Mesa-dev] [Bug 99638] Mesa opengles Peppa Pig and openggles2 smurfs on Radeon PowerPC and PPC64

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 8 13:27:26 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99638

--- Comment #21 from intermediadc at hotmail.com <intermediadc at hotmail.com> ---
(In reply to Ilia Mirkin from comment #13)
> (In reply to Daniel Stone from comment #7)
> > At a blind guess, I'm going to say that this is because Wayland's formats
> > are defined as DRM's are, i.e. explicitly little-endian where pixels are
> > accessed whole, rather than GL's byte-by-byte. I suppose the conversion
> > between GL and Wayland/DRM formats are simply broken for BE.
> 
> A quick glance at platform_wayland.c shows this:
> 
> static EGLBoolean
> dri2_wl_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *disp)
> {
>    struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
>    static const struct {
>       const char *format_name;
>       int has_format;
>       unsigned int rgba_masks[4];
>    } visuals[] = {
>       { "XRGB8888", HAS_XRGB8888, { 0xff0000, 0xff00, 0x00ff, 0xff000000 } },
>       { "ARGB8888", HAS_ARGB8888, { 0xff0000, 0xff00, 0x00ff, 0 } },
>       { "RGB565",   HAS_RGB565,   { 0x00f800, 0x07e0, 0x001f, 0 } },
>    };
> 
> Which seems like it could be off for BE...
> 
> I happen to have a PPC G5 with a NV34/AGP sitting in it. I might try to play
> with it later (got it all to work with X11 again a while back). Although I'd
> have to get help with the wayland part of it.

Hi Ilia,
im using this thread to write the dri3 patch work on radeonhd on G5 too.
color continue be wrong but performance increase of 35% more. 
glxgears was 3100 fps on fedora ppc64 now are 3900

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170508/d4b1117b/attachment.html>


More information about the mesa-dev mailing list