[Bug 92907] ARB_copy_image breaks recording with obs-studio
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 11 12:33:56 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92907
--- Comment #5 from Ilia Mirkin <imirkin at alum.mit.edu> ---
OK, so the issue is coming from
70518 glCopyImageSubData(srcName = 9, srcTarget = GL_TEXTURE_2D, srcLevel = 0,
srcX = 0, srcY = 0, srcZ = 0, dstName = 8, dstTarget = GL_TEXTURE_2D, dstLevel
= 0, dstX = 0, dstY = 0, dstZ = 0, srcWidth = 1920, srcHeight = 31, srcDepth =
1)
We error out complaining that the internal formats don't match.
Texture 9:
70257 glBindTexture(target = GL_TEXTURE_2D, texture = 9)
70258 glXBindTexImageEXT(display = 0x210df00, drawable = 69206018, buffer =
GLX_FRONT_LEFT_EXT, attrib_list = {})
70259 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGB,
width = 1920, height = 31, border =
0, format = GL_RGBA, type = GL_UNSIGNED_BYTE, pixels = blob(238080))
Texture 8:
70244 glBindTexture(target = GL_TEXTURE_2D, texture = 8)
70246 glTexImage2D(target = GL_TEXTURE_2D, level = 0, internalformat = GL_RGBA,
width = 1920, height = 31, border =
0, format = GL_RGBA, type = GL_UNSIGNED_BYTE, pixels = blob(238080))
AFAIK this is illegal [copying between GL_RGB and GL_RGBA internal formats],
but I haven't double-checked the ARB_copy_image spec or a full GL spec release
(where these things are often updated).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151111/eb5cab9b/attachment.html>
More information about the dri-devel
mailing list