Lines Matching refs:nativeWindow
264 ANativeWindow* nativeWindow; member
366 nativeWindow(window), buffer(0), previousBuffer(0), bits(NULL) in egl_window_surface_v2_t()
372 nativeWindow->common.incRef(&nativeWindow->common); in egl_window_surface_v2_t()
373 nativeWindow->query(nativeWindow, NATIVE_WINDOW_WIDTH, &width); in egl_window_surface_v2_t()
374 nativeWindow->query(nativeWindow, NATIVE_WINDOW_HEIGHT, &height); in egl_window_surface_v2_t()
384 nativeWindow->common.decRef(&nativeWindow->common); in ~egl_window_surface_v2_t()
390 native_window_set_usage(nativeWindow, in connect()
395 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, in connect()
403 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in connect()
447 nativeWindow->cancelBuffer(nativeWindow, buffer, -1); in disconnect()
545 nativeWindow->queueBuffer(nativeWindow, buffer, -1); in swapBuffers()
550 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, &fenceFd) == NO_ERROR) { in swapBuffers()
553 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); in swapBuffers()
636 return (nativeWindow->xdpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getHorizontalResolution()
639 return (nativeWindow->ydpi * EGL_DISPLAY_SCALING) * (1.0f / 25.4f); in getVerticalResolution()