• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 // DisplayApple_api.h:
7 //    Chooses CGL or EAGL either at compile time or runtime based on the platform.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_GL_APPLE_DISPLAYAPPLE_API_H_
11 #define LIBANGLE_RENDERER_GL_APPLE_DISPLAYAPPLE_API_H_
12 
13 #include "libANGLE/renderer/DisplayImpl.h"
14 
15 namespace rx
16 {
17 
18 DisplayImpl *CreateDisplayCGLOrEAGL(const egl::DisplayState &state);
19 
20 }  // namespace rx
21 
22 #endif /* LIBANGLE_RENDERER_GL_APPLE_DISPLAYAPPLE_API_H_ */
23