Home
last modified time | relevance | path

Searched refs:window_w (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestoverlay2.c145 int window_w; variable
189 displayrect.w = window_w = event.window.data1; in loop()
194 displayrect.x = event.button.x - window_w / 2; in loop()
199 displayrect.x = event.motion.x - window_w / 2; in loop()
331 window_w = MOOSEPIC_W * scale; in main()
336 window_w, window_h, in main()
390 displayrect.w = window_w; in main()
A Dtestnative.c130 int window_w, window_h; in main() local
186 SDL_GetWindowSize(window, &window_w, &window_h); in main()
196 positions[i].x = rand() % (window_w - sprite_w); in main()
A Dtestspriteminimal.c98 int window_w = WINDOW_WIDTH; in MoveSprites() local
111 if ((position->x < 0) || (position->x >= (window_w - sprite_w))) { in MoveSprites()
A Dtestgles.c273 aspectAdjust = (4.0f / 3.0f) / ((float)state->window_w / state->window_h); in main()
274 glViewport(0, 0, state->window_w, state->window_h); in main()
A Dtestgles2.c444 state->window_w = event.window.data1; in loop()
466 Render(state->window_w, state->window_h, &datas[i]); in loop()
A Dtestgesture.c277 state->window_w = WIDTH; in main()
A Dtestsprite2.c387 positions[i].x = SDLTest_RandomIntegerInRange(0, state->window_w - sprite_w); in main()
/AliOS-Things-master/components/SDL2/include/
A DSDL_test_common.h66 int window_w; member
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c85 state->window_w = DEFAULT_WINDOW_WIDTH; in SDLTest_CommonCreateState()
290 state->window_w = -1; in SDLTest_CommonArg()
309 state->window_w = SDL_atoi(w); in SDLTest_CommonArg()
1034 r.w = state->window_w; in SDLTest_CommonInit()
1063 (w != state->window_w || h != state->window_h)) { in SDLTest_CommonInit()
1064 … printf("Window requested size %dx%d, got %dx%d\n", state->window_w, state->window_h, w, h); in SDLTest_CommonInit()
1065 state->window_w = w; in SDLTest_CommonInit()
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_render.c869 int window_w, window_h; in SDL_CreateRenderer() local
872 SDL_GetWindowSize(renderer->window, &window_w, &window_h); in SDL_CreateRenderer()
873 renderer->dpi_scale.x = (float)window_w / output_w; in SDL_CreateRenderer()

Completed in 19 milliseconds