Flutter Engine
 
Loading...
Searching...
No Matches
test_gl_context.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_TESTING_TEST_GL_CONTEXT_H_
6#define FLUTTER_TESTING_TEST_GL_CONTEXT_H_
7
8namespace flutter::testing {
9
11 explicit TestEGLContext();
12
14
15 using EGLDisplay = void*;
16 using EGLContext = void*;
17 using EGLConfig = void*;
18
22
23 // EGLConfig is technically a property of the surfaces, no the context,
24 // but it's not that well separated in EGL (e.g. when
25 // EGL_KHR_no_config_context is not supported), so we just store it here.
27};
28
29} // namespace flutter::testing
30
31#endif // FLUTTER_TESTING_TEST_GL_CONTEXT_H_