dememax ([personal profile] dememax) wrote2020-05-20 03:46 pm

OpenGL extension: OES_EGL_image_external and Mipmap

А может ли мне кто-нибудь объяснить, пожалуйста, почему, если выбираем вот это расширение:

https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt

То для минимизации не можем использовать фильтрацию с Mipmap?
А то там, как само собой разумеющееся идёт (я только-только стал заниматься этим делом):
1. What happens when GenerateMipmaps() is called with set to TEXTURE_EXTERNAL_OES?
Possible options:

A) Fail (INVALID_ENUM)
B) Generate the mipmaps and copy them into the TEXTURE_2D target.

Option B could be useful and should not be difficult to implement.
What happens when the texture is NPOT and GenerateMipmaps() is called?
Ben Bowman and David Garcia have indicated they prefer A. No other strong opinions yet.

RESOLVED: A (fail)
В результате:
...
It is an INVALID_ENUM error to set the min filter value to anything other than LINEAR or NEAREST.
...
Заранее благодарен!

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting