1// 2// Copyright 2020 The ANGLE Project Authors. All rights reserved. 3// Use of this source code is governed by a BSD-style license that can be 4// found in the LICENSE file. 5// 6 7// FunctionsEAGL.cpp: Exposing the soft-linked EAGL interface. 8 9#include "common/platform.h" 10 11#if defined(ANGLE_ENABLE_EAGL) 12 13// OpenGL ES is technically deprecated on iOS. Silence associated warnings. 14# define GLES_SILENCE_DEPRECATION 15 16# import <OpenGLES/EAGL.h> 17# import <OpenGLES/EAGLDrawable.h> 18# import <OpenGLES/EAGLIOSurface.h> 19 20# include "common/apple/SoftLinking.h" 21 22SOFT_LINK_FRAMEWORK_SOURCE(OpenGLES) 23 24SOFT_LINK_CLASS(OpenGLES, EAGLContext) 25 26#endif // defined(ANGLE_ENABLE_EAGL) 27