Skip to content

Conversation

@JiangYizhou
Copy link
Contributor

This patch makes ANGLE backend build with the other backends and removes standalone
ANGLE build.

First, solve conflict of ANGLE, dawn and d3d12 backend
EGLWindow.h is from angle util, which causes microsoft namespace
can't be find. However, EGLWindow isn't used at all by Aquarium,
so the header should be removed.

Second, solve conflict of ANGLE and OpenGL backend
1.Write own own gl header and gl functions
2.Load ANGLE dll on Windows by GetProcAddress
3.Load OpenGL dll by glfwGetProcAddress
4.Replace gl library of imgui by our own library
5.The egl headers of ANGLE isn't conflict with GL functions, so egl
headers are maintained.

Third, Update README.md and Build.gn

Extra semicolon warning error is fixed in latest shaderc, and it's a
third party of dawn. So we have to move shaderc to upper folder, and
maintain shaderc by Aquarium.

This patch also add .gitattributes file to specify format of files because
the ending of line should be specified to LF, otherwise it will become
CRLF on Windows.
Update shaderc to latest commit
…ution

This patch makes ANGLE backend build with the other backends and removes standalone
ANGLE build.

First, solve conflict of ANGLE, dawn and d3d12 backend
EGLWindow.h is from angle util, which causes microsoft namespace
can't be find. However, EGLWindow isn't used at all by Aquarium,
so the header should be removed.

Second, solve conflict of ANGLE and OpenGL backend
1.Write own own gl header and gl functions
2.Load ANGLE dll on Windows by GetProcAddress
3.Load OpenGL dll by glfwGetProcAddress
4.Replace gl library of imgui by our own library
5.The egl headers of ANGLE isn't conflict with GL functions, so egl
headers are maintained.

Third, Update README.md and Build.gn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants