Top Fields Constructors Methods
com.sun.prism.es2

pack-priv Class MacGLContext

extends GLContext
Class Inheritance

Field Summary

Inherited from com.sun.prism.es2.GLContext:
GL_ALPHAGL_BACKGL_BGRAGL_CONSTANT_ALPHAGL_CONSTANT_COLORGL_DST_ALPHAGL_DST_COLORGL_FLOATGL_FRONTGL_LINEARGL_LINEAR_MIPMAP_LINEARGL_LUMINANCEGL_MAX_FRAGMENT_UNIFORM_COMPONENTSGL_MAX_FRAGMENT_UNIFORM_VECTORSGL_MAX_TEXTURE_IMAGE_UNITSGL_MAX_TEXTURE_SIZEGL_MAX_VARYING_COMPONENTSGL_MAX_VARYING_VECTORSGL_MAX_VERTEX_ATTRIBSGL_MAX_VERTEX_TEXTURE_IMAGE_UNITSGL_MAX_VERTEX_UNIFORM_COMPONENTSGL_MAX_VERTEX_UNIFORM_VECTORSGL_NEARESTGL_NEAREST_MIPMAP_NEARESTGL_NONEGL_ONEGL_ONE_MINUS_CONSTANT_ALPHAGL_ONE_MINUS_CONSTANT_COLORGL_ONE_MINUS_DST_ALPHAGL_ONE_MINUS_DST_COLORGL_ONE_MINUS_SRC_ALPHAGL_ONE_MINUS_SRC_COLORGL_RGBGL_RGBAGL_RGBA32FGL_SRC_ALPHAGL_SRC_ALPHA_SATURATEGL_SRC_COLORGL_TEXTURE_2DGL_TEXTURE_BINDING_2DGL_UNPACK_ALIGNMENTGL_UNPACK_ROW_LENGTHGL_UNPACK_SKIP_PIXELSGL_UNPACK_SKIP_ROWSGL_UNSIGNED_BYTEGL_UNSIGNED_INT_8_8_8_8GL_UNSIGNED_INT_8_8_8_8_REVGL_UNSIGNED_SHORT_8_8_APPLEGL_YCBCR_422_APPLEGL_ZEROMAPTYPE_BUMPMAPTYPE_DIFFUSEMAPTYPE_SELFILLUMMAPTYPE_SPECULARnativeCtxInfoNUM_MATRIX_ELEMENTSWRAPMODE_CLAMP_TO_BORDERWRAPMODE_CLAMP_TO_EDGEWRAPMODE_REPEAT

Constructor Summary

AccessConstructor and Description
pack-priv
MacGLContext(long nativeCtxInfo)

pack-priv
MacGLContext(GLDrawable drawable, GLPixelFormat pixelFormat, GLContext shareCtx, boolean vSyncRequest)

Method Summary

Modifier and TypeMethod and Description
pack-priv long
pack-priv void
private static native long
nGetNativeHandle(long nativeCtxInfo)

private static native long
nInitialize(long nativeDInfo, long nativePFInfo, long nativeshareCtxHandle, boolean vSyncRequest)

private static native void
nMakeCurrent(long nativeCtxInfo, long nativeDInfo)

Inherited from com.sun.prism.es2.GLContext:
activeTexturebindFBObindTextureblendFuncblitFBObuildNativeGeometrybuildNativeGeometrycanClampToZerocanCreateNonPowTwoTexturesclearBufferscompileShadercreateDepthBuffercreateES2MeshcreateES2MeshViewcreateES2PhongMaterialcreateFBOcreateIndexBuffer16createProgramcreateRenderBuffercreateTexturedeleteFBOdeleteRenderBufferdeleteShaderdeleteTexturedisableVertexAttributesdisposeShadersdrawIndexedQuadsenableVertexAttributesfinishgenAndBindTexturegetActiveTextureUnitgetBoundFBOgetBoundTexturegetBoundTexturegetIntParamgetMaxSampleSizegetMaxTextureSizegetNativeCtxInfogetNumBoundTexturegetSampleSizegetUniformLocationisShaderCompilerSupportedpixelStoreireadPixelsreleaseES2MeshreleaseES2MeshViewreleaseES2PhongMaterialrenderMeshViewscissorTestsetActiveTextureUnitsetAmbientLightsetBoundTexturesetCullingModesetDeviceParametersFor2DsetDeviceParametersFor3DsetIndexBuffersetLightsetMapsetMaterialsetShaderProgramsetSolidColorsetWireframetexImage2DtexParamsMinMaxtexSubImage2Duniform1funiform1iuniform2funiform2iuniform3funiform3iuniform4funiform4fvuniform4iuniform4ivuniformMatrix4fvupdateActiveTextureUnitupdateBoundTextureupdateFilterStateupdateMSAAStateupdateViewportAndDepthTestupdateWrapState

Constructor Detail

MacGLContextback to summary
pack-priv MacGLContext(long nativeCtxInfo)
MacGLContextback to summary
pack-priv MacGLContext(GLDrawable drawable, GLPixelFormat pixelFormat, GLContext shareCtx, boolean vSyncRequest)

Method Detail

getNativeHandleback to summary
pack-priv long getNativeHandle()

Implements abstract com.sun.prism.es2.GLContext.getNativeHandle.

Annotations
@Override
makeCurrentback to summary
pack-priv void makeCurrent(GLDrawable drawable)

Implements abstract com.sun.prism.es2.GLContext.makeCurrent.

Annotations
@Override
nGetNativeHandleback to summary
private static native long nGetNativeHandle(long nativeCtxInfo)
nInitializeback to summary
private static native long nInitialize(long nativeDInfo, long nativePFInfo, long nativeshareCtxHandle, boolean vSyncRequest)
nMakeCurrentback to summary
private static native void nMakeCurrent(long nativeCtxInfo, long nativeDInfo)