[Vm-dev] Re: [OpenSmalltalk/opensmalltalk-vm] Prepare Cocoa VM for High-DPI (#22)

John McIntosh johnmci at smalltalkconsulting.com
Wed Jul 6 20:18:21 UTC 2016


>Works for both OpenGL and CoreGraphics backends (Why do we have both?)

Originally the code was written for CoreGraphics as a port from the
original QuickDraw 1984 era logic but used CALayers to improve performance.
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.
Today the graphics layer could look at Metal as an alternate solution.


On Tue, Jul 5, 2016 at 11:27 PM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

>
> Hi Tobias,
>
>     I'm confused by
> https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/142601096.
> Who do I see the errors?  The red link to the right simply points back to
> the same page.
>
> On Tue, Jul 5, 2016 at 2:56 PM, Tobias Pape <notifications at github.com>
> wrote:
>
>>
>>    - Works for both OpenGL and CoreGraphics backends (Why do we have
>>    both?)
>>       - Needs new abstractions for 'squeak-screen-size' and
>>       'squeak-mouse-position' in both backends/view. Is provided.
>>
>> ------------------------------
>> You can view, comment on, or merge this pull request online at:
>>
>>   https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22
>> Commit Summary
>>
>>    - Prepare Cocoa VM for High-DPI
>>
>> File Changes
>>
>>    - *M* platforms/iOS/vm/Common/Classes/sqSqueakScreenAndWindow.m
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-0>
>>    (6)
>>    - *M* platforms/iOS/vm/OSX/Squeak-Info.plist
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-1>
>>    (2)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXApplication+events.m
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-2>
>>    (4)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXApplication.m
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-3>
>>    (3)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXCGView.h
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-4>
>>    (2)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-5>
>>    (130)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.h
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-6>
>>    (2)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-7>
>>    (54)
>>    - *M* platforms/iOS/vm/OSX/sqSqueakOSXView.h
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-8>
>>    (3)
>>    - *M* platforms/iOS/vm/iPhone/Classes/SqueakUIView.h
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-9>
>>    (2)
>>    - *M* platforms/iOS/vm/iPhone/Classes/SqueakUIView.m
>>    <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22/files#diff-10>
>>    (8)
>>
>> Patch Links:
>>
>>    - https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22.patch
>>    - https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22.diff
>>
>>>> You are receiving this because you are subscribed to this thread.
>> Reply to this email directly, view it on GitHub
>> <https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/22>, or mute the
>> thread
>> <https://github.com/notifications/unsubscribe/APHa0M_T9AW0p-vuZ8xlqmDkPUo9V79zks5qStMigaJpZM4JFkiI>
>> .
>>
>
>
>
> --
> _,,,^..^,,,_
> best, Eliot
>
>


-- 
===========================================================================
John M. McIntosh. Corporate Smalltalk Consulting Ltd
https://www.linkedin.com/in/smalltalk
===========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160706/c0034061/attachment.htm


More information about the Vm-dev mailing list