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 #ifndef GrGLMakeGLXInterface_DEFINED 8 #define GrGLMakeGLXInterface_DEFINED 9 10 #include "include/core/SkRefCnt.h" 11 #include "include/private/base/SkAPI.h" 12 13 struct GrGLInterface; 14 15 namespace GrGLInterfaces { 16 SK_API sk_sp<const GrGLInterface> MakeGLX(); 17 } 18 19 #if !defined(SK_DISABLE_LEGACY_GLXINTERFACE_FACTORY) 20 sk_sp<const GrGLInterface> GrGLMakeGLXInterface(); 21 #endif 22 23 #endif // GrGLMakeGLXInterface_DEFINED 24