273c0f5e87
rename subclasses Fix up the EGL native GLTestContext GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1849463002 TBR=jvanverth@google.com Committed: https://skia.googlesource.com/skia/+/4c7f0a16312c374eba4e8d5d46435ce9eb0b9971 Review URL: https://codereview.chromium.org/1849463002
31 lines
742 B
C++
31 lines
742 B
C++
|
|
/*
|
|
* 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 GLTestContext_angle_DEFINED
|
|
#define GLTestContext_angle_DEFINED
|
|
|
|
#include "gl/GLTestContext.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 GLTestContext backed by ANGLE's Direct3D backend. */
|
|
GLTestContext* CreateANGLEDirect3DGLTestContext();
|
|
#endif
|
|
|
|
/** Creates a GLTestContext backed by ANGLE's OpenGL backend. */
|
|
GLTestContext* CreateANGLEOpenGLGLTestContext();
|
|
|
|
} // namespace sk_gpu_test
|
|
#endif
|