mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 02:01:50 +08:00
use DRM pixel format to define the pixel format surface
This commit is contained in:
@@ -35,7 +35,14 @@ mtype=IMPS2
|
||||
|
||||
#{{ifdef _MGGAL_DRI
|
||||
[dri]
|
||||
defaultmode=1024x768-16bpp
|
||||
defaultmode=1024x768-32bpp
|
||||
|
||||
# We use DRM fourcc code to defined the pixel format of the video surface.
|
||||
# For more information, please see <drm/drm_fourcc.h> header file.
|
||||
# Note that only 8/16/24/32 bpp RGB formats are supported.
|
||||
pixelformat=XR24
|
||||
|
||||
# The DRI device
|
||||
device=/dev/dri/card0
|
||||
# The resolution of the display
|
||||
# It is defined in dots (physical pixels) per inch
|
||||
|
||||
Reference in New Issue
Block a user