| Index: tools/gpu/gl/angle/GLContext_angle.h
|
| diff --git a/tools/gpu/gl/angle/GLContext_angle.h b/tools/gpu/gl/angle/GLContext_angle.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..519ea6b5a3969eab32067eb726e04365da1d19bb
|
| --- /dev/null
|
| +++ b/tools/gpu/gl/angle/GLContext_angle.h
|
| @@ -0,0 +1,30 @@
|
| +
|
| +/*
|
| + * Copyright 2012 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +#ifndef GLContext_angle_DEFINED
|
| +#define GLContext_angle_DEFINED
|
| +
|
| +#include "gl/GLContext.h"
|
| +
|
| +namespace sk_gpu_test {
|
| +
|
| +/**
|
| + * Creates a GrGLInterface for the currently ANGLE GL context currently bound in ANGLE's EGL
|
| + * implementation.
|
| + */
|
| +const GrGLInterface* CreateANGLEGLInterface();
|
| +
|
| +#ifdef SK_BUILD_FOR_WIN
|
| +/** Creates a GLContext backed by ANGLE's Direct3D backend. */
|
| +GLContext* CreateANGLEDirect3DGLContext();
|
| +#endif
|
| +
|
| +/** Creates a GLContext backed by ANGLE's OpenGL backend. */
|
| +GLContext* CreateANGLEOpenGLGLContext();
|
| +
|
| +} // namespace sk_gpu_test
|
| +#endif
|
|
|