Home | History | Annotate | Download | only in driver

Lines Matching defs:nw

399 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
402 int32_t r = nw->dequeueBuffer(nw, &drv->wndBuffer);
409 r = nw->lockBuffer(nw, drv->wndBuffer);
429 void rsdAllocationSetSurfaceTexture(const Context *rsc, Allocation *alloc, ANativeWindow *nw) {
432 //ALOGE("rsdAllocationSetSurfaceTexture %p %p", alloc, nw);
436 drv->wnd = nw;
449 if (nw != NULL) {
459 r = native_window_set_usage(nw, flags);
465 r = native_window_set_buffers_dimensions(nw, alloc->mHal.state.dimensionX,
472 r = native_window_set_buffer_count(nw, 3);
478 IoGetBuffer(rsc, alloc, nw);
484 ANativeWindow *nw = alloc->mHal.state.wndSurface;
495 int32_t r = nw->queueBuffer(nw, drv->wndBuffer);
501 IoGetBuffer(rsc, alloc, nw);