<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 14, 2016 at 10:02 AM, Tobias Pape <span dir="ltr"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On 14.09.2016, at 09:57, Bert Freudenberg <<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>> wrote:<br>
<br>
> This hack avoids entering an unusable state. OTOH it makes debugging it more difficult. What to do?<br>
<br>
</span>Is the unstable state present in cocoa or carbon VMs?<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888"> -Tobias<br></font></span></blockquote><div><br></div><div>Cocoa I would think? A current Spur VM. The display just looks garbled e.g. when choosing 16 bpp. I wouldn't call it "unstable" just "unusable".</div><div><br></div><div>- Bert -</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
> - Bert -<br>
><br>
> On Tue, Sep 13, 2016 at 10:01 PM, <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br>
> Bert Freudenberg uploaded a new version of Graphics to project The Trunk:<br>
> <a href="http://source.squeak.org/trunk/Graphics-bf.365.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/<wbr>trunk/Graphics-bf.365.mcz</a><br>
><br>
> ==================== Summary ====================<br>
><br>
> Name: Graphics-bf.365<br>
> Author: bf<br>
> Time: 13 September 2016, 10:01:12.119134 pm<br>
> UUID: 184228fa-4e38-472a-8e51-<wbr>1cd86ff433f4<br>
> Ancestors: Graphics-tfel.364<br>
><br>
> Work around Mac VM bug: use 32 bpp<br>
><br>
> =============== Diff against Graphics-tfel.364 ===============<br>
><br>
> Item was added:<br>
> + ----- Method: DisplayScreen>><wbr>primSupportsDisplayDepth: (in category 'other') -----<br>
> + primSupportsDisplayDepth: pixelDepth<br>
> + "Return true if this pixel depth is supported on the current host platform.<br>
> + Primitive. Optional."<br>
> + <primitive: 91><br>
> + ^#(1 2 4 8 16 32) includes: pixelDepth!<br>
><br>
> Item was changed:<br>
> ----- Method: DisplayScreen>><wbr>supportsDisplayDepth: (in category 'other') -----<br>
> supportsDisplayDepth: pixelDepth<br>
> + "Return true if this pixel depth is supported on the current host platform."<br>
> + Smalltalk platformName = 'Mac OS' ifTrue: [^pixelDepth abs = 32]. "Work around VM bug"<br>
> + ^self primSupportsDisplayDepth: pixelDepth!<br>
> - "Return true if this pixel depth is supported on the current host platform.<br>
> - Primitive. Optional."<br>
> - <primitive: 91><br>
> - ^#(1 2 4 8 16 32) includes: pixelDepth!<br>
><br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>