<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"><<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"><span class=""><br>
<br>
On 06.07.2016, at 22:18, John McIntosh <<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>> wrote:<br>
<br>
> >Works for both OpenGL and CoreGraphics backends (Why do we have both?)<br>
><br>
</span><span class="">> Originally the code was written for CoreGraphics as a port from the original QuickDraw 1984 era logic but used CALayers to improve performance.<br>
> 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>
> Today the graphics layer could look at Metal as an alternate solution.<br>
><br>
<br>
</span>That'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'll merge that now<br>
<span class="im HOEnZb"><br>
><br>
> On Tue, Jul 5, 2016 at 11:27 PM, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
><br>
> Hi Tobias,<br>
><br>
> I'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>
><br>
> On Tue, Jul 5, 2016 at 2:56 PM, Tobias Pape <<a href="mailto:notifications@github.com">notifications@github.com</a>> wrote:<br>
> • Works for both OpenGL and CoreGraphics backends (Why do we have both?)<br>
> • Needs new abstractions for 'squeak-screen-size' and 'squeak-mouse-position' in both backends/view. Is provided.<br>
</span><div class="HOEnZb"><div class="h5">> You can view, comment on, or merge this pull request online at:<br>
><br>
> <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22</a><br>
><br>
> Commit Summary<br>
><br>
> • Prepare Cocoa VM for High-DPI<br>
> File Changes<br>
><br>
> • M platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m (6)<br>
> • M platforms/iOS/vm/OSX/Squeak-Info.plist (2)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m (4)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXApplication.m (3)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXCGView.h (2)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m (130)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h (2)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m (54)<br>
> • M platforms/iOS/vm/OSX/sqSqueakOSXView.h (3)<br>
> • M platforms/iOS/vm/iPhone/Classes/SqueakUIView.h (2)<br>
> • M platforms/iOS/vm/iPhone/Classes/SqueakUIView.m (8)<br>
> Patch Links:<br>
><br>
> • <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>
> • <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>
> —<br>
> You are receiving this because you are subscribed to this thread.<br>
> 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>