+ Reply to Thread
Results 1 to 5 of 5

Is there any chance to use OpenGL ES ?

This is a discussion on Is there any chance to use OpenGL ES ? within the Modding & Development forums, part of the Meizu M8 category; Hello, I am trying to make a port of our latest racing game to M8 but so far I did ...

  1. #1
    Passing By
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Is there any chance to use OpenGL ES ?

    Hello,
    I am trying to make a port of our latest racing game to M8 but so far I did not find any OpenGL lib and header in the sdk.
    Is there someone that has been able to do something with it?

    In alternative,I also tried in simulator a simple DirectX project but the app always fails onIDirect3DMobile::CreateDevice . Does it work on real device?

    Any info would be highly appreciated...

    Roberto

  2. #2
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    in the sdk is an test app included which contains OpenGL!

    EDIT: I think it is the Gles20_demo ....you can find it in samples folder

  3. #3
    Passing By
    Join Date
    Feb 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,many thanks for answering.
    I do not have that sample.
    the only samples I have are in C:\Program files\Windows CE Tools\wce600\M8SDK\Samples\Mzfc and are samples mzfc_sample_01 to mzfc_sample_05 but they just show basic windows and buttons operations. Where do you have that sample?

  4. #4
    Passing By
    Join Date
    Mar 2009
    Posts
    19
    Thanks
    2
    Thanked 2 Times in 2 Posts
    SDK version 9.2.6 definitely has the required headers and libs included: libEGL.lib, libGLESv1_CM.lib and libGLESv2.lib, headers in the Gles subdir.

    You can download the SDK from here: http://down.m8fans.com/soft-476.html

  5. #5
    Passing By
    Join Date
    Sep 2009
    Posts
    13
    Thanks
    0
    Thanked 8 Times in 2 Posts
    Make sure you download the latest SDK, it's the only one with working GLES headers/libs and an example of GLES 2 and shaders. They also include a shader compiler, which could mean you cannot do runtime shader compiling, not confirmed though.

    Here is a link to the SDK I am using:
    http://down4.meizu.com/Firmware/m8/M...S_v0.9.6.0.zip

    Although with the latest firmware I noticed if I dynamically linked mzfc.dll it would not run, so I have to link mzfcs.lib the static library.

    Would love to see your game when it's port is finished!
    Last edited by Tamimego; 02-28-2010 at 08:40 PM.

  6. Member who thanked Tamimego for the post:



 

Similar Threads

  1. A chance of a china/taiwan thread?
    By iversonjack in forum Meizu Me International
    Replies: 16
    Last Post: 01-19-2009, 03:08 PM
  2. Any chance for working SNES emulator on M8?
    By stranded in forum General Meizu M8
    Replies: 1
    Last Post: 12-07-2008, 07:08 PM