xref: /aosp_15_r20/external/deqp/framework/egl/wrapper/eglwFunctions.cpp (revision 35238bce31c2a825756842865a792f8cf7f89930)
1 /*-------------------------------------------------------------------------
2  * drawElements Quality Program EGL Utilities
3  * ------------------------------------------
4  *
5  * Copyright 2014 The Android Open Source Project
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  *//*!
20  * \file
21  * \brief EGL API Functions.
22  *//*--------------------------------------------------------------------*/
23 
24 #include "eglwFunctions.hpp"
25 #include "deMemory.h"
26 
27 namespace eglw
28 {
29 
Functions(void)30 Functions::Functions(void)
31 {
32     deMemset(this, 0, sizeof(*this));
33 }
34 
initCore(Functions * dst,const FunctionLoader * loader)35 void initCore(Functions *dst, const FunctionLoader *loader)
36 {
37 #include "eglwInitCore.inl"
38 }
39 
initExtensions(Functions * dst,const FunctionLoader * loader)40 void initExtensions(Functions *dst, const FunctionLoader *loader)
41 {
42 #include "eglwInitExtensions.inl"
43 }
44 
45 } // namespace eglw
46