Hash :
0dbe7cdd
Author :
Date :
2020-12-08T12:24:35
iOS testing support angle_white_box_tests build and runs and passes on the iOS simulator with this change. angle_end2end_tests builds and runs but crashes. Bug: angleproject:4256 Bug: angleproject:5417 Change-Id: I8817e46415c4598cbfae49804727a2e9b21baff1 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2600361 Commit-Queue: James Darpinian <jdarpinian@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org>
//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// EAGLFunctions.h: Exposing the soft-linked EAGL interface.
#ifndef EAGL_FUNCTIONS_H_
#define EAGL_FUNCTIONS_H_
#include "common/platform.h"
#if defined(ANGLE_ENABLE_EAGL)
// OpenGL ES is technically deprecated on iOS. Silence associated warnings.
# define GLES_SILENCE_DEPRECATION
# import <OpenGLES/EAGL.h>
# import <OpenGLES/EAGLDrawable.h>
# import <OpenGLES/EAGLIOSurface.h>
# include "common/apple/SoftLinking.h"
SOFT_LINK_FRAMEWORK_HEADER(OpenGLES)
SOFT_LINK_CLASS_HEADER(EAGLContext)
#endif // defined(ANGLE_ENABLE_EAGL)
#endif // CGL_FUNCTIONS_H_