Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Graphics programming • Re: 7" Display 2 and rotating content using DRM

$
0
0
I've dug out the datasheet.
For 24-bpp (which is supported only for non-transposed raster images), the destination pointer must be 4-byte
aligned, and the destination rectangle must be a multiple of 4 pixels wide.
So no, BGR888 and RGB888 are not supported if transposing the output.
AFAIK There isn't a way of advertising that through DRM, so the only thing that could be done is rejecting the commit.

16 and 32bpp formats are supported for transpose, and the destination pointer needs to be aligned to the pixel size (almost always going to happen anyway).

Statistics: Posted by 6by9 — Tue Dec 10, 2024 6:21 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles