hostsupport/hostopengles20/src/context.h
branchbug235_bringup_0
changeset 76 24381b61de5c
parent 55 09263774e342
equal deleted inserted replaced
75:82d8da1d79c7 76:24381b61de5c
    27  */
    27  */
    28 
    28 
    29 #ifndef _GLESCONTEXT_H_
    29 #ifndef _GLESCONTEXT_H_
    30 #define _GLESCONTEXT_H_
    30 #define _GLESCONTEXT_H_
    31 
    31 
    32 #ifdef __cplusplus
       
    33 extern "C" {
       
    34 #endif
       
    35 
       
    36 #include "platform.h"
    32 #include "platform.h"
    37 #include "degl.h"
    33 #include "degl.h"
    38 #include "vertex.h"
    34 #include "vertex.h"
    39 #include "buffer.h"
    35 #include "buffer.h"
    40 #include "shader.h"
    36 #include "shader.h"
    41 #include "program.h"
    37 #include "program.h"
    42 #include "texture.h"
    38 #include "texture.h"
    43 #include "fbo.h"
    39 #include "fbo.h"
       
    40 
       
    41 #ifdef __cplusplus
       
    42 extern "C" {
       
    43 #endif
    44 
    44 
    45 typedef struct DGLContext
    45 typedef struct DGLContext
    46 {
    46 {
    47     GLboolean	initialized;
    47     GLboolean	initialized;
    48     void*		native_context;
    48     void*		native_context;