Olivier Fourdan <ofour...@redhat.com> writes:

> For some hardware, GL_RGBA is the safest option for textures to bind to
> an FBO for depth 8 as GL_ALPHA might be unsupported.
>
> This allows using glamor-xv on hardware that don't support GL_ALPHA
> textures attaching to an FBO, such as nouveau on nv30.
>
> Newer hardware use GL_RED and texture swizzle anyway, so this change is
> of limited impact.

Does nv30 not support *any* 8-bit render target?

Also, blowing up our XV textures to 32-bit can't be good for its
performance.  Could we just use GLAMOR_CREATE_FBO_NO_FBO (worst name) to
have our XV pixmaps not actually create an FBO?  We already use
glamor_upload_boxes(), so I think that would work.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to