Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
GrGLDirectContext.h
Go to the documentation of this file.
1/*
2 * Copyright 2023 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
8#ifndef GrGLDirectContext_DEFINED
9#define GrGLDirectContext_DEFINED
10
13
14class GrDirectContext;
15struct GrContextOptions;
16struct GrGLInterface;
17
19/**
20 * Creates a GrDirectContext for a backend context. GrGLInterface must be non-null.
21 */
24#if !defined(SK_DISABLE_LEGACY_GL_MAKE_NATIVE_INTERFACE)
27#endif
28}
29
30#endif
#define SK_API
Definition SkAPI.h:35
SK_API sk_sp< GrDirectContext > MakeGL()