Lines Matching refs:anw
448 void configureANW(const sp<ANativeWindow>& anw,
452 err = native_window_api_connect(anw.get(), NATIVE_WINDOW_API_CPU);
455 err = native_window_set_buffers_dimensions(anw.get(),
459 err = native_window_set_buffers_format(anw.get(), params.format);
462 err = native_window_set_usage(anw.get(),
467 err = anw.get()->query(anw.get(),
474 err = native_window_set_buffer_count(anw.get(),
482 void produceOneFrame(const sp<ANativeWindow>& anw,
487 ALOGVV("Dequeue buffer from %p", anw.get());
488 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
498 ALOGVV("Lock buffer from %p for write", anw.get());
525 ALOGVV("Unlock buffer from %p", anw.get());
529 ALOGVV("Set timestamp to %p", anw.get());
530 err = native_window_set_buffers_timestamp(anw.get(), timestamp);
533 ALOGVV("Queue buffer to %p", anw.get());
534 err = anw->queueBuffer(anw.get(), buf->getNativeBuffer(), -1);