Lines Matching refs:sur
240 nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject sur)
242 LOG_API("nContextSetSurfaceTexture, con(%p), width(%i), height(%i), surface(%p)", con, width, height, (Surface *)sur);
246 if (sur == 0) {
249 st = SurfaceTexture_getSurfaceTexture(_env, sur);
490 nAllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc, jobject sur)
493 con, alloc, (Surface *)sur);
496 if (sur != 0) {
497 s = Surface_getSurface(_env, sur);