1# SDL based emulated display configuration options 2 3# Copyright (c) 2018 Jan Van Winkel <jan.van_winkel@dxplore.eu> 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig SDL_DISPLAY 7 bool "SDL based emulated display" 8 depends on BOARD_NATIVE_POSIX 9 select HAS_SDL 10 help 11 Enable SDL based emulated display compliant with display driver API. 12 13if SDL_DISPLAY 14 15config SDL_DISPLAY_DEV_NAME 16 string "SDL display device name" 17 default "SDL_DISPLAY" 18 19config SDL_DISPLAY_X_RES 20 int "X resolution for SDL display" 21 default 320 22 23config SDL_DISPLAY_Y_RES 24 int "Y resolution for SDL display" 25 default 240 26 27choice SDL_DISPLAY_DEFAULT_PIXEL_FORMAT 28 prompt "Default pixel format" 29 default SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888 30 help 31 Default pixel format to be used by the display 32 33 config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888 34 bool "ARGB 8888" 35 36 config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_RGB_888 37 bool "RGB 888" 38 39 config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01 40 bool "Mono Black=0" 41 42 config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10 43 bool "Mono Black=1" 44 45 config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_RGB_565 46 bool "RGB 565" 47 48 config SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_BGR_565 49 bool "BGR 565" 50 51endchoice 52 53endif # SDL_DISPLAY 54