/frameworks/native/opengl/tests/gralloc/ |
D | gralloc.cpp | 50 GRALLOC_USAGE_SW_READ_OFTEN | in main() 61 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in main()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureGL_test.cpp | 38 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F() 88 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F() 138 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F() 350 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F() 396 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F()
|
D | SurfaceTextureFBO_test.cpp | 37 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F()
|
D | BufferQueue_test.cpp | 191 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F() 199 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F() 242 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F() 278 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F() 288 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, in TEST_F()
|
/frameworks/native/libs/renderengine/tests/ |
D | RenderEngineTest.cpp | 49 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN | in allocateDefaultBuffer() 57 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN | in allocateSourceBuffer() 73 mBuffer->lock(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in expectBufferColor() 276 buf->lock(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in fillColor() 628 buf->lock(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in fillRedBufferTextureTransform() 677 buf->lock(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in fillRedBufferWithPremultiplyAlpha() 716 buf->lock(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in fillRedBufferWithoutPremultiplyAlpha()
|
/frameworks/native/libs/vr/libdisplay/ |
D | shared_buffer_helpers.cpp | 71 usage |= GRALLOC_USAGE_SW_READ_OFTEN; in TryMapping()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyCameraDevice.java | 82 private static final int GRALLOC_USAGE_SW_READ_OFTEN = 0x00000003; field in LegacyCameraDevice 642 int allowedFlags = GRALLOC_USAGE_HW_TEXTURE | GRALLOC_USAGE_SW_READ_OFTEN | in isFlexibleConsumer() 652 GRALLOC_USAGE_SW_READ_OFTEN; in isPreviewConsumer() 670 GRALLOC_USAGE_RENDERSCRIPT | GRALLOC_USAGE_SW_READ_OFTEN; in isVideoEncoderConsumer()
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 40 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_SW_READ_OFTEN); in init()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 376 *usageBits = GRALLOC_USAGE_SW_READ_OFTEN; in internalGetParameter() 601 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_NEVER, in extractGraphicBuffer() 606 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_NEVER, in extractGraphicBuffer()
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
D | buffer_hub_defs.h | 20 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN;
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.cpp | 335 buffer->lock(GRALLOC_USAGE_SW_READ_OFTEN, &data_raw); in sampleBuffer() 455 const uint32_t usage = GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_HW_RENDER; in captureSample()
|
/frameworks/native/libs/gui/ |
D | CpuConsumer.cpp | 43 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_SW_READ_OFTEN); in CpuConsumer()
|
D | Surface.cpp | 1755 err = src->lock(GRALLOC_USAGE_SW_READ_OFTEN, reg.bounds(), in copyBlt() 1818 setUsage(GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in lock() 1879 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in lock()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBuffer.h | 63 USAGE_SW_READ_OFTEN = GRALLOC_USAGE_SW_READ_OFTEN,
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBuffer.h | 63 USAGE_SW_READ_OFTEN = GRALLOC_USAGE_SW_READ_OFTEN,
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 816 (*compositeOutput)[0].consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; in getCompositeStreamInfo() 823 (*compositeOutput)[1].consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; in getCompositeStreamInfo()
|
D | HeicCompositeStream.cpp | 320 (*compositeOutput)[0].consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; in getCompositeStreamInfo() 329 useGrid ? GRALLOC_USAGE_SW_READ_OFTEN : GRALLOC_USAGE_HW_VIDEO_ENCODER; in getCompositeStreamInfo()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3SharedOutputStream.cpp | 386 bool imgReaderUsage = (infoIt.consumerUsage & GRALLOC_USAGE_SW_READ_OFTEN) ? true : false; in updateStream()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 391 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN); in connect() 430 if (lock(buffer, GRALLOC_USAGE_SW_READ_OFTEN | in connect() 528 GRALLOC_USAGE_SW_READ_OFTEN, &prevBits) == NO_ERROR) { in swapBuffers() 587 if (lock(buffer, GRALLOC_USAGE_SW_READ_OFTEN | in swapBuffers()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 260 (uint64_t)GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in play()
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
D | buffer_transport_benchmark.cpp | 39 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN;
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 150 GRALLOC_USAGE_SW_READ_OFTEN : in init()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 688 GRALLOC_USAGE_SW_READ_OFTEN, buffer->mFence->dup(), image); in Image_getLockedImage()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 569 uint32_t usage = GRALLOC_USAGE_SW_READ_OFTEN; in initBufferQueue()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 58 return (((expected & C2MemoryUsage::CPU_READ) ? GRALLOC_USAGE_SW_READ_OFTEN : 0) | in asGrallocUsage()
|