Lines Matching refs:surfaceTexture

42     jfieldID  surfaceTexture;
51 const sp<GLConsumer>& surfaceTexture)
54 (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
55 if (surfaceTexture.get()) {
56 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture);
61 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get());
82 return (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
88 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
89 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ?
90 new Surface(surfaceTexture->getBufferQueue()) : NULL);
180 fields.surfaceTexture = env->GetFieldID(clazz,
182 if (fields.surfaceTexture == NULL) {
203 sp<GLConsumer> surfaceTexture(new GLConsumer(texName, allowSynchronous));
204 if (surfaceTexture == 0) {
209 SurfaceTexture_setSurfaceTexture(env, thiz, surfaceTexture);
220 surfaceTexture->setFrameAvailableListener(ctx);
226 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
227 surfaceTexture->setFrameAvailableListener(0);
235 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
236 surfaceTexture->setDefaultBufferSize(width, height);
241 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
242 status_t err = surfaceTexture->updateTexImage();
253 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
254 return surfaceTexture->detachFromContext();
259 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
260 return surfaceTexture->attachToContext((GLuint)tex);
266 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
268 surfaceTexture->getTransformMatrix(mtx);
274 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
275 return surfaceTexture->getTimestamp();
280 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
281 surfaceTexture->abandon();