Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

clarify use of GLFW #10

Closed
Closed

Description

@incanus

I'm curious what the rationale behind using GLFW is. In my mind, the benefit to going native is support on mobile and embedded systems, but GLFW is currently designed for desktop platforms:

Currently, GLFW supports Windows, OS X and Unix-like operating systems with the X Window System, such as Linux and FreeBSD.

There is a brief nod to OpenGL ES on the homepage but not great progress on iOS so far:

Hello.
This is possible to use GLFW to build for iOS?

No.

Asking because I'm wondering if it makes more sense to port GLFW to iOS or to go at things directly. Coming off of the Ejecta work, I'm not relishing another intermediary platform for unclear benefit reasons.

Activity

  1. kkaefer commented on Jan 28, 2014

    @kkaefer
    Member

    GLFW is not used in the core renderer; we currently just use it to create GL contexts on desktop platforms. All GLFW-specific code is currently contained in /macosx, and it is only linked in a separate build target, not the main libllmr.a. For iOS, we should use the Apple-specific APIs for creating GL contexts and handling touch input. (at some point, we can do the same thing for OS X too, it was just easier to get started with GLFW because I didn't have to learn all the Objective-C specific OS X API)

  2. incanus commented on Jan 28, 2014

    @incanus
    ContributorAuthor

    Cool, thanks, that's what I suspected but just wanted to be sure. Going the GLKit route so far with iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions