Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Issue 2224263002: Reland of Make ui/gl/... consistently use on Swiftshader includes on Windows official builds. (Closed)

Created:
4 years, 4 months ago by robliao
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Make ui/gl/... consistently use on Swiftshader includes on Windows official builds. (patchset #1 id:1 of https://codereview.chromium.org/2226153002/ ) Reason for revert: Appears to have caused FAILED: obj/ui/gl/init/init/gl_initializer_ozone.o ../../ui/gl/init/gl_initializer_ozone.cc:47:15: error: cannot initialize a parameter of type 'EGLNativeDisplayType' (aka '_XDisplay *') with an rvalue of type 'intptr_t' (aka 'long') GetSurfaceFactory()->GetNativeDisplay())) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../ui/gl/gl_surface_egl.h:58:53: note: passing argument to parameter 'native_display' here static bool InitializeOneOff(EGLNativeDisplayType native_display); ^ 1 error generated. Original issue's description: > Revert of Make ui/gl/... consistently use on Swiftshader includes on Windows official builds. (patchset #3 id:40001 of https://codereview.chromium.org/2221063003/ ) > > Reason for revert: > This break the Win official builds, e.g.: > > C:\b\build\slave\chromium-win-pgo-builder\build\src\buildtools\win\gn.exe gen //out/Release --check > -> returned 1 > ERROR at //ui/gl/BUILD.gn:236:7: Replacing nonempty list. > include_dirs = [ "//third_party/swiftshader/include" ] > ^----------- > This overwrites a previously-defined nonempty list (length 1). > See //ui/gl/BUILD.gn:132:18: for previous definition > include_dirs = [ "//third_party/mesa/src/include" ] > ^---------------------------------- > with another one (length 1). Did you mean "+=" to append instead? If you > really want to do this, do > foo = [] > before reassigning. > See //BUILD.gn:298:7: which caused the file to be included. > "//ui/gl:gl_unittests", > ^--------------------- > > Original issue's description: > > Make 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} > > TBR=kylechar@chromium.org,piman@chromium.org,sievers@chromium.org,kmarshall@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG= > > Committed: https://crrev.com/b6be4d4a04a029ad14668a587be020d9629c1b69 > Cr-Commit-Position: refs/heads/master@{#410507} TBR=kylechar@chromium.org,piman@chromium.org,sievers@chromium.org,kmarshall@chromium.org,sebmarchand@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=635702 Committed: https://crrev.com/b71df307702ce63556b7b96df0178c1fcc9b5eda Cr-Commit-Position: refs/heads/master@{#410517}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M ui/gl/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/init/BUILD.gn View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
robliao
Created Reland of Make ui/gl/... consistently use on Swiftshader includes on Windows official builds.
4 years, 4 months ago (2016-08-09 01:42:56 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2224263002/1
4 years, 4 months ago (2016-08-09 01:43:44 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-09 01:45:54 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b71df307702ce63556b7b96df0178c1fcc9b5eda Cr-Commit-Position: refs/heads/master@{#410517}
4 years, 4 months ago (2016-08-09 01:47:46 UTC) #8
hshi1
Note: I just noticed this CL conflicts with a pending CL of mine that was ...
4 years, 4 months ago (2016-08-09 02:28:26 UTC) #10
robliao
4 years, 4 months ago (2016-08-09 02:48:09 UTC) #11
Message was sent while issue was closed.
Yeah, I guess there's quite a few sync places. We were chatting on this at
#chromium IRC.

On Monday, August 8, 2016, <hshi@chromium.org> wrote:

> Note: I just noticed this CL conflicts with a pending CL of mine that was
> intended to fix the same thing (https://codereview.chromium.
> org/2225273002/)
>
> I wasn't aware that a parallel effort was going on because it was not
> communicated on the go/crosoncall <https://goto.google.com/crosoncall>.
> But thanks for landing, I have abandoned
> mine.
>
> https://codereview.chromium.org/2224263002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698