blob: ecd46e2499694eb4779f11bd6e2d22f31fcd0665 [file] [log] [blame]
John Reck975591a2016-01-22 16:28:07 -08001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
sergeyv8bd5edf2016-05-13 15:03:35 -070017// #include'ing this file is bad, bad things should be compile errors
18#ifdef HWUI_GLES_WRAP_ENABLED
19#error wrap_gles.h should only be used as an auto-included header, don't directly #include it
20#endif
John Reck975591a2016-01-22 16:28:07 -080021#define HWUI_GLES_WRAP_ENABLED
22
sergeyv8bd5edf2016-05-13 15:03:35 -070023#include "GlesDriver.h"
John Reck975591a2016-01-22 16:28:07 -080024
sergeyv8bd5edf2016-05-13 15:03:35 -070025#define GL_ENTRY(ret, api, ...) ret api(__VA_ARGS__);
26
27#include "gles_decls.in"
28#undef GL_ENTRY