navit  0.5.3-trunk
graphics_opengl_egl.c File Reference
#include "config.h"
#include <GLES/gl.h>
#include <GLES/egl.h>
#include <glib.h>
#include "graphics_opengl.h"
#include "debug.h"

Data Structures

struct  graphics_opengl_platform
 

Functions

static void graphics_opengl_egl_destroy (struct graphics_opengl_platform *egl)
 
static void graphics_opengl_egl_swap_buffers (struct graphics_opengl_platform *egl)
 
struct graphics_opengl_platformgraphics_opengl_egl_new (void *display, void *window, struct graphics_opengl_platform_methods **methods)
 

Variables

static EGLint attributeList []
 
EGLint aEGLContextAttributes []
 
struct graphics_opengl_platform_methods graphics_opengl_egl_methods
 

Function Documentation

◆ graphics_opengl_egl_destroy()

static void graphics_opengl_egl_destroy ( struct graphics_opengl_platform egl)
static

Referenced by graphics_opengl_egl_new().

◆ graphics_opengl_egl_new()

◆ graphics_opengl_egl_swap_buffers()

static void graphics_opengl_egl_swap_buffers ( struct graphics_opengl_platform egl)
static

Variable Documentation

◆ aEGLContextAttributes

EGLint aEGLContextAttributes[]
Initial value:
= {
EGL_NONE
}

Referenced by graphics_opengl_egl_new().

◆ attributeList

EGLint attributeList[]
static
Initial value:
= {
EGL_RED_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_NONE
}

Referenced by graphics_opengl_egl_new().

◆ graphics_opengl_egl_methods

struct graphics_opengl_platform_methods graphics_opengl_egl_methods
Initial value:
= {
}
static void graphics_opengl_egl_destroy(struct graphics_opengl_platform *egl)
Definition: graphics_opengl_egl.c:37
static void graphics_opengl_egl_swap_buffers(struct graphics_opengl_platform *egl)
Definition: graphics_opengl_egl.c:41

Referenced by graphics_opengl_egl_new().