Searched refs:updateTexImage (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGLThreadToGL_test.cpp37 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
57 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
82 ALOGV("+updateTexImage");
83 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
84 ALOGV("-updateTexImage");
112 ALOGV("+updateTexImage");
113 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
114 ALOGV("-updateTexImage");
143 // updateTexImage so the next dequeue from the producer thread will block
148 // We must call updateTexImage t
[all...]
H A DSurfaceTextureMultiContextGL_test.cpp33 ASSERT_EQ(OK, mST->updateTexImage());
39 ASSERT_EQ(INVALID_OPERATION, mST->updateTexImage());
47 ASSERT_EQ(OK, mST->updateTexImage());
62 ASSERT_EQ(OK, mST->updateTexImage());
77 ASSERT_EQ(OK, mST->updateTexImage());
89 ASSERT_EQ(OK, mST->updateTexImage());
103 ASSERT_EQ(OK, mST->updateTexImage());
119 ASSERT_EQ(OK, mST->updateTexImage());
138 ASSERT_EQ(INVALID_OPERATION, mST->updateTexImage());
146 ASSERT_EQ(OK, mST->updateTexImage());
[all...]
H A DSurfaceTextureGLToGL_test.cpp44 mST->updateTexImage(); // consume it
48 mST->updateTexImage();
66 mST->updateTexImage();
69 mST->updateTexImage();
120 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
121 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
175 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
221 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
269 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
306 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
[all...]
H A DSurfaceTextureFBO_test.cpp51 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
75 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
H A DSurfaceTextureGL_test.cpp51 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
97 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
157 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
299 // updateTexImage call that doesn't consume a newly available buffer
305 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
336 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
378 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
410 // to handle a special case where updateTexImage is called
462 EXPECT_EQ(OK,mST->updateTexImage());
467 EXPECT_EQ(OK,mST->updateTexImage());
[all...]
H A DSurfaceTextureClient_test.cpp54 // We need a valid GL context so we can test updateTexImage()
352 EXPECT_EQ(OK, mST->updateTexImage());
353 EXPECT_EQ(OK, mST->updateTexImage());
363 EXPECT_EQ(OK, mST->updateTexImage());
364 EXPECT_EQ(OK, mST->updateTexImage());
365 EXPECT_EQ(OK, mST->updateTexImage());
380 EXPECT_EQ(OK, mST->updateTexImage());
382 EXPECT_EQ(OK, mST->updateTexImage());
384 EXPECT_EQ(OK, mST->updateTexImage());
398 EXPECT_EQ(OK, mST->updateTexImage());
[all...]
H A DMultiTextureConsumer_test.cpp112 mGlConsumer->updateTexImage();
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.h52 // This version of updateTexImage() takes a functor that may be used to
56 status_t updateTexImage(BufferRejecter* rejecter, const DispSync& dispSync);
H A DSurfaceFlingerConsumer.cpp32 status_t SurfaceFlingerConsumer::updateTexImage(BufferRejecter* rejecter, function in class:android::SurfaceFlingerConsumer
36 ALOGV("updateTexImage");
40 ALOGE("updateTexImage: GLConsumer is abandoned!");
62 ALOGE("updateTexImage: acquire failed: %s (%d)",
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp80 if (mSurfaceTexture->updateTexImage() == NO_ERROR) {
89 while (mSurfaceTexture->updateTexImage() == NO_ERROR) {
H A DDeferredLayerUpdater.h66 ANDROID_API void updateTexImage() { function in class:android::uirenderer::DeferredLayerUpdater
/frameworks/base/core/jni/
H A Dandroid_view_HardwareLayer.cpp81 layer->updateTexImage();
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java34 * When {@link #updateTexImage} is called, the contents of the texture object specified
45 * time {@link #updateTexImage} is called, so it should be re-queried each time the texture image
64 * <p>SurfaceTexture objects may be created on any thread. {@link #updateTexImage} may only be
67 * #updateTexImage} should not be called directly from the callback.
168 * safe to call {@link #updateTexImage} without first binding the OpenGL ES context to the
184 * so it is not safe to call {@link #updateTexImage} without first binding the OpenGL ES
228 * updateTexImage() is called.
239 public void updateTexImage() { method in class:SurfaceTexture
256 * calls to {@link #updateTexImage} will throw an {@link java.lang.IllegalStateException} until
292 * the most recent call to updateTexImage
[all...]
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.cpp117 mGlConsumer->updateTexImage();
H A DOverlay.cpp202 mGlConsumer->updateTexImage();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureSource.java205 mSurfaceTexture.updateTexImage();
H A DCameraSource.java184 mSurfaceTexture.updateTexImage();
H A DMediaSource.java287 mSurfaceTexture.updateTexImage();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DGpuVideoTrackDecoder.java136 mSurfaceTexture.updateTexImage();
/frameworks/native/include/gui/
H A DGLConsumer.h44 * desired options, and call updateTexImage() when a new frame is desired.
50 * updateTexImage().
63 // updateTexImage. useFenceSync specifies whether fences should be used to
79 // updateTexImage. After that point, all calls to updateTexImage must be
84 // calls to updateTexImage.
92 // updateTexImage acquires the most recently queued buffer, and sets the
99 status_t updateTexImage();
101 // releaseTexImage releases the texture acquired in updateTexImage().
110 // when the current buffer is released by updateTexImage()
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp348 err = mGLConsumer->updateTexImage();
350 fprintf(stderr, "GLConsumer::updateTexImage error: %d\n", err);
550 err = mGLConsumer->updateTexImage();
552 fprintf(stderr, "GLConsumer::updateTexImage error: %d\n", err);
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp290 status_t err = surfaceTexture->updateTexImage();
295 jniThrowRuntimeException(env, "Error during updateTexImage (see logcat for details)");
307 jniThrowRuntimeException(env, "Error during updateTexImage (see logcat for details)");
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DBlockingGLTextureView.java365 mSurface.updateTexImage();
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java98 mSurface.updateTexImage();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java250 mPreviewSurfaceTexture.updateTexImage();
301 mPreviewSurfaceTexture.updateTexImage();
345 surfTex.updateTexImage();

Completed in 484 milliseconds

12