Home
last modified time | relevance | path

Searched refs:wndBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/rs/support/jni/
Dandroid_rscompat_usage_io_driver.cpp18 if(drv->wndBuffer == NULL) { in IoGetBuffer()
19 drv->wndBuffer = new ANativeWindow_Buffer; in IoGetBuffer()
21 int32_t r = ANativeWindow_lock(nw, drv->wndBuffer, NULL); in IoGetBuffer()
27 void *dst = drv->wndBuffer->bits; in IoGetBuffer()
29 … alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes; in IoGetBuffer()
/frameworks/rs/driver/
DrsdAllocation.cpp578 AHardwareBuffer* ahwb = ANativeWindowBuffer_getHardwareBuffer(drv->wndBuffer); in rsdAllocationDestroy()
581 ANativeWindow_cancelBuffer(nw, drv->wndBuffer, fenceID); in rsdAllocationDestroy()
584 drv->wndBuffer = nullptr; in rsdAllocationDestroy()
711 int r = ANativeWindow_dequeueBuffer(nw, &drv->wndBuffer, &fenceID); in IoGetBuffer()
719 AHardwareBuffer* ahwb = ANativeWindowBuffer_getHardwareBuffer(drv->wndBuffer); in IoGetBuffer()
727 … alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes; in IoGetBuffer()
741 AHardwareBuffer* ahwb = ANativeWindowBuffer_getHardwareBuffer(drv->wndBuffer); in rsdAllocationSetSurface()
749 r = ANativeWindow_cancelBuffer(old, drv->wndBuffer, fenceID); in rsdAllocationSetSurface()
756 drv->wndBuffer = nullptr; in rsdAllocationSetSurface()
798 AHardwareBuffer* ahwb = ANativeWindowBuffer_getHardwareBuffer(drv->wndBuffer); in rsdAllocationIoSend()
[all …]
DrsdAllocation.h59 ANativeWindowBuffer *wndBuffer; member
61 ANativeWindow_Buffer *wndBuffer; member