Class EXTProtectedTextures
This extension requires another extension like EGL_EXT_protected_content to have created a protected context. A protected context enables the
driver to put the GPU into a protected mode where it is able to operate on protected surfaces.
This extension enables allocating standard GL textures as protected surfaces. Previously these textures would have had to have been created as special EGL surfaces. This allows use-cases such as depth, stencil, or mipmapped textures to be supported as destinations for rendering within a protected context.
An explanation of undefined behavior in this extension: Several places in this extension mention undefined behavior can result, which can include program termination. The reason for this is because one way to handle protected content is by using a protected virtual to physical memory translation layer. With this sort of solution a system may generate read or write faults when a non-protected context tries to access the buffer. Depending on the system these faults might be ignored or they might cause process termination. This undefined behavior should not include actually allowing copying any protected content to a non-protected surface.
This extension does not guarantee that the implementation abides by a system's digital rights management requirements. It must be verified beyond the existence of this extension that the implementation of this extension is trustworthy according to the requirements of a content protection system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReturned by GetIntegerv whenpnameis CONTEXT_FLAGS.static final intAccepted as a value forpnamefor the TexParameter{if} and TexParameter{if}v commands and for thevalueparameter of GetTexParameter{if}v. -
Method Summary
-
Field Details
-
GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT
public static final int GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXTReturned by GetIntegerv whenpnameis CONTEXT_FLAGS.- See Also:
-
GL_TEXTURE_PROTECTED_EXT
public static final int GL_TEXTURE_PROTECTED_EXTAccepted as a value forpnamefor the TexParameter{if} and TexParameter{if}v commands and for thevalueparameter of GetTexParameter{if}v.- See Also:
-