/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 46 jfieldID producer; member 69 const sp<IGraphicBufferProducer>& producer) in SurfaceTexture_setProducer() argument 72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer() 73 if (producer.get()) { in SurfaceTexture_setProducer() 74 producer->incStrong((void*)SurfaceTexture_setProducer); in SurfaceTexture_setProducer() 79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer() 102 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer() 107 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, thiz)); in android_SurfaceTexture_getNativeWindow() local 108 sp<Surface> surfaceTextureClient(surfaceTexture != NULL ? new Surface(producer) : NULL); in android_SurfaceTexture_getNativeWindow() 210 fields.producer = env->GetFieldID(clazz, in SurfaceTexture_classInit() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 92 sp<IGraphicBufferProducer> producer; in TEST_F() local 94 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 98 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F() 127 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F() 142 sp<IGraphicBufferProducer> producer; in TEST_F() local 144 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 147 sp<Surface> s = new Surface(producer); in TEST_F()
|
D | SurfaceTextureGL.h | 40 sp<IGraphicBufferProducer> producer; in SetUp() local 41 BufferQueue::createBufferQueue(&producer, &mConsumer); in SetUp() 44 mSTC = new Surface(producer); in SetUp()
|
D | MultiTextureConsumer_test.cpp | 37 sp<IGraphicBufferProducer> producer; in SetUp() local 39 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 42 mSurface = new Surface(producer); in SetUp()
|
D | SRGB_test.cpp | 71 sp<IGraphicBufferProducer> producer; in SetUp() local 73 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 79 mInputSurface = new Surface(producer); in SetUp()
|
D | BufferQueue_test.cpp | 86 sp<IGraphicBufferProducer> producer; in TEST_F() local 88 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 90 serviceManager->addService(PRODUCER_NAME, producer->asBinder()); in TEST_F()
|
D | SurfaceTextureClient_test.cpp | 46 sp<IGraphicBufferProducer> producer; in SetUp() local 48 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 51 mSTC = new Surface(producer); in SetUp() 717 sp<IGraphicBufferProducer> producer; in SetUp() local 719 BufferQueue::createBufferQueue(&producer, &consumer); in SetUp() 722 sp<Surface> stc(new Surface(producer)); in SetUp()
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 68 sp<IGraphicBufferProducer> producer(new BufferQueueProducer(core)); in createBufferQueue() local 69 LOG_ALWAYS_FATAL_IF(producer == NULL, in createBufferQueue() 76 *outProducer = producer; in createBufferQueue()
|
D | ISurfaceComposer.cpp | 107 const sp<IGraphicBufferProducer>& producer, in captureScreen() argument 116 data.writeStrongBinder(producer->asBinder()); in captureScreen() 352 sp<IGraphicBufferProducer> producer = in onTransact() local 363 status_t res = captureScreen(display, producer, in onTransact()
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 23 MonitoredProducer::MonitoredProducer(const sp<IGraphicBufferProducer>& producer, in MonitoredProducer() argument 25 mProducer(producer), in MonitoredProducer() 36 const wp<IBinder>& producer) in ~MonitoredProducer() argument 37 : mFlinger(flinger), mProducer(producer) {} in ~MonitoredProducer()
|
D | SurfaceFlinger.cpp | 422 sp<IGraphicBufferProducer> producer; in init() local 424 BufferQueue::createBufferQueue(&producer, &consumer, in init() 432 fbs, producer, in init() 1332 sp<IGraphicBufferProducer> producer; in handleTransactionLocked() local 1366 producer = vds; in handleTransactionLocked() 1378 producer = bqProducer; in handleTransactionLocked() 1386 display, dispSurface, producer, in handleTransactionLocked() 3001 const sp<IGraphicBufferProducer>& producer, in captureScreen() argument 3009 if (CC_UNLIKELY(producer == 0)) in captureScreen() 3015 if (!producer->asBinder()->localBinder()) { in captureScreen() [all …]
|
D | MonitoredProducer.h | 32 MonitoredProducer(const sp<IGraphicBufferProducer>& producer,
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | eglCreateWindowSurface.cpp | 93 android::sp<android::IGraphicBufferProducer> producer; in android_eglCreateWindowSurfaceTexture() local 114 producer = android::SurfaceTexture_getProducer(_env, win); in android_eglCreateWindowSurfaceTexture() 116 if (producer == NULL) in android_eglCreateWindowSurfaceTexture() 119 window = new android::Surface(producer, true); in android_eglCreateWindowSurfaceTexture()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 110 sp<IGraphicBufferProducer> producer; in TEST_F() local 112 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 114 sp<Surface> mSTC = new Surface(producer); in TEST_F()
|
/frameworks/av/cmds/screenrecord/ |
D | FrameOutput.cpp | 70 sp<IGraphicBufferProducer> producer; in createInputSurface() local 72 BufferQueue::createBufferQueue(&producer, &consumer); in createInputSurface() 84 *pBufferProducer = producer; in createInputSurface()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3InputStream.cpp | 206 sp<IGraphicBufferProducer> producer; in configureQueueLocked() local 208 BufferQueue::createBufferQueue(&producer, &consumer); in configureQueueLocked() 211 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked()
|
D | Camera3ZslStream.cpp | 120 sp<IGraphicBufferProducer> producer; in Camera3ZslStream() local 122 BufferQueue::createBufferQueue(&producer, &consumer); in Camera3ZslStream() 124 mConsumer = new Surface(producer); in Camera3ZslStream()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 165 sp<IGraphicBufferProducer> producer; in InitWithNewContext() local 167 BufferQueue::createBufferQueue(&producer, &consumer); in InitWithNewContext() 170 window_ = new Surface(producer); in InitWithNewContext()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.cpp | 85 sp<IGraphicBufferProducer> producer; in updateStream() local 87 BufferQueue::createBufferQueue(&producer, &consumer); in updateStream() 91 mCaptureWindow = new Surface(producer); in updateStream()
|
D | CallbackProcessor.cpp | 113 sp<IGraphicBufferProducer> producer; in updateStream() local 115 BufferQueue::createBufferQueue(&producer, &consumer); in updateStream() 119 mCallbackWindow = new Surface(producer); in updateStream()
|
/frameworks/av/camera/ |
D | ProCamera.cpp | 252 sp<IGraphicBufferProducer> producer; in createStreamCpu() local 254 BufferQueue::createBufferQueue(&producer, &consumer); in createStreamCpu() 259 sp<Surface> stc = new Surface(producer); in createStreamCpu()
|
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 117 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, surface)); in android_view_TextureView_createNativeWindow() local 118 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow()
|
D | android_view_Surface.cpp | 142 sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, surfaceTextureObj)); in nativeCreateFromSurfaceTexture() local 143 if (producer == NULL) { in nativeCreateFromSurfaceTexture() 149 sp<Surface> surface(new Surface(producer, true)); in nativeCreateFromSurfaceTexture()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 204 sp<IGraphicBufferProducer> producer; in createNamedSurfaceTexture() local 206 BufferQueue::createBufferQueue(&producer, &consumer, mGraphicBufferAlloc); in createNamedSurfaceTexture() 213 sp<ANativeWindow> anw = new Surface(producer); in createNamedSurfaceTexture()
|
/frameworks/native/include/gui/ |
D | ISurfaceComposer.h | 144 const sp<IGraphicBufferProducer>& producer,
|