<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Bert,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 31 janv. 2017 à 18:18, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de" class="">bert@freudenbergs.de</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 31, 2017 at 10:44 AM, Christophe Demarey<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:christophe.demarey@inria.fr" target="_blank" class="">christophe.demarey@inria.fr</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><br class="">Hello,<br class=""><br class="">With Pavel, we discovered a strange behavior of the primitive #primitiveScreenDepth on Linux. It returns a value of 24 bits per pixel (True colors) that looks valid but not supported (at least by Pharo).<br class=""><br class="">DisplayScreen actualScreenDepth "(calling the primitive screenDepth)"<br class="">       <span class="Apple-converted-space"> </span>=> 32 on OS X [OK]<br class="">       <span class="Apple-converted-space"> </span>=> 24 on Linux [KO]<br class=""><br class="">Also, it is not consistent with the primitive 91<br class=""><br class="">DisplayScreen new supportsDisplayDepth: DisplayScreen actualScreenDepth<br class="">       <span class="Apple-converted-space"> </span>=> true on OS X<br class="">       <span class="Apple-converted-space"> </span>=> false on Linux<br class=""><br class="">There are some safeguard image-side but it would be great if someone could check that vm side.<br class=""></blockquote><div class=""><br class=""></div><div class="">That seems wrong indeed, since BitBlt can only handle power-of-two depths currently. It should answer 32 or -32 in this case. </div><div class=""><br class=""></div><div class="">Actually ... is there a difference in pixel layout for 32 bit MSB vs LSB forms? A quick test in SqueakJS suggests there isn’t.</div></div></div></div></div></blockquote><br class=""></div><div>I do not get what you mean by 32 bits MSB vs LSB form. Could you give an example of what to test?</div><div>If you mean a difference between depth 32 or -32, I do not see any difference.</div><div><br class=""></div><div>Christophe</div><br class=""></div></body></html>