include/SDL_opengles2_gl2platform.h
author Jinke Fan <fanjinke@hygon.cn>
Wed, 15 May 2019 19:54:36 +0800
changeset 13082 f77988be3607
parent 8808 da1e1d6e84c4
permissions -rw-r--r--
Add Hygon Dhyana processor support

Background:
Chengdu Haiguang IC Design Co., Ltd (Hygon) is a Joint Venture
between AMD and Haiguang Information Technology Co.,Ltd., aims at
providing high performance x86 processor for China server market.
Its first generation processor codename is Dhyana, which
originates from AMD technology and shares most of the
architecture with AMD's family 17h, but with different CPU Vendor
ID("HygonGenuine")/Family series number(Family 18h).

Related Hygon kernel patch can be found on:
http://lkml.kernel.org/r/5ce86123a7b9dad925ac583d88d2f921040e859b.1538583282.git.puwen@hygon.cn

Best regards.
     1 #ifndef __gl2platform_h_
     2 #define __gl2platform_h_
     3 
     4 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
     5 
     6 /*
     7  * This document is licensed under the SGI Free Software B License Version
     8  * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
     9  */
    10 
    11 /* Platform-specific types and definitions for OpenGL ES 2.X  gl2.h
    12  *
    13  * Adopters may modify khrplatform.h and this file to suit their platform.
    14  * You are encouraged to submit all modifications to the Khronos group so that
    15  * they can be included in future versions of this file.  Please submit changes
    16  * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
    17  * by filing a bug against product "OpenGL-ES" component "Registry".
    18  */
    19 
    20 /*#include <KHR/khrplatform.h>*/
    21 
    22 #ifndef GL_APICALL
    23 #define GL_APICALL  KHRONOS_APICALL
    24 #endif
    25 
    26 #ifndef GL_APIENTRY
    27 #define GL_APIENTRY KHRONOS_APIENTRY
    28 #endif
    29 
    30 #endif /* __gl2platform_h_ */