xref: /aosp_15_r20/external/deqp/scripts/egl/__init__.py (revision 35238bce31c2a825756842865a792f8cf7f89930)
1# -*- coding: utf-8 -*-
2
3#-------------------------------------------------------------------------
4# drawElements Quality Program utilities
5# --------------------------------------
6#
7# Copyright 2015 The Android Open Source Project
8#
9# Licensed under the Apache License, Version 2.0 (the "License");
10# you may not use this file except in compliance with the License.
11# You may obtain a copy of the License at
12#
13#      http://www.apache.org/licenses/LICENSE-2.0
14#
15# Unless required by applicable law or agreed to in writing, software
16# distributed under the License is distributed on an "AS IS" BASIS,
17# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18# See the License for the specific language governing permissions and
19# limitations under the License.
20#
21#-------------------------------------------------------------------------
22
23from egl.common import getEGLRegistry, getInterface, getDefaultInterface, VERSION
24
25import egl.str_util
26import egl.call_log_wrapper
27import egl.proc_address_tests
28import egl.enums
29import egl.func_ptrs
30import egl.library
31import egl.gtf_wrapper
32
33def gen ():
34    registry = getEGLRegistry()
35    iface = getDefaultInterface()
36
37    str_util.gen(iface)
38    call_log_wrapper.gen(iface)
39    proc_address_tests.gen()
40    enums.gen(iface)
41    func_ptrs.gen(iface)
42    library.gen(registry)
43    gtf_wrapper.gen(registry)
44