Lines Matching refs:nw
572 ANativeWindow *nw = drv->wndSurface;
573 if (nw) {
578 ANativeWindow_cancelBuffer(nw, drv->wndBuffer, fenceID);
579 ANativeWindow_release(nw);
704 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
708 int r = ANativeWindow_dequeueBuffer(nw, &drv->wndBuffer, &fenceID);
731 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
756 if (nw) {
757 int32_t r = ANativeWindow_setBuffersGeometry(nw, alloc->mHal.drvState.lod[0].dimX,
765 IoGetBuffer(rsc, alloc, nw);
766 drv->wndSurface = nw;
776 ANativeWindow *nw = drv->wndSurface;
784 if (nw) {
794 r = ANativeWindow_queueBuffer(nw, drv->wndBuffer, fenceID);
800 IoGetBuffer(rsc, alloc, nw);