Searched refs:window_w (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/components/SDL2/test/ |
A D | testoverlay2.c | 145 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 D | testnative.c | 130 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 D | testspriteminimal.c | 98 int window_w = WINDOW_WIDTH; in MoveSprites() local 111 if ((position->x < 0) || (position->x >= (window_w - sprite_w))) { in MoveSprites()
|
A D | testgles.c | 273 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 D | testgles2.c | 444 state->window_w = event.window.data1; in loop() 466 Render(state->window_w, state->window_h, &datas[i]); in loop()
|
A D | testgesture.c | 277 state->window_w = WIDTH; in main()
|
A D | testsprite2.c | 387 positions[i].x = SDLTest_RandomIntegerInRange(0, state->window_w - sprite_w); in main()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_test_common.h | 66 int window_w; member
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_common.c | 85 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 D | SDL_render.c | 869 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