src/windows/native/sun/java2d/opengl/WGLSurfaceData.c
jlong
OGLSD_GetNativeConfigInfo(OGLSDOps *oglsdo)
{
    WGLSDOps *wglsdo;

    if (oglsdo == NULL) {
        J2dRlsTraceLn(J2D_TRACE_ERROR,
                      "OGLSD_GetNativeConfigInfo: ops are null");
        return 0L;
    }

    wglsdo = (WGLSDOps *)oglsdo->privOps;
    if (wglsdo == NULL) {
        J2dRlsTraceLn(J2D_TRACE_ERROR,
                      "OGLSD_GetNativeConfigInfo: wgl ops are null");
        return 0L;
    }

    return ptr_to_jlong(wglsdo->configInfo);
}
/**
 * Returns a pointer (as a jlong) to the native WGLGraphicsConfigInfo
 * associated with the given OGLSDOps.  This method can be called from
 * shared code to retrieve the native GraphicsConfig data in a platform-
 * independent manner.
 */
Returns a pointer (as a jlong) to the native WGLGraphicsConfigInfo
associated with the given OGLSDOps.  This method can be called from
shared code to retrieve the native GraphicsConfig data in a platform
independent manner.
Returns a pointer ( as a jlong ) to the native WGLGraphicsConfigInfo associated with the given OGLSDOps . This method can be called from shared code to retrieve the native GraphicsConfig data in a platform independent manner .
jlong
OGLSD_GetNativeConfigInfo(OGLSDOps *oglsdo)
{
    WGLSDOps *wglsdo;
    if (oglsdo == NULL) {
        J2dRlsTraceLn(J2D_TRACE_ERROR,
                      "OGLSD_GetNativeConfigInfo: ops are null");
        return 0L;
    }
    wglsdo = (WGLSDOps *)oglsdo->privOps;
    if (wglsdo == NULL) {
        J2dRlsTraceLn(J2D_TRACE_ERROR,
                      "OGLSD_GetNativeConfigInfo: wgl ops are null");
        return 0L;
    }
    return ptr_to_jlong(wglsdo->configInfo);
}
jlong OGLSD_GetNativeConfigInfo ( OGLSDOps * oglsdo ) { WGLSDOps * wglsdo ; if ( oglsdo == NULL ) { J2dRlsTraceLn ( J2D_TRACE_ERROR , " " ) ; return 0L ; } wglsdo = ( WGLSDOps * ) oglsdo -> privOps ; if ( wglsdo == NULL ) { J2dRlsTraceLn ( J2D_TRACE_ERROR , " " ) ; return 0L ; } return ptr_to_jlong ( wglsdo -> configInfo ) ; }
Returns a pointer (as a jlong) to the native WGLGraphicsConfigInfo
 associated with the given OGLSDOps.
Returns a pointer ( as a jlong ) to the native WGLGraphicsConfigInfo associated with the given OGLSDOps .