1 /* 2 * Copyright 2021 Google LLC 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 #include "include/core/SkTypes.h" 8 9 #if !defined(SK_DISABLE_LEGACY_GL_MAKE_NATIVE_INTERFACE) 10 #include "include/gpu/ganesh/gl/GrGLInterface.h" 11 #include "include/gpu/ganesh/gl/glx/GrGLMakeGLXInterface.h" 12 GrGLMakeNativeInterface()13sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return GrGLInterfaces::MakeGLX(); } 14 #endif 15