Results 1 to 10 of 44

Thread: iOS Support

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    So, mainLoop is done(with quite crazy code because of iOS architecture >_<). Window now can be fullscreen and timers are working. But seems I will rewrite timers, because there are some problems with UNIX functions on iOS. GetTimeOfDay seems to work fine, but FpStat for checking if file/directory exists - is not... Another problem - there is no full documentation for Objective-Pascal with some comparisons with Objective-C constructions, and this makes hard to understand Cocoa API with only Objective-C examples in official documentation and internet.

    Starting to read about EAGLContext under iOS

    update: About documentation I was a bit wrong - here the comparison
    Last edited by Andru; 01-04-2011 at 10:40 AM.

  2. #2
    Not exactly sure what this means, but I hoped to develop for iOS later down the track and if I can use the language I already am, that would be awesome!!!

  3. #3
    but I hoped to develop for iOS later down the track and if I can use the language I already am, that would be awesome!!!
    ZenGL API will be always Pascal-compatible, Objective-Pascal is used only inside zgl_ios_* units, which are provides system part
    Last edited by Andru; 01-04-2011 at 06:32 AM.

  4. #4
    EAGLContext now is initializes and CEAGLLayer creates, so next step will be correct using presentRenderbuffer with GL_RENDERBUFFER_OES for rendering something

    PS: Apple... as always they want to be different and develop their own bicycles like EAGLContext and CEAGLLayer instead of using concept of EGL, which is used on other platforms

  5. #5
    YEAH!


    There are only red quad and white background because of glClearColor(always yours, Captain Obvious ). And this is not a first april joke Next step is loading resources and some cleaning of code(current realization is little bit draft).

  6. #6
    So, here are I'm now I've built some static libraries for resources(zlib, libogg, and libvorbis) and now ZenGL can this:

    I think next few days(or maybe week) I will work on all other system stuff like "touch"-input, rotating device and so on.

  7. #7

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •