Applications may wish to take advantage of framebuffer compression. Some platforms may support framebuffer compression at fixed bitrates. Such compression algorithms generally produce results that are visually lossless, but the results are typically not bit exact when compared to a non-compressed result.
This extension enables applications to opt-in to fixed-rate compression for EGL window surfaces.
Compression may not be supported for all framebuffer formats. It can still be requested for all formats and applications can query what level of compression was actually enabled.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: TRUE on success.a list of attributes that will be provided when a surface is created with this combination of display and attrib_list, IntBuffer EGLConfig. The accepted
attributes are the same as for CreatePlatformWindowSurface.a pointer to a buffer containing rates, IntBuffer num_rates)rate_size elements.Gets the list of all fixed-rate compression rates that are available on a specified display and |
| public static boolean | eglQuerySupportedCompressionRatesEXT(long dpy, long config, PointerBuffer attrib_list, int[] rates, int[] num_rates)
Array version of: |
| public static int | neglQuerySupportedCompressionRatesEXT(long dpy, long config, long attrib_list, long rates, int rate_size, long num_rates)
Unsafe version of: |
| EGL_SURFACE_COMPRESSION_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_EXT New attributes accepted by the | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT Accepted as attribute values for | |
| EGL_SURFACE_COMPRESSION_PLANE1_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_PLANE1_EXT New attributes accepted by the | |
| EGL_SURFACE_COMPRESSION_PLANE2_EXT | back to summary |
|---|---|
| public static final int EGL_SURFACE_COMPRESSION_PLANE2_EXT New attributes accepted by the | |
| EXTSurfaceCompression | back to summary |
|---|---|
| protected EXTSurfaceCompression() | |
| eglQuerySupportedCompressionRatesEXT | back to summary |
|---|---|
| public static boolean eglQuerySupportedCompressionRatesEXT(long dpy, long config, PointerBuffer attrib_list, IntBuffer rates, IntBuffer num_rates) Gets the list of all fixed-rate compression rates that are available on a specified display and The number of rates is returned in No more than The possible values returned in
| |
| eglQuerySupportedCompressionRatesEXT | back to summary |
|---|---|
| public static boolean eglQuerySupportedCompressionRatesEXT(long dpy, long config, PointerBuffer attrib_list, int[] rates, int[] num_rates) Array version of:
| |
| neglQuerySupportedCompressionRatesEXT | back to summary |
|---|---|
| public static int neglQuerySupportedCompressionRatesEXT(long dpy, long config, long attrib_list, long rates, int rate_size, long num_rates) Unsafe version of: | |