Searched refs:GLConsumer (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/native/libs/gui/tests/
H A DTextureRenderer.h26 class GLConsumer;
30 TextureRenderer(GLuint texName, const sp<GLConsumer>& st);
37 sp<GLConsumer> mST;
H A DFrameWaiter.h20 #include <gui/GLConsumer.h>
24 class FrameWaiter : public GLConsumer::FrameAvailableListener {
H A DSurfaceTextureGL.h25 #include <gui/GLConsumer.h>
31 class GLConsumer;
42 mST = new GLConsumer(mConsumer, TEX_ID, GLConsumer::TEXTURE_EXTERNAL,
65 sp<GLConsumer> mST;
H A DMultiTextureConsumer_test.cpp22 #include <gui/GLConsumer.h>
40 mGlConsumer = new GLConsumer(consumer, TEX_ID,
41 GLConsumer::TEXTURE_EXTERNAL, true, false);
63 sp<GLConsumer> mGlConsumer;
H A DTextureRenderer.cpp21 #include <gui/GLConsumer.h>
31 const sp<GLConsumer>& st) : mTexName(texName), mST(st) {
70 // drawTexture draws the GLConsumer over the entire GL viewport.
H A DSurfaceTextureGLThreadToGL.h28 * GLConsumer. Additionally it supports interlocking the producer and
95 // the FrameCondition as the FrameAvailableListener of the GLConsumer,
100 // synchronously from GLConsumer::queueBuffer.
101 class FrameCondition : public GLConsumer::FrameAvailableListener {
132 // This should be called by GLConsumer on the producer thread.
H A DSurfaceTextureClient_test.cpp24 #include <gui/GLConsumer.h>
49 mST = new GLConsumer(consumer, 123, GLConsumer::TEXTURE_EXTERNAL, true,
113 sp<GLConsumer> mST;
290 sp<GLConsumer> st(mST);
499 sp<GLConsumer> mST;
515 MyThread(const sp<GLConsumer>& mST)
720 sp<GLConsumer> st(new GLConsumer(consumer, i,
721 GLConsumer
[all...]
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.h21 #include <gui/GLConsumer.h>
27 * This is a thin wrapper around GLConsumer.
29 class SurfaceFlingerConsumer : public GLConsumer {
37 : GLConsumer(consumer, tex, GLConsumer::TEXTURE_EXTERNAL, false, false),
53 // reject the newly acquired buffer. Unlike the GLConsumer version,
58 // See GLConsumer::bindTextureImageLocked().
78 // it is displayed onto. This is applied after GLConsumer::mCurrentTransform.
H A DSurfaceFlingerConsumer.cpp40 ALOGE("updateTexImage: GLConsumer is abandoned!");
106 status_t result = GLConsumer::acquireBufferLocked(item, presentWhen);
/frameworks/base/include/android_runtime/
H A Dandroid_graphics_SurfaceTexture.h26 class GLConsumer;
32 /* Gets the underlying GLConsumer from a SurfaceTexture Java object. */
33 extern sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz);
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.h24 #include <gui/GLConsumer.h>
31 class FrameOutput : public GLConsumer::FrameAvailableListener {
64 // (overrides GLConsumer::FrameAvailableListener method)
82 sp<GLConsumer> mGlConsumer;
90 // External texture, updated by GLConsumer.
H A DOverlay.h25 #include <gui/GLConsumer.h>
38 class Overlay : public GLConsumer::FrameAvailableListener, Thread {
80 // (overrides GLConsumer::FrameAvailableListener method)
126 // The consumer end feeds into our GLConsumer.
131 sp<GLConsumer> mGlConsumer;
143 // External texture, updated by GLConsumer.
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp24 #include <gui/GLConsumer.h>
55 const sp<GLConsumer>& surfaceTexture)
57 GLConsumer* const p =
58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture);
83 jobject thiz, sp<GLConsumer::FrameAvailableListener> listener)
85 GLConsumer::FrameAvailableListener* const p =
86 (GLConsumer::FrameAvailableListener*)
97 sp<GLConsumer> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) {
98 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture);
106 sp<GLConsumer> surfaceTextur
[all...]
/frameworks/native/cmds/flatland/
H A DGLHelper.h18 #include <gui/GLConsumer.h>
55 sp<GLConsumer>* surfaceTexture, EGLSurface* surface,
72 sp<GLConsumer>* surfaceTexture, EGLSurface* surface);
83 sp<GLConsumer> mDummyGLConsumer;
H A DFlatland.h22 #include <gui/GLConsumer.h>
52 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) = 0;
H A DComposers.cpp125 virtual bool compose(GLuint /*texName*/, const sp<GLConsumer>& /*glc*/) {
149 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) {
173 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) {
205 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) {
244 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) {
H A DGLHelper.cpp153 sp<GLConsumer>* glConsumer, EGLSurface* surface,
203 sp<GLConsumer>* glConsumer, EGLSurface* surface) {
207 sp<GLConsumer> glc = new GLConsumer(consumer, name,
H A DMain.cpp22 #include <gui/GLConsumer.h>
350 fprintf(stderr, "GLConsumer::updateTexImage error: %d\n", err);
369 sp<GLConsumer> mGLConsumer;
552 fprintf(stderr, "GLConsumer::updateTexImage error: %d\n", err);
576 sp<GLConsumer> mGLConsumer;
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.h20 #include <gui/GLConsumer.h>
59 ANDROID_API void setSurfaceTexture(const sp<GLConsumer>& texture, bool needsAttach) {
94 sp<GLConsumer> mSurfaceTexture;
/frameworks/native/libs/gui/
H A DGLConsumer.cpp17 #define LOG_TAG "GLConsumer"
32 #include <gui/GLConsumer.h>
49 // Macros for including the GLConsumer name in log messages
92 Mutex GLConsumer::sStaticInitLock;
93 sp<GraphicBuffer> GLConsumer::sReleasedTexImageBuffer;
119 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex,
138 ST_LOGV("GLConsumer");
146 GLConsumer::GLConsumer(cons function in class:android::GLConsumer
[all...]
H A DAndroid.mk18 GLConsumer.cpp \
/frameworks/native/include/gui/
H A DGLConsumer.h40 * GLConsumer consumes buffers of graphics data from a BufferQueue,
43 * A typical usage pattern is to set up the GLConsumer with the
54 class GLConsumer : public ConsumerBase { class in namespace:android
59 // GLConsumer constructs a new GLConsumer object. If the constructor with
67 // A GLConsumer may be detached from one OpenGL ES context and then
70 // purely to allow a GLConsumer to be transferred from one consumer
74 // If the constructor with the tex parameter is used, the GLConsumer is
82 // If the constructor without the tex parameter is used, the GLConsumer is
85 GLConsumer(cons
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_HardwareLayer.cpp26 #include <gui/GLConsumer.h>
74 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.h35 class GLConsumer;
242 // Dummy GLConsumer for context
243 sp<GLConsumer> surfaceTexture_;
H A Dgl_env.cpp29 #include <gui/GLConsumer.h>
164 // Create dummy surface using a GLConsumer
168 surfaceTexture_ = new GLConsumer(consumer, 0, GLConsumer::TEXTURE_EXTERNAL,

Completed in 368 milliseconds

12