mesa: Move glheader.h from mesa/main/glheader.h to util/glheader.h

So it's can be accessed in broader places

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Brian Paul brianp@vmware.com
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>
This commit is contained in:
Yonggang Luo
2022-11-02 22:43:19 +08:00
committed by Marge Bot
parent 7b7bbe871c
commit bfa3ce44a6
213 changed files with 211 additions and 211 deletions

View File

@@ -23,7 +23,7 @@
* SOFTWARE.
*/
#include "main/glheader.h"
#include "util/glheader.h"
#include "compiler/nir_types.h"
#include "compiler/nir/nir_builder.h"
#include "util/u_debug.h"

View File

@@ -31,7 +31,7 @@
*/
#include "main/glheader.h"
#include "util/glheader.h"
#include "program/prog_parameter.h"
#include "util/bitset.h"

View File

@@ -27,7 +27,7 @@
#include <stdbool.h>
#include "nir.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/menums.h"
#ifdef __cplusplus

View File

@@ -30,7 +30,7 @@
#include <stdio.h>
#include "main/glheader.h"
#include "util/glheader.h"
#include "util/register_allocate.h"
#include "util/u_memory.h"
#include "util/ralloc.h"

View File

@@ -38,7 +38,7 @@
#include <GL/gl.h>
#include "main/glheader.h"
#include "util/glheader.h"
#include "glapi.h"
#include "glapitable.h"

View File

@@ -37,7 +37,7 @@
#include "glxclient.h"
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "glapitable.h"
extern struct _glapi_table * __ogl_framework_api;

View File

@@ -40,7 +40,7 @@
#include "glxclient.h"
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "glapitable.h"
extern struct _glapi_table * __ogl_framework_api;

View File

@@ -30,7 +30,7 @@
#include "glxclient.h"
#include "apple_glx_context.h"
#include "apple_xgl_api.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "glapitable.h"
extern struct _glapi_table * __ogl_framework_api;

View File

@@ -44,7 +44,7 @@
*/
#include <gtest/gtest.h>
#include "main/glheader.h"
#include "util/glheader.h"
#include "../indirect_init.h"
#include "glapi/glapi.h"
#include "../../mesa/main/dispatch.h"

View File

@@ -49,7 +49,7 @@ class PrintGlEnums(gl_XML.gl_print_base):
def printRealHeader(self):
print('#include <stdio.h>')
print('#include "main/glheader.h"')
print('#include "util/glheader.h"')
print('#include "main/enums.h"')
print('#include "main/mtypes.h"')
print('')

View File

@@ -49,7 +49,7 @@ header = """/* GLXEXT is the define used in the xserver when the GLX extension i
#include <stdio.h>
#include <string.h>
#include "main/glheader.h"
#include "util/glheader.h"
#include "glapi.h"
#include "glapitable.h"

View File

@@ -103,7 +103,7 @@ class PrintRemapTable(gl_XML.gl_print_base):
* named function in the specified dispatch table.
*/
#include "main/glheader.h"
#include "util/glheader.h"
""")
return

View File

@@ -22,7 +22,7 @@
*/
#include <gtest/gtest.h>
#include "main/glheader.h"
#include "util/glheader.h"
#include "glapi/glapi.h"
#include "glapitable.h"

View File

@@ -22,7 +22,7 @@
*/
#include <gtest/gtest.h>
#include "../../../mesa/main/glheader.h"
#include "util/glheader.h"
#include "glapi/glapi.h"
#include "glapitable.h"

View File

@@ -22,7 +22,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "glheader.h"
#include "util/glheader.h"
#include "accum.h"
#include "condrender.h"
#include "context.h"

View File

@@ -37,7 +37,7 @@
#ifndef ACCUM_H
#define ACCUM_H
#include "main/glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -34,7 +34,7 @@
* Keith Whitwell <keithw@vmware.com>
*/
#include "glheader.h"
#include "util/glheader.h"
#include "arrayobj.h"
#include "api_arrayelt.h"
#include "bufferobj.h"

View File

@@ -29,7 +29,7 @@
*/
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/context.h"
#include "main/draw_validate.h"
#include "main/hash.h"

View File

@@ -40,7 +40,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "hash.h"
#include "image.h"

View File

@@ -27,7 +27,7 @@
#ifndef ARRAYOBJ_H
#define ARRAYOBJ_H
#include "glheader.h"
#include "util/glheader.h"
#include "mtypes.h"
#include "glformats.h"
#include "vbo/vbo.h"

View File

@@ -21,7 +21,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/context.h"
#include "main/hash.h"

View File

@@ -8,7 +8,7 @@
#ifndef ATIFRAGSHADER_H
#define ATIFRAGSHADER_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -23,7 +23,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "glheader.h"
#include "util/glheader.h"
#include "accum.h"
#include "arrayobj.h"

View File

@@ -26,7 +26,7 @@
#define ATTRIB_H
#include "glheader.h"
#include "util/glheader.h"
struct _glapi_table;
struct gl_context;

View File

@@ -27,7 +27,7 @@
#ifndef BBOX_H
#define BBOX_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -29,7 +29,7 @@
#include "glheader.h"
#include "util/glheader.h"
#include "blend.h"
#include "context.h"
#include "draw_validate.h"

View File

@@ -33,7 +33,7 @@
#define BLEND_H
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "formats.h"
#include "extensions.h"

View File

@@ -26,7 +26,7 @@
#ifndef BLIT_H
#define BLIT_H
#include "glheader.h"
#include "util/glheader.h"
extern bool
_mesa_regions_overlap(int srcX0, int srcY0,

View File

@@ -33,7 +33,7 @@
#include <stdbool.h>
#include <inttypes.h> /* for PRId64 macro */
#include "util/u_debug.h"
#include "glheader.h"
#include "util/glheader.h"
#include "enums.h"
#include "hash.h"
#include "context.h"

View File

@@ -30,7 +30,7 @@
#include "glheader.h"
#include "util/glheader.h"
#include "buffers.h"
#include "context.h"
#include "enums.h"

View File

@@ -33,7 +33,7 @@
#define BUFFERS_H
#include "glheader.h"
#include "util/glheader.h"
#include "menums.h"
struct gl_context;

View File

@@ -31,7 +31,7 @@
#include "glformats.h"
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "enums.h"
#include "fbobject.h"

View File

@@ -23,7 +23,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "clip.h"
#include "context.h"
#include "macros.h"

View File

@@ -31,7 +31,7 @@
#ifndef CLIP_H
#define CLIP_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -21,7 +21,7 @@
* DEALINGS IN THE SOFTWARE.
*/
#include "glheader.h"
#include "util/glheader.h"
#include "bufferobj.h"
#include "context.h"
#include "state.h"

View File

@@ -30,7 +30,7 @@
* \author Brian Paul
*/
#include "glheader.h"
#include "util/glheader.h"
#include "condrender.h"
#include "enums.h"
#include "mtypes.h"

View File

@@ -27,7 +27,7 @@
#define CONDRENDER_H
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
extern GLboolean

View File

@@ -26,7 +26,7 @@
#ifndef CONSERVATIVERASTER_H
#define CONSERVATIVERASTER_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -31,7 +31,7 @@
#ifndef __CONSTS_EXTS_H__
#define __CONSTS_EXTS_H__
#include "main/glheader.h"
#include "util/glheader.h"
#include "compiler/shader_enums.h"
#include "compiler/shader_info.h"

View File

@@ -76,7 +76,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "accum.h"
#include "arrayobj.h"

View File

@@ -26,7 +26,7 @@
*/
#include "context.h"
#include "glheader.h"
#include "util/glheader.h"
#include "errors.h"
#include "enums.h"
#include "teximage.h"

View File

@@ -31,7 +31,7 @@
#ifndef DD_INCLUDED
#define DD_INCLUDED
#include "glheader.h"
#include "util/glheader.h"
#include "formats.h"
#include "menums.h"
#include "compiler/shader_enums.h"

View File

@@ -36,7 +36,7 @@
#ifndef _DEBUG_H
#define _DEBUG_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_texture_image;

View File

@@ -29,7 +29,7 @@
#include <stdio.h>
#include <stdarg.h>
#include "glheader.h"
#include "util/glheader.h"
#include "menums.h"

View File

@@ -23,7 +23,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "depth.h"

View File

@@ -32,7 +32,7 @@
#define DEPTH_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -28,7 +28,7 @@
#include <stdio.h>
#include "arrayobj.h"
#include "glheader.h"
#include "util/glheader.h"
#include "c99_alloca.h"
#include "context.h"
#include "state.h"

View File

@@ -32,7 +32,7 @@
#define DRAW_H
#include <stdbool.h>
#include "main/glheader.h"
#include "util/glheader.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -23,7 +23,7 @@
*/
#include <stdbool.h>
#include "glheader.h"
#include "util/glheader.h"
#include "draw_validate.h"
#include "arrayobj.h"
#include "bufferobj.h"

View File

@@ -22,7 +22,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "glheader.h"
#include "util/glheader.h"
#include "draw_validate.h"
#include "bufferobj.h"
#include "context.h"

View File

@@ -28,7 +28,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "arrayobj.h"
#include "blend.h"
#include "clip.h"

View File

@@ -32,7 +32,7 @@
#define ENABLE_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -38,7 +38,7 @@
#include <stdio.h>
#include <stdarg.h>
#include "glheader.h"
#include "util/glheader.h"
#include "menums.h"

View File

@@ -37,7 +37,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "eval.h"
#include "macros.h"

View File

@@ -31,7 +31,7 @@
#include "util/os_misc.h"
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "extensions.h"

View File

@@ -34,7 +34,7 @@
#ifndef EXTERNALOBJECTS_H
#define EXTERNALOBJECTS_H
#include "glheader.h"
#include "util/glheader.h"
#include "hash.h"
static inline struct gl_memory_object *

View File

@@ -26,7 +26,7 @@
#ifndef FBOBJECT_H
#define FBOBJECT_H
#include "glheader.h"
#include "util/glheader.h"
#include <stdbool.h>
struct gl_context;

View File

@@ -29,7 +29,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "c99_alloca.h"
#include "context.h"
#include "enums.h"

View File

@@ -27,7 +27,7 @@
*
**************************************************************************/
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/context.h"
#include "main/macros.h"

View File

@@ -34,7 +34,7 @@
#include "main/errors.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/mtypes.h"
#include "main/macros.h"
#include "main/enums.h"

View File

@@ -23,7 +23,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "fog.h"
#include "macros.h"

View File

@@ -37,7 +37,7 @@
#define FOG_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -24,7 +24,7 @@
#ifndef FORMATQUERY_H
#define FORMATQUERY_H
#include "glheader.h"
#include "util/glheader.h"
size_t
_mesa_query_samples_for_format(struct gl_context *ctx, GLenum target,

View File

@@ -30,7 +30,7 @@
*/
#include <stdio.h>
#include "glheader.h"
#include "util/glheader.h"
#include "blend.h"
#include "buffers.h"

View File

@@ -26,7 +26,7 @@
#ifndef GENMIPMAP_H
#define GENMIPMAP_H
#include "glheader.h"
#include "util/glheader.h"
bool
_mesa_is_valid_generate_texture_mipmap_target(struct gl_context *ctx,

View File

@@ -23,7 +23,7 @@
* Author: Kristian Høgsberg <krh@bitplanet.net>
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "blend.h"
#include "debug_output.h"

View File

@@ -32,7 +32,7 @@
#define GET_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_vertex_array_object;

View File

@@ -24,7 +24,7 @@
#include <stdbool.h>
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "debug_output.h"
#include "get.h"

View File

@@ -1,7 +1,7 @@
#ifndef __GL_CONFIG_H__
#define __GL_CONFIG_H__
#include "main/glheader.h"
#include "util/glheader.h"
/**
* Framebuffer configuration (aka visual / pixelformat)

View File

@@ -25,7 +25,7 @@
#define GLSPIRV_H
#include "compiler/nir/nir.h"
#include "main/glheader.h"
#include "util/glheader.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -52,7 +52,7 @@
#include "GL/gl.h"
#include "compiler/shader_enums.h"
#include "main/config.h"
#include "glheader.h"
#include "util/glheader.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -35,7 +35,7 @@
*/
#include "errors.h"
#include "glheader.h"
#include "util/glheader.h"
#include "hash.h"
#include "util/hash_table.h"
#include "util/u_memory.h"

View File

@@ -34,7 +34,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "glheader.h"
#include "util/glheader.h"
#include "c11/threads.h"
#include "util/simple_mtx.h"

View File

@@ -24,7 +24,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "enums.h"
#include "context.h"
#include "hint.h"

View File

@@ -36,7 +36,7 @@
#ifndef HINT_H
#define HINT_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -30,7 +30,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "colormac.h"
#include "glformats.h"
#include "image.h"

View File

@@ -27,7 +27,7 @@
#define IMAGE_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_pixelstore_attrib;

View File

@@ -24,7 +24,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "enums.h"
#include "light.h"

View File

@@ -29,7 +29,7 @@
#include <stdbool.h>
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_light;

View File

@@ -23,7 +23,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "lines.h"
#include "macros.h"

View File

@@ -33,7 +33,7 @@
#define LINES_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -35,7 +35,7 @@
#include "util/u_math.h"
#include "util/rounding.h"
#include "util/compiler.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "mesa_private.h"

View File

@@ -35,7 +35,7 @@
*/
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "enums.h"

View File

@@ -28,7 +28,7 @@
#define MATRIX_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_matrix_stack;

View File

@@ -31,7 +31,7 @@
#ifndef MESA_PRIVATE_H
#define MESA_PRIVATE_H
#include "glheader.h"
#include "util/glheader.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -26,7 +26,7 @@
#ifndef MIPMAP_H
#define MIPMAP_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_texture_object;

View File

@@ -38,7 +38,7 @@
#include <stdbool.h>
#include "c11/threads.h"
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/glthread.h"
#include "main/consts_exts.h"
#include "main/shader_types.h"

View File

@@ -23,7 +23,7 @@
*/
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/multisample.h"

View File

@@ -26,7 +26,7 @@
#ifndef MULTISAMPLE_H
#define MULTISAMPLE_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;

View File

@@ -43,7 +43,7 @@
#include "errors.h"
#include "glheader.h"
#include "util/glheader.h"
#include "enums.h"
#include "image.h"

View File

@@ -28,7 +28,7 @@
#define PACK_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_pixelstore_attrib;

View File

@@ -32,7 +32,7 @@
#include "errors.h"
#include "glheader.h"
#include "util/glheader.h"
#include "bufferobj.h"
#include "glformats.h"
#include "image.h"

View File

@@ -28,7 +28,7 @@
#define PBO_H
#include "glheader.h"
#include "util/glheader.h"
struct gl_context;
struct gl_pixelstore_attrib;

View File

@@ -35,7 +35,7 @@
*/
#include <stdbool.h>
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "enums.h"
#include "hash.h"

View File

@@ -30,7 +30,7 @@
#ifndef PERFORMANCE_MONITOR_H
#define PERFORMANCE_MONITOR_H
#include "glheader.h"
#include "util/glheader.h"
extern void
_mesa_init_performance_monitors(struct gl_context *ctx);

View File

@@ -27,7 +27,7 @@
*/
#include <stdbool.h>
#include "glheader.h"
#include "util/glheader.h"
#include "context.h"
#include "enums.h"
#include "hash.h"

View File

@@ -29,7 +29,7 @@
#ifndef PERFORMANCE_QUERY_H
#define PERFORMANCE_QUERY_H
#include "glheader.h"
#include "util/glheader.h"
extern void
_mesa_init_performance_queries(struct gl_context *ctx);

View File

@@ -32,7 +32,7 @@
*/
#include <stdbool.h>
#include "main/glheader.h"
#include "util/glheader.h"
#include "main/context.h"
#include "main/draw_validate.h"
#include "main/enums.h"

View File

@@ -26,7 +26,7 @@
#ifndef PIPELINEOBJ_H
#define PIPELINEOBJ_H
#include "glheader.h"
#include "util/glheader.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -28,7 +28,7 @@
* Pixel transfer functions (glPixelZoom, glPixelMap, glPixelTransfer)
*/
#include "glheader.h"
#include "util/glheader.h"
#include "bufferobj.h"
#include "context.h"
#include "macros.h"

Some files were not shown because too many files have changed in this diff Show More