Język

EGL14 Class

Definition

EGL 1.4

[Android.Runtime.Register("android/opengl/EGL14", DoNotGenerateAcw=true)]
public class EGL14 : Java.Lang.Object
[<Android.Runtime.Register("android/opengl/EGL14", DoNotGenerateAcw=true)>]
type EGL14 = class
    inherit Object
Inheritance
Attributes

Remarks

EGL 1.4

Java documentation for android.opengl.EGL14.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
EGL14()

Initializes an instance of the EGL 1.4 API container; EGL functions do not require an instance.

EGL14(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

Name Description
EglAlphaMaskSize

Selects the number of bits in a configuration's alpha-mask buffer.

EglAlphaSize

Selects the number of alpha-component bits in the color buffer.

EglBackBuffer

Selects a back buffer for client API rendering.

EglBadAccess

Reports that EGL cannot access a requested resource.

EglBadAlloc

Reports that EGL could not allocate the resources required by an operation.

EglBadAttribute

Reports an unrecognized attribute or attribute value in an EGL attribute list.

EglBadConfig

Reports a handle that does not identify a valid EGL framebuffer configuration.

EglBadContext

Reports a handle that does not identify a valid EGL rendering context.

EglBadCurrentSurface

Reports that the calling thread's current rendering surface is no longer valid.

EglBadDisplay

Reports a handle that does not identify a valid EGL display connection.

EglBadMatch

Reports EGL arguments that are individually valid but incompatible with one another.

EglBadNativePixmap

Reports a native-pixmap argument that does not identify a valid pixmap.

EglBadNativeWindow

Reports a native-window argument that does not identify a valid window.

EglBadParameter

Reports an argument value rejected by an EGL operation.

EglBadSurface

Reports a handle that does not identify a valid EGL rendering surface.

EglBindToTextureRgb

Selects whether a configuration permits its color buffer to be bound as an RGB texture.

EglBindToTextureRgba

Selects whether a configuration permits its color buffer to be bound as an RGBA texture.

EglBlueSize

Selects the number of blue-component bits in the color buffer.

EglBufferDestroyed

Specifies that a surface's color-buffer contents are not preserved after a swap.

EglBufferPreserved

Specifies that a surface's color-buffer contents are preserved after a swap.

EglBufferSize

Selects the total number of bits in a configuration's color buffer.

EglClientApis

Selects the string listing the EGL implementation's supported client rendering APIs.

EglColorBufferType

Selects whether a configuration uses an RGB or luminance color buffer.

EglConfigCaveat

Selects a configuration's rendering-speed or OpenGL ES conformance caveat.

EglConfigId

Selects the integer identifier of an EGL framebuffer configuration.

EglConformant

Selects the configuration bitmask identifying client APIs with conformant context support.

EglContextClientType

Selects the client rendering API type of an EGL context for a query.

EglContextClientVersion

Selects the OpenGL ES client version requested when a context is created.

EglContextLost

Reports loss of the client API rendering context.

EglCoreNativeEngine

Identifies the platform's core native rendering engine for an EGL native-rendering wait.

EglDefaultDisplay

Selects the default native display connection.

EglDepthSize

Selects the number of bits in a configuration's depth buffer.

EglDisplayScaling

Scale factor for integer EGL display-resolution and pixel-aspect-ratio values.

EglDraw

Selects the current context's drawing surface for an EGL surface query.

EglExtensions

Selects the string listing supported EGL extensions.

EglFalse

Disables a Boolean EGL attribute or represents a failed Boolean result.

EglGreenSize

Selects the number of green-component bits in the color buffer.

EglHeight

Selects a rendering surface's height in pixels.

EglHorizontalResolution

Selects horizontal display resolution in pixels per meter multiplied by EglDisplayScaling.

EglLargestPbuffer

Selects whether EGL may create a smaller pixel buffer when the requested size is unavailable.

EglLevel

Selects a framebuffer configuration's overlay or underlay level relative to the default framebuffer.

EglLuminanceBuffer

Identifies a luminance-based color buffer rather than an RGB color buffer.

EglLuminanceSize

Selects the number of luminance-component bits in a color buffer.

EglMatchNativePixmap

Selects a native pixmap handle used to restrict matching framebuffer configurations.

EglMaxPbufferHeight

Selects the maximum supported pixel-buffer height in pixels.

EglMaxPbufferPixels

Selects the maximum supported pixel-buffer area in pixels.

EglMaxPbufferWidth

Selects the maximum supported pixel-buffer width in pixels.

EglMaxSwapInterval

Selects a configuration's maximum supported interval between buffer swaps.

EglMinSwapInterval

Selects a configuration's minimum supported interval between buffer swaps.

EglMipmapLevel

Selects the mipmap level to which a texture-bindable pixel buffer renders.

EglMipmapTexture

Selects whether a texture-bindable pixel buffer allocates mipmap storage.

EglMultisampleResolve

Selects the filter used when resolving a multisample surface buffer.

EglMultisampleResolveBox

Selects equal-weight, one-pixel box filtering for multisample resolution.

EglMultisampleResolveBoxBit

Surface-type bit indicating support for box-filter multisample resolution.

EglMultisampleResolveDefault

Selects the implementation-defined default multisample-resolution filter.

EglNativeRenderable

Selects whether native rendering APIs can render into surfaces using a configuration.

EglNativeVisualId

Selects the identifier of a configuration's associated native visual.

EglNativeVisualType

Selects the implementation-defined type of a configuration's associated native visual.

EglNonConformantConfig

Marks a configuration that supports nonconformant OpenGL ES contexts.

EglNone

Marks the end of an EGL attribute-value list.

EglNoTexture

Indicates that a pixel buffer is not configured for texture binding.

EglNotInitialized

Reports that EGL is uninitialized, or initialization failed, for a display connection.

EglOpenglApi

Selects desktop OpenGL as the calling thread's EGL client rendering API.

EglOpenglBit

Configuration-mask bit indicating support for desktop OpenGL contexts.

EglOpenglEs2Bit

Configuration-mask bit indicating support for OpenGL ES 2.0 contexts.

EglOpenglEsApi

Selects OpenGL ES as the calling thread's EGL client rendering API.

EglOpenglEsBit

Configuration-mask bit indicating support for OpenGL ES 1.x contexts.

EglOpenvgApi

Selects OpenVG as the calling thread's EGL client rendering API.

EglOpenvgBit

Configuration-mask bit indicating support for OpenVG contexts.

EglOpenvgImage

Identifies an OpenVG image as the source for a pixel-buffer surface.

EglPbufferBit

Surface-type bit indicating support for off-screen pixel-buffer surfaces.

EglPixelAspectRatio

Selects pixel width divided by pixel height, multiplied by EglDisplayScaling.

EglPixmapBit

Surface-type bit indicating support for native-pixmap surfaces.

EglRead

Selects the current context's reading surface for an EGL surface query.

EglRedSize

Selects the number of red-component bits in the color buffer.

EglRenderableType

Selects the configuration bitmask of supported client API context types.

EglRenderBuffer

Selects the requested surface render buffer or the actual buffer used by a queried context.

EglRgbBuffer

Identifies a color buffer with separate red, green, and blue components.

EglSampleBuffers

Selects the number of multisample buffers in a framebuffer configuration.

EglSamples

Selects the number of samples per pixel in a framebuffer configuration.

EglSingleBuffer

Specifies direct rendering without a separate back buffer.

EglSlowConfig

Marks a framebuffer configuration considered slow by the EGL implementation.

EglStencilSize

Selects the number of bits in a configuration's stencil buffer.

EglSuccess

Indicates that no EGL error is recorded for the calling thread.

EglSurfaceType

Selects the configuration bitmask of supported surface types and surface capabilities.

EglSwapBehavior

Selects whether a surface's color buffer is preserved after a buffer swap.

EglSwapBehaviorPreservedBit

Surface-type bit indicating support for preserved color-buffer swap behavior.

EglTexture2d

Selects a two-dimensional texture target for pixel-buffer texture binding.

EglTextureFormat

Selects the color format used when a pixel buffer is bound as a texture.

EglTextureRgb

Requests RGB texture data when binding a pixel buffer as a texture.

EglTextureRgba

Requests RGBA texture data when binding a pixel buffer as a texture.

EglTextureTarget

Selects the texture target used when a pixel buffer is bound as a texture.

EglTransparentBlueValue

Selects a configuration's transparent blue color-key value.

EglTransparentGreenValue

Selects a configuration's transparent green color-key value.

EglTransparentRedValue

Selects a configuration's transparent red color-key value.

EglTransparentRgb

Selects RGB color-key transparency rather than an opaque framebuffer configuration.

EglTransparentType

Selects a configuration's transparency mode: none or RGB color-key transparency.

EglTrue

Enables a Boolean EGL attribute or represents a successful Boolean result.

EglVendor

Selects the name of the vendor responsible for the EGL implementation.

EglVersion

Selects the EGL implementation's version and release information string.

EglVerticalResolution

Selects vertical display resolution in pixels per meter multiplied by EglDisplayScaling.

EglVgAlphaFormat

Selects how OpenVG interprets alpha values when rendering to an EGL surface.

EglVgAlphaFormatNonpre

Selects OpenVG color components that are not multiplied by alpha.

EglVgAlphaFormatPre

Selects OpenVG color components premultiplied by alpha.

EglVgAlphaFormatPreBit

Surface-type bit indicating support for premultiplied-alpha OpenVG surfaces.

EglVgColorspace

Selects the color space used by OpenVG when rendering to an EGL surface.

EglVgColorspaceLinear

Selects a linear color space for OpenVG surface rendering.

EglVgColorspaceLinearBit

Surface-type bit indicating support for linear-color-space OpenVG surfaces.

EGLVGCOLORSPACESRGB

Selects the nonlinear sRGB color space for OpenVG surface rendering.

EglWidth

Selects a rendering surface's width in pixels.

EglWindowBit

Surface-type bit indicating support for native-window rendering surfaces.

Properties

Name Description
Class

Returns the runtime class of this Object.

(Inherited from Object)
EglNoContext

Gets or sets the Java field initially used as the no-context sentinel.

EglNoDisplay

Gets or sets the Java field initially used as the no-display sentinel.

EglNoSurface

Gets or sets the Java field initially used as the no-surface sentinel.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode

Gets the identity hash code assigned to this Java peer by the interop runtime.

(Inherited from Object)
JniManagedPeerState

Gets the state flags last assigned by the runtime.

(Inherited from JavaObject)
JniPeerMembers

Gets the JNI metadata used to access members of this Java binding.

PeerReference

Gets the JNI object reference for this Java peer.

(Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Name Description
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Construct(JniObjectReference, JniObjectReferenceOptions)

Delegates construction of this peer to the runtime's value manager.

(Inherited from JavaObject)
Dispose()

Releases the resources held by this Java peer.

(Inherited from Object)
Dispose(Boolean)

Provides a disposal hook for subclasses. This implementation performs no action.

(Inherited from Object)
DisposeUnlessReferenced()

Asks the value manager to dispose this peer unless its mapping retains this same managed instance.

(Inherited from JavaObject)
EglBindAPI(Int32)

Selects the current EGL client rendering API for the calling thread.

EglBindTexImage(EGLDisplay, EGLSurface, Int32)

Defines the current texture image from a texture-capable EGL pixel buffer.

EglChooseConfig(EGLDisplay, Int32[], Int32, EGLConfig[], Int32, Int32, Int32[], Int32)

Selects EGL framebuffer configurations that satisfy the requested attributes.

EglCopyBuffers(EGLDisplay, EGLSurface, Int32)

Exposes a buffer-copy entry point that is not implemented by the Android JNI wrapper.

EglCreateContext(EGLDisplay, EGLConfig, EGLContext, Int32[], Int32)

Creates a rendering context for the calling thread's selected EGL client API.

EglCreatePbufferFromClientBuffer(EGLDisplay, Int32, Int32, EGLConfig, Int32[], Int32)

Creates a pixel-buffer surface from an OpenVG image on a 32-bit process.

EglCreatePbufferSurface(EGLDisplay, EGLConfig, Int32[], Int32)

Creates an off-screen EGL pixel-buffer rendering surface.

EglCreatePixmapSurface(EGLDisplay, EGLConfig, Int32, Int32[], Int32)

Exposes a pixmap-surface entry point that is not implemented by the Android JNI wrapper.

EglCreateWindowSurface(EGLDisplay, EGLConfig, Object, Int32[], Int32)

Creates an EGL rendering surface for a supported Android window object.

EglDestroyContext(EGLDisplay, EGLContext)

Releases an EGL rendering context, deferring destruction while it is current to a thread.

EglDestroySurface(EGLDisplay, EGLSurface)

Destroys an EGL surface when it is no longer current, retaining any pixel-buffer storage still bound to a texture.

EglGetConfigAttrib(EGLDisplay, EGLConfig, Int32, Int32[], Int32)

Reads one attribute of an EGL framebuffer configuration.

EglGetConfigs(EGLDisplay, EGLConfig[], Int32, Int32, Int32[], Int32)

Retrieves the framebuffer configurations available on an EGL display.

EglGetCurrentContext()

Gets the current rendering context for the calling thread's selected client API.

EglGetCurrentDisplay()

Gets the EGL display associated with the calling thread's current rendering context.

EglGetCurrentSurface(Int32)

Gets the read or draw surface of the calling thread's current rendering context.

EglGetDisplay(Int32)

Gets the EGL connection for the default native display.

EglGetError()

Gets the EGL error status recorded for the calling thread.

EglInitialize(EGLDisplay, Int32[], Int32, Int32[], Int32)

Initializes an EGL display connection and optionally reports its EGL version.

EglMakeCurrent(EGLDisplay, EGLSurface, EGLSurface, EGLContext)

Binds an EGL rendering context and its read and draw surfaces to the calling thread.

EglQueryAPI()

Gets the EGL client rendering API currently selected for the calling thread.

EglQueryContext(EGLDisplay, EGLContext, Int32, Int32[], Int32)

Reads one attribute of an EGL rendering context.

EglQueryString(EGLDisplay, Int32)

Gets a string describing EGL client APIs, vendor, version, or extensions.

EglQuerySurface(EGLDisplay, EGLSurface, Int32, Int32[], Int32)

Reads one attribute of an EGL rendering surface.

EglReleaseTexImage(EGLDisplay, EGLSurface, Int32)

Releases a pixel-buffer color image from the texture object to which it was bound.

EglReleaseThread()

Releases the calling thread's EGL state and current context bindings without destroying explicitly allocated EGL resources.

EglSurfaceAttrib(EGLDisplay, EGLSurface, Int32, Int32)

Changes a writable attribute of an EGL rendering surface.

EglSwapBuffers(EGLDisplay, EGLSurface)

Posts a back-buffered window surface's color buffer; other surface types have no effect.

EglSwapInterval(EGLDisplay, Int32)

Sets the swap interval for the calling thread's current draw surface.

EglTerminate(EGLDisplay)

Terminates EGL use of a display connection and releases its associated resources when they are no longer in use.

EglWaitClient()

Orders earlier client API rendering before subsequent native rendering to the current context's surfaces.

EglWaitGL()

Orders earlier OpenGL ES rendering before subsequent native rendering to the current context's surfaces.

EglWaitNative(Int32)

Orders earlier native rendering before subsequent client API rendering to the current context's surfaces.

Equals(Object)

Tests whether another managed peer refers to the same Java object.

(Inherited from JavaObject)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()
Obsolete.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions)

Stores a reference value in the control block without creating a JNI reference copy.

(Inherited from JavaObject)
ToArray<T>()

Creates a managed array from this Java array wrapper.

(Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime()

Unregisters this Java peer from the interop runtime.

(Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

Name Description
IJavaPeerable.Disposed()

Marks this peer as disposed and calls Dispose with disposing set to true.

(Inherited from JavaObject)
IJavaPeerable.Finalized()

Marks this peer as disposed and calls Dispose with disposing set to false.

(Inherited from JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock

Gets the native control-block pointer used by this peer.

(Inherited from JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Stores the identity hash code supplied by the runtime.

(Inherited from JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Replaces the stored managed peer state flags.

(Inherited from JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference)

Updates the peer reference and releases a disposed peer's control block when the reference is invalid.

(Inherited from JavaObject)

Extension Methods

Name Description
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)

Reuses a compatible managed peer or obtains a wrapper of the requested type.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to