KhronosGroup / OpenGL-API

OpenGL and OpenGL ES API Issue Tracker
34 stars 5 forks source link

CopyTexImage2D references a "CopyPixels" that has been removed from the specification #90

Open magcius opened 1 year ago

magcius commented 1 year ago

https://registry.khronos.org/OpenGL/specs/gl/glspec46.core.pdf#page=240

The image is taken from the framebuffer exactly as if these arguments were passed to CopyPixels (see section 18.3) with argument type set to COLOR, DEPTH, DEPTH_STENCIL, or STENCIL_INDEX, depending on internalformat, stopping after conversion of depth values.

However, section 18.3 does not mention any behavior for CopyPixels. Funnily enough, the changelog says that this text should be moved into this section, but it seems this was forgotten.

Pixel copying - CopyPixels (the comments also applying to CopyTexImage will be moved to section 8.6).

pdaniell-nv commented 1 year ago

@oddhack would you mind looking at this one. Thanks.

oddhack commented 1 year ago

We can put that on the queue for the next time we do a spec update. From the wording I suspect that was a to-do item that was lost track of and rebooting my memory of the pixel/texel deprecated/non-deprecated language will be a project.

magcius commented 1 year ago

I assume it's valid to use the compatibility specification for implementation reference here, since it still has the proper spec language, but I still figured I'd point out the editorial error.