Lines Matching refs:drv
16 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
18 if(drv->wndBuffer == NULL) {
19 drv->wndBuffer = new ANativeWindow_Buffer;
21 int32_t r = ANativeWindow_lock(nw, drv->wndBuffer, NULL);
27 void *dst = drv->wndBuffer->bits;
29 alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes;
36 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
39 if (drv->wndSurface) {
40 ANativeWindow *old = drv->wndSurface;
42 drv->wndSurface = NULL;
58 drv->wndSurface = nw;
72 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
75 if (!(drv->useUserProvidedPtr) &&
85 ANativeWindow *nw = drv->wndSurface;
89 drv->wndSurface = NULL;
97 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv;
98 ANativeWindow *nw = drv->wndSurface;