The association of a separate "read" and "draw" DC with the current context allows for preprocessing of image data in an "off screen" DC which is then read into a visible DC for final display.
Requires WGL_ARB_extensions_string.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB
New errors returned by |
| public static final int | ERROR_INVALID_PIXEL_TYPE_ARB
New errors returned by |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static long | |
| public static boolean | wglMakeContextCurrentARB(long
the "draw" device context drawDC, long the "read" device context readDC, long the OpenGL context hglrc)Associates the context |
| ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB | back to summary |
|---|---|
| public static final int ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB New errors returned by | |
| ERROR_INVALID_PIXEL_TYPE_ARB | back to summary |
|---|---|
| public static final int ERROR_INVALID_PIXEL_TYPE_ARB New errors returned by | |
| WGLARBMakeCurrentRead | back to summary |
|---|---|
| protected WGLARBMakeCurrentRead() | |
| wglGetCurrentReadDCARB | back to summary |
|---|---|
| public static long wglGetCurrentReadDCARB() Returns the "read" device context for the current OpenGL context.
| |
| wglMakeContextCurrentARB | back to summary |
|---|---|
| public static boolean wglMakeContextCurrentARB(long drawDC, long readDC, long hglrc) Associates the context The If
These frame buffer values are taken from the surface associated with the device context specified by
| |