Searched refs:viewport_dim (Results 1 – 2 of 2) sorted by relevance
183 gint viewport_dim[4]; in draw_cb() local193 gl->GetIntegerv (GL_VIEWPORT, viewport_dim); in draw_cb()194 window_egl->viewport.x = viewport_dim[0] + window_egl->render_rectangle.x; in draw_cb()195 window_egl->viewport.y = viewport_dim[1] + window_egl->render_rectangle.y; in draw_cb()196 window_egl->viewport.w = viewport_dim[2]; in draw_cb()197 window_egl->viewport.h = viewport_dim[2]; in draw_cb()
435 gint viewport_dim[4];451 gl->GetIntegerv (GL_VIEWPORT, viewport_dim);460 viewport_dim[0], viewport_dim[1], viewport_dim[2],461 viewport_dim[3]);463 viewport.x = viewport_dim[0] - visibleRect.origin.x;464 viewport.x = viewport_dim[1] - visibleRect.origin.y;465 viewport.w = viewport_dim[2];466 viewport.h = viewport_dim[3];