From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Best way to put an array-based pixmap on a screen?
Date: Sun, 26 Mar 2017 12:10:15 -0700 (PDT)
Date: 2017-03-26T12:10:15-07:00 [thread overview]
Message-ID: <76cd77cd-910a-492c-8833-72a4696d444a@googlegroups.com> (raw)
In-Reply-To: <ob7tt0$1jmn$1@gioia.aioe.org>
In response to the original message (which google doesn't have for some reason)...
I don't think this is harder than working with X11 directly, it's significantly easier:
https://github.com/Lucretia/sdlada/blob/master/test/stream2.adb line 183 which would give you per pixel access on a packed record each component being 8-bits, ARGB.
I still have to change the array discriminants to start at 0 instead of 1, because that just makes things easier with these particular pixel arrays.
next prev parent reply other threads:[~2017-03-26 19:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-26 1:01 Best way to put an array-based pixmap on a screen? LaeMing Ai
2017-03-26 8:25 ` Dmitry A. Kazakov
2017-03-26 9:55 ` Simon Wright
2017-03-26 13:27 ` reinert
2017-03-26 16:48 ` gautier_niouzes
2017-03-26 19:10 ` Lucretia [this message]
2017-03-26 19:13 ` Lucretia
2017-03-26 21:00 ` BartC
2017-03-26 21:48 ` Dmitry A. Kazakov
2017-03-26 9:35 ` Dirk Craeynest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox