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:
@@ -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('')
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "main/glheader.h"
|
||||
#include "util/glheader.h"
|
||||
|
||||
#include "glapi/glapi.h"
|
||||
#include "glapitable.h"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "../../../mesa/main/glheader.h"
|
||||
#include "util/glheader.h"
|
||||
|
||||
#include "glapi/glapi.h"
|
||||
#include "glapitable.h"
|
||||
|
||||
Reference in New Issue
Block a user