Class EXTProtectedContent
- java.lang.Object
-
- org.lwjgl.egl.EXTProtectedContent
-
public final class EXTProtectedContent extends java.lang.Object
Native bindings to the EXT_protected_content extension.This extension introduces the concept of protected contexts and protected resources, specifically surfaces and
EGLImages
. Applications can choose at creation time whether a context, surface orEGLImage
is protected or not.A protected context is required to allow the GPU to operate on protected resources, including protected surfaces and protected
EGLImages
.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 source tries to access a protected buffer. Depending on the system these faults might be ignored or they might cause process termination. This undefined behavior should not include actually allowing a transfer of data from a protected surface to a non-protected surface.
Requires
EGL 1.4
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
EGL_PROTECTED_CONTENT_EXT
Accepted as an attribute name in theattrib_list
parameter ofCreateContext
,CreateWindowSurface
, andCreateImageKHR
; and as an parameter ofQuerySurface
andQueryContext
.
-
-
-
Field Detail
-
EGL_PROTECTED_CONTENT_EXT
public static final int EGL_PROTECTED_CONTENT_EXT
Accepted as an attribute name in theattrib_list
parameter ofCreateContext
,CreateWindowSurface
, andCreateImageKHR
; and as an parameter ofQuerySurface
andQueryContext
.- See Also:
- Constant Field Values
-
-