Skip to content

glamor: use glEGLImageTargetTexture2DOES during copy to update image texture

Kyle Russell requested to merge bkylerussell/xserver:glamor-copy into master

Texture sampling buffers may not be accepted in the same format as an image's generated renderbuffer, so glamor should explicitly refresh the texture's base image during the copy from the GL client to its X window.

This fix specifically addresses the most common PresentPixmap operations, and does not attempt to support other DRI3 pixmap drawing operations.

Fixes: mesa/mesa#6220 (closed)

Signed-off-by: Kyle Russell bkylerussell@gmail.com

Edited by Kyle Russell

Merge request reports