Lines Matching defs:surfaceTexture

45     jfieldID  surfaceTexture;
55 const sp<GLConsumer>& surfaceTexture)
58 (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
59 if (surfaceTexture.get()) {
60 surfaceTexture->incStrong((void*)SurfaceTexture_setSurfaceTexture);
65 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get());
98 return (GLConsumer*)env->GetIntField(thiz, fields.surfaceTexture);
106 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
108 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL);
203 fields.surfaceTexture = env->GetFieldID(clazz,
205 if (fields.surfaceTexture == NULL) {
239 sp<GLConsumer> surfaceTexture(new GLConsumer(bq, texName, GL_TEXTURE_EXTERNAL_OES, true, true));
240 if (surfaceTexture == 0) {
245 SurfaceTexture_setSurfaceTexture(env, thiz, surfaceTexture);
257 surfaceTexture->setFrameAvailableListener(ctx);
263 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
264 surfaceTexture->setFrameAvailableListener(0);
272 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
273 surfaceTexture->setDefaultBufferSize(width, height);
278 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
279 status_t err = surfaceTexture->updateTexImage();
290 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
291 status_t err = surfaceTexture->releaseTexImage();
302 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
303 return surfaceTexture->detachFromContext();
308 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
309 return surfaceTexture->attachToContext((GLuint)tex);
315 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
317 surfaceTexture->getTransformMatrix(mtx);
323 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
324 return surfaceTexture->getTimestamp();
329 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
330 surfaceTexture->abandon();