Lines Matching refs:env

42 static void flush(JNIEnv *env, QuartzSDOps *qsdo);
44 static void PrintSD_startCGContext(JNIEnv *env, QuartzSDOps *qsdo, SDRenderType renderType)
50 flush(env, qsdo);
52 SetUpCGContext(env, qsdo, renderType);
56 static void PrintSD_finishCGContext(JNIEnv *env, QuartzSDOps *qsdo)
62 CompleteCGContext(env, qsdo);
66 static void PrintSD_dispose(JNIEnv *env, SurfaceDataOps *sdo)
71 (*env)->DeleteGlobalRef(env, qsdo->javaGraphicsStatesObjects);
83 JNIEXPORT void JNICALL Java_sun_lwawt_macosx_CPrinterSurfaceData_initOps(JNIEnv *env, jobject jthis, jlong nsRef, jobject jGraphicsState, jobjectArray jGraphicsStateObject, jint width, jint height)
85 JNF_COCOA_ENTER(env);
89 PrintSDOps *psdo = (PrintSDOps*)SurfaceData_InitOps(env, jthis, sizeof(PrintSDOps));
99 qsdo->javaGraphicsStates = (jint*)((*env)->GetDirectBufferAddress(env, jGraphicsState));
100 qsdo->javaGraphicsStatesObjects = (*env)->NewGlobalRef(env, jGraphicsStateObject);
113 JNF_COCOA_EXIT(env);
116 static jint PrintSD_Lock(JNIEnv *env, SurfaceDataOps *sdo, SurfaceDataRasInfo *pRasInfo, jint lockflags)
122 //PrintSD_startCGContext(env, qsdo, SD_Image);
128 static void PrintSD_Unlock(JNIEnv *env, SurfaceDataOps *sdo, SurfaceDataRasInfo *pRasInfo)
133 //PrintSD_finishCGContext(env, qsdo);
135 static void PrintSD_GetRasInfo(JNIEnv *env, SurfaceDataOps *sdo, SurfaceDataRasInfo *pRasInfo)
145 static void PrintSD_ReleaseRasInfo(JNIEnv *env, SurfaceDataOps *sdo, SurfaceDataRasInfo *pRasInfo)
161 (JNIEnv *env, jobject jsurfacedata)
163 flush(env, (QuartzSDOps*)SurfaceData_GetOps(env, jsurfacedata));
165 static void flush(JNIEnv *env, QuartzSDOps *qsdo)