Ignore:
Timestamp:
Jul 30, 2012, 2:25:20 AM (9 years ago)
Author:
sam
Message:

build: switch the Android native build rules to autoconf; still a bit rough
but we can now create shared objects for each project; only the testsuite
is not building properly because of issues with STLport, and EglApp is
deactivated because AndroidApp should have precedence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/eglapp.cpp

    r1674 r1684  
    1313#endif
    1414
    15 #if defined USE_EGL
     15#if defined USE_EGL && !defined __ANDROID__
    1616#   if defined HAVE_BCM_HOST_H
    1717#       include <bcm_host.h>
     
    4141
    4242private:
    43 #if defined USE_EGL
     43#if defined USE_EGL && !defined __ANDROID__
    4444    EGLDisplay egl_dpy;
    4545    EGLContext egl_ctx;
     
    6262    data(new EglAppData())
    6363{
    64 #if defined USE_EGL
     64#if defined USE_EGL && !defined __ANDROID__
    6565#   if defined HAVE_BCM_HOST_H
    6666    bcm_host_init();
     
    231231        /* Tick the renderer, show the frame and clamp to desired framerate. */
    232232        Ticker::TickDraw();
    233 #if defined USE_EGL
     233#if defined USE_EGL && !defined __ANDROID__
    234234        eglSwapBuffers(data->egl_dpy, data->egl_surf);
    235235#endif
     
    239239EglApp::~EglApp()
    240240{
    241 #if defined USE_EGL
     241#if defined USE_EGL && !defined __ANDROID__
    242242    eglDestroyContext(data->egl_dpy, data->egl_ctx);
    243243    eglDestroySurface(data->egl_dpy, data->egl_surf);
Note: See TracChangeset for help on using the changeset viewer.