<div dir="ltr">The open/GL one has always been the default, it is faster. </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 1:27 PM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 06.07.2016, at 22:18, John McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>&gt; wrote:<br>
<br>
&gt; &gt;Works for both OpenGL and CoreGraphics backends (Why do we have both?)<br>
&gt;<br>
</span><span class="">&gt; Originally the code was written for CoreGraphics as a port from the original QuickDraw 1984 era logic but used CALayers to improve performance.<br>
&gt; The open/GL logic was added as part of the development process but at the time Apple was transitioning to versions of OpenGL/ES etc so I left both in as part of the transition process.<br>
&gt; Today the graphics layer could look at Metal as an alternate solution.<br>
&gt;<br>
<br>
</span>That&#39;s good to know!<br>
I tested both ways and it turns out both work well, I have not done perf measurings, however.<br>
The OpenGL one needs a opt-in for high-dpi, the CG one does not.<br>
Aside from what is the default now, what would your pick be?<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">        -Tobias<br>
</font></span><br>
PS: I&#39;ll merge that now<br>
<span class="im HOEnZb"><br>
&gt;<br>
&gt; On Tue, Jul 5, 2016 at 11:27 PM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Tobias,<br>
&gt;<br>
&gt;     I&#39;m confused by <a href="https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/142601096" rel="noreferrer" target="_blank">https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/142601096</a>.  Who do I see the errors?  The red link to the right simply points back to the same page.<br>
&gt;<br>
&gt; On Tue, Jul 5, 2016 at 2:56 PM, Tobias Pape &lt;<a href="mailto:notifications@github.com">notifications@github.com</a>&gt; wrote:<br>
&gt;       • Works for both OpenGL and CoreGraphics backends (Why do we have both?)<br>
&gt;               • Needs new abstractions for &#39;squeak-screen-size&#39; and &#39;squeak-mouse-position&#39; in both backends/view. Is provided.<br>
</span><div class="HOEnZb"><div class="h5">&gt; You can view, comment on, or merge this pull request online at:<br>
&gt;<br>
&gt;   <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22</a><br>
&gt;<br>
&gt; Commit Summary<br>
&gt;<br>
&gt;       • Prepare Cocoa VM for High-DPI<br>
&gt; File Changes<br>
&gt;<br>
&gt;       • M platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m (6)<br>
&gt;       • M platforms/iOS/vm/OSX/Squeak-Info.plist (2)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m (4)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXApplication.m (3)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXCGView.h (2)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m (130)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h (2)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m (54)<br>
&gt;       • M platforms/iOS/vm/OSX/sqSqueakOSXView.h (3)<br>
&gt;       • M platforms/iOS/vm/iPhone/Classes/SqueakUIView.h (2)<br>
&gt;       • M platforms/iOS/vm/iPhone/Classes/SqueakUIView.m (8)<br>
&gt; Patch Links:<br>
&gt;<br>
&gt;       • <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22.patch" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22.patch</a><br>
&gt;       • <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22.diff" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22.diff</a><br>
&gt; —<br>
&gt; You are receiving this because you are subscribed to this thread.<br>
&gt; Reply to this email directly, view it on GitHub, or mute the thread.<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">===========================================================================<br>John M. McIntosh. Corporate Smalltalk Consulting Ltd <a href="https://www.linkedin.com/in/smalltalk" target="_blank">https://www.linkedin.com/in/smalltalk</a><br>===========================================================================<br></div></div></div></div>
</div>