Home
last modified time | relevance | path

Searched refs:GRALLOC_USAGE_SW_READ_OFTEN (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/opengl/tests/gralloc/
Dgralloc.cpp50 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/
DSurfaceTextureGL_test.cpp38 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()
DSurfaceTextureFBO_test.cpp37 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN)); in TEST_F()
DBufferQueue_test.cpp191 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/
DRenderEngineTest.cpp49 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/
Dshared_buffer_helpers.cpp71 usage |= GRALLOC_USAGE_SW_READ_OFTEN; in TryMapping()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java82 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/
DGraphicBufferListener.cpp40 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_SW_READ_OFTEN); in init()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp376 *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/
Dbuffer_hub_defs.h20 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN;
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp335 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/
DCpuConsumer.cpp43 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_SW_READ_OFTEN); in CpuConsumer()
DSurface.cpp1755 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/
DGraphicBuffer.h63 USAGE_SW_READ_OFTEN = GRALLOC_USAGE_SW_READ_OFTEN,
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h63 USAGE_SW_READ_OFTEN = GRALLOC_USAGE_SW_READ_OFTEN,
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp816 (*compositeOutput)[0].consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; in getCompositeStreamInfo()
823 (*compositeOutput)[1].consumerUsage = GRALLOC_USAGE_SW_READ_OFTEN; in getCompositeStreamInfo()
DHeicCompositeStream.cpp320 (*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/
DCamera3SharedOutputStream.cpp386 bool imgReaderUsage = (infoIt.consumerUsage & GRALLOC_USAGE_SW_READ_OFTEN) ? true : false; in updateStream()
/frameworks/native/opengl/libagl/
Degl.cpp391 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/
Dcodec2.cpp260 (uint64_t)GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN, in play()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp39 GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN;
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp150 GRALLOC_USAGE_SW_READ_OFTEN : in init()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp688 GRALLOC_USAGE_SW_READ_OFTEN, buffer->mFence->dup(), image); in Image_getLockedImage()
/frameworks/av/media/libstagefright/
DCameraSource.cpp569 uint32_t usage = GRALLOC_USAGE_SW_READ_OFTEN; in initBufferQueue()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp58 return (((expected & C2MemoryUsage::CPU_READ) ? GRALLOC_USAGE_SW_READ_OFTEN : 0) | in asGrallocUsage()

12