Home
last modified time | relevance | path

Searched refs:cursor_x (Results 1 – 7 of 7) sorted by relevance

/third_party/glfw/tests/
Dcursor.c47 static double cursor_x; variable
100 x, y, x - cursor_x, y - cursor_y); in cursor_position_callback()
102 cursor_x = x; in cursor_position_callback()
244 glfwGetCursorPos(window, &cursor_x, &cursor_y); in main()
245 printf("Cursor position: %f %f\n", cursor_x, cursor_y); in main()
273 glVertex2f((GLfloat) cursor_x * scale, 0.f); in main()
274 glVertex2f((GLfloat) cursor_x * scale, (GLfloat) fb_height); in main()
/third_party/ffmpeg/libavcodec/
Dtdsc.c68 int cursor_w, cursor_h, cursor_x, cursor_y; member
150 int x = ctx->cursor_x - ctx->cursor_hot_x; in tdsc_paint_cursor()
205 if (ctx->cursor_x >= avctx->width || ctx->cursor_y >= avctx->height) { in tdsc_load_cursor()
208 ctx->cursor_x, ctx->cursor_y, avctx->width, avctx->height); in tdsc_load_cursor()
508 ctx->cursor_x = bytestream2_get_le32(&ctx->gbc); in tdsc_parse_dtsm()
Drasc.c59 unsigned cursor_x; member
588 s->cursor_x = bytestream2_get_le32(gb); in decode_mpos()
604 if (s->cursor_x >= avctx->width || s->cursor_y >= avctx->height) in draw_cursor()
607 if (s->cursor_x + s->cursor_w > avctx->width || in draw_cursor()
625 … dst = s->frame->data[0] + s->frame->linesize[0] * (s->cursor_y + i) + (s->cursor_x + j); in draw_cursor()
651 … dst = s->frame->data[0] + s->frame->linesize[0] * (s->cursor_y + i) + 2 * (s->cursor_x + j); in draw_cursor()
665 … dst = s->frame->data[0] + s->frame->linesize[0] * (s->cursor_y + i) + 4 * (s->cursor_x + j); in draw_cursor()
Dg2meet.c161 int cursor_w, cursor_h, cursor_x, cursor_y; member
1335 x = c->cursor_x - c->cursor_hot_x; in g2m_paint_cursor()
1533 c->cursor_x = bytestream2_get_be16(&bc); in g2m_decode_frame()
/third_party/glfw/examples/
Dboing.c97 GLfloat cursor_x = 0.f; variable
282 set_ball_pos(cursor_x, cursor_y); in mouse_button_callback()
292 cursor_x = (float) x; in cursor_position_callback()
296 set_ball_pos(cursor_x, cursor_y); in cursor_position_callback()
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi35021 …<var-decl name="cursor_x" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_crtc.h…
38775 …<var-decl name="cursor_x" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_crtc.h…
Dtest-PR27569-v1.abi35050 …<var-decl name="cursor_x" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_crtc.h…
38804 …<var-decl name="cursor_x" type-id="95e97e5e" visibility="default" filepath="include/drm/drm_crtc.h…