DescriptionMake ui/gl/... consistently use on Swiftshader includes on Windows.
The existing code specifies the Swiftshader include directory for
//ui/gl/init . The Swiftshader include directory has its own
EGL headers, which collide with the Khronos EGL headers (which are
different due to Chromium-specific modifications.)
The net effect is that //ui/gl's typedefs may collide with
typdefs of //ui/gl/init/... In this case, EGLNativeDisplayType
is incompatible with USE_OZONE=1 (intptr_t in Khronos; XDisplay* in
Swiftshader.)
Moving the Swiftshader include dir to all of //ui/gl will keep things
consistent; making it Winows-only ensures that we aren't picking
up the dependency on unsupported platforms.
R=kylechar@chromium.org,piman@chromium.org,sievers@chromium.org
CC=wez@chromium.org,lethalantidote@chromium.org
BUG=
Committed: https://crrev.com/adbb93f546038fd7d4c809a70f8dd10d6ad2add0
Cr-Commit-Position: refs/heads/master@{#410493}
Patch Set 1 #
Total comments: 2
Patch Set 2 : kyle feedback #Patch Set 3 : Make swiftshader build on official builds only #Messages
Total messages: 15 (7 generated)
|