class MacGLContext extends GLContext
GL_ALPHA, GL_BACK, GL_BGRA, GL_CONSTANT_ALPHA, GL_CONSTANT_COLOR, GL_DST_ALPHA, GL_DST_COLOR, GL_FLOAT, GL_FRONT, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LUMINANCE, GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, GL_MAX_FRAGMENT_UNIFORM_VECTORS, GL_MAX_TEXTURE_IMAGE_UNITS, GL_MAX_TEXTURE_SIZE, GL_MAX_VARYING_COMPONENTS, GL_MAX_VARYING_VECTORS, GL_MAX_VERTEX_ATTRIBS, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, GL_MAX_VERTEX_UNIFORM_COMPONENTS, GL_MAX_VERTEX_UNIFORM_VECTORS, GL_NEAREST, GL_NEAREST_MIPMAP_NEAREST, GL_NONE, GL_ONE, GL_ONE_MINUS_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_COLOR, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_RGB, GL_RGBA, GL_RGBA32F, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_TEXTURE_2D, GL_TEXTURE_BINDING_2D, GL_UNPACK_ALIGNMENT, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_SHORT_8_8_APPLE, GL_YCBCR_422_APPLE, GL_ZERO, MAPTYPE_BUMP, MAPTYPE_DIFFUSE, MAPTYPE_SELFILLUM, MAPTYPE_SPECULAR, nativeCtxInfo, NUM_MATRIX_ELEMENTS, WRAPMODE_CLAMP_TO_BORDER, WRAPMODE_CLAMP_TO_EDGE, WRAPMODE_REPEAT
Constructor and Description |
---|
MacGLContext(GLDrawable drawable,
GLPixelFormat pixelFormat,
GLContext shareCtx,
boolean vSyncRequest) |
MacGLContext(long nativeCtxInfo) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
getNativeHandle() |
(package private) void |
makeCurrent(GLDrawable drawable) |
private static long |
nGetNativeHandle(long nativeCtxInfo) |
private static long |
nInitialize(long nativeDInfo,
long nativePFInfo,
long nativeshareCtxHandle,
boolean vSyncRequest) |
private static void |
nMakeCurrent(long nativeCtxInfo,
long nativeDInfo) |
activeTexture, bindFBO, bindTexture, blendFunc, blitFBO, buildNativeGeometry, buildNativeGeometry, canClampToZero, canCreateNonPowTwoTextures, clearBuffers, compileShader, createDepthBuffer, createES2Mesh, createES2MeshView, createES2PhongMaterial, createFBO, createIndexBuffer16, createProgram, createRenderBuffer, createTexture, deleteFBO, deleteRenderBuffer, deleteShader, deleteTexture, disableVertexAttributes, disposeShaders, drawIndexedQuads, enableVertexAttributes, finish, genAndBindTexture, getActiveTextureUnit, getBoundFBO, getBoundTexture, getBoundTexture, getIntParam, getMaxSampleSize, getMaxTextureSize, getNativeCtxInfo, getNumBoundTexture, getSampleSize, getUniformLocation, isShaderCompilerSupported, pixelStorei, readPixels, releaseES2Mesh, releaseES2MeshView, releaseES2PhongMaterial, renderMeshView, scissorTest, setActiveTextureUnit, setAmbientLight, setBoundTexture, setCullingMode, setDeviceParametersFor2D, setDeviceParametersFor3D, setIndexBuffer, setMap, setMaterial, setPointLight, setShaderProgram, setSolidColor, setWireframe, texImage2D, texParamsMinMax, texSubImage2D, uniform1f, uniform1i, uniform2f, uniform2i, uniform3f, uniform3i, uniform4f, uniform4fv, uniform4i, uniform4iv, uniformMatrix4fv, updateActiveTextureUnit, updateBoundTexture, updateFilterState, updateMSAAState, updateViewportAndDepthTest, updateWrapState
MacGLContext(long nativeCtxInfo)
MacGLContext(GLDrawable drawable, GLPixelFormat pixelFormat, GLContext shareCtx, boolean vSyncRequest)
private static long nInitialize(long nativeDInfo, long nativePFInfo, long nativeshareCtxHandle, boolean vSyncRequest)
private static long nGetNativeHandle(long nativeCtxInfo)
private static void nMakeCurrent(long nativeCtxInfo, long nativeDInfo)
long getNativeHandle()
getNativeHandle
in class GLContext
void makeCurrent(GLDrawable drawable)
makeCurrent
in class GLContext