m3g/m3gcore11/inc/m3g_config.h
changeset 45 36b2e23a8629
parent 0 5d03bc08d59c
equal deleted inserted replaced
36:01a6848ebfd7 45:36b2e23a8629
    30 #define M3G_MAX_TEXTURE_DIMENSION   1024
    30 #define M3G_MAX_TEXTURE_DIMENSION   1024
    31 
    31 
    32 /* Support antialiasing */
    32 /* Support antialiasing */
    33 #define M3G_SUPPORT_ANTIALIASING    M3G_TRUE
    33 #define M3G_SUPPORT_ANTIALIASING    M3G_TRUE
    34 
    34 
       
    35 /*!
       
    36  * \internal
       
    37  * \def M3G_ENABLE_GLES_RESOURCE_HANDLING
       
    38  * \brief Allow GLES resource freeing 
       
    39  *
       
    40  * This feature can be used with HW renderers with external memory architecture 
       
    41  * to free all graphics resources allocated by M3G. 
       
    42  *
       
    43  * Enabling this feature is likely to increase host memory consumption (a copy of 
       
    44  * all texture image data has to be kept kept in host memory), so it's advised to 
       
    45  * undefine the flag when using SW GLES or HW GLES with unified memory architecture.
       
    46  */
       
    47 #define M3G_ENABLE_GLES_RESOURCE_HANDLING
       
    48 
       
    49 
    35 #if defined(M3G_DEBUG)
    50 #if defined(M3G_DEBUG)
    36 /*
    51 /*
    37 #define M3G_ENABLE_PROFILING
    52 #define M3G_ENABLE_PROFILING
    38 #define M3G_LOGLEVEL \
    53 #define M3G_LOGLEVEL \
    39     M3G_LOG_FATAL_ERRORS|M3G_LOG_USER_ERRORS|M3G_LOG_WARNINGS \
    54     M3G_LOG_FATAL_ERRORS|M3G_LOG_USER_ERRORS|M3G_LOG_WARNINGS \