OLD | NEW |
(Empty) | |
| 1 |
| 2 /* |
| 3 * Copyright 2012 Google Inc. |
| 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. |
| 7 */ |
| 8 #ifndef GLContext_angle_DEFINED |
| 9 #define GLContext_angle_DEFINED |
| 10 |
| 11 #include "gl/GLContext.h" |
| 12 |
| 13 namespace sk_gpu_test { |
| 14 |
| 15 /** |
| 16 * Creates a GrGLInterface for the currently ANGLE GL context currently bound in
ANGLE's EGL |
| 17 * implementation. |
| 18 */ |
| 19 const GrGLInterface* CreateANGLEGLInterface(); |
| 20 |
| 21 #ifdef SK_BUILD_FOR_WIN |
| 22 /** Creates a GLContext backed by ANGLE's Direct3D backend. */ |
| 23 GLContext* CreateANGLEDirect3DGLContext(); |
| 24 #endif |
| 25 |
| 26 /** Creates a GLContext backed by ANGLE's OpenGL backend. */ |
| 27 GLContext* CreateANGLEOpenGLGLContext(); |
| 28 |
| 29 } // namespace sk_gpu_test |
| 30 #endif |
OLD | NEW |