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

Issue 2041943002: SkLeanWindows.h: #include "Windows.h" fewer places (Closed)

Created:
4 years, 6 months ago by hal.canary
Modified:
4 years, 6 months ago
Reviewers:
bungeman-skia, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkLeanWindows.h: #include "Windows.h" fewer places $ git grep -l '<windows.h>' include src include/private/SkLeanWindows.h $ git grep -l SkLeanWindows.h | grep '\.h$' include/ports/SkTypeface_win.h include/utils/win/SkHRESULT.h include/utils/win/SkTScopedComPtr.h include/views/SkEvent.h src/core/SkMathPriv.h src/ports/SkTypeface_win_dw.h src/utils/SkThreadUtils_win.h src/utils/win/SkWGL.h The same for `#include <intrin.h>` that was found in SkMath.h. Those functions that needed it are moved to SkMathPriv.h. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2041943002 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_chromium_compile_dbg_ng,win_chromium_compile_rel_ng Committed: https://skia.googlesource.com/skia/+/4dbbd04314cc0606f8d3bafe515c97e52c180f73

Patch Set 1 : 2016-06-06 (Monday) 13:54:33 EDT #

Total comments: 22

Patch Set 2 : 2016-06-06 (Monday) 14:22:16 EDT #

Total comments: 4

Patch Set 3 : 2016-06-06 (Monday) 15:35:37 EDT #

Patch Set 4 : 2016-06-07 (Tuesday) 11:28:42 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -135 lines) Patch
M bench/MathBench.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M bench/nanobench.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M dm/DM.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M gm/drawbitmaprect.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M gm/drawminibitmaprect.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkMath.h View 2 chunks +0 lines, -53 lines 0 comments Download
M include/core/SkPostConfig.h View 1 chunk +0 lines, -20 lines 0 comments Download
M include/core/SkPreConfig.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrTypes.h View 1 chunk +0 lines, -14 lines 0 comments Download
M include/ports/SkTypeface_win.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A include/private/SkLeanWindows.h View 1 chunk +34 lines, -0 lines 0 comments Download
M include/private/SkRecords.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M include/utils/win/SkAutoCoInitialize.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M include/utils/win/SkHRESULT.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M include/utils/win/SkIStream.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M include/utils/win/SkTScopedComPtr.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M include/views/SkEvent.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkEdge.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkMathPriv.h View 1 chunk +66 lines, -0 lines 0 comments Download
M src/core/SkMipMap.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkScan_Hairline.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkSemaphore.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkTSort.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkTaskGroup.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkThreadID.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkTime.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M src/effects/gradients/SkClampRange.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrGpu.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrPathUtils.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrRectanizer_pow2.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrResourceProvider.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrTextureProvider.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/batches/GrAtlasTextBatch.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ports/SkDebug_win.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M src/ports/SkFontHost_mac.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/ports/SkOSFile_win.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkOSLibrary_win.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkTLS_win.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/ports/SkTypeface_win_dw.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/utils/SkTextureCompressor.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/utils/SkTextureCompressor_ASTC.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/utils/SkThreadUtils_win.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/utils/win/SkAutoCoInitialize.cpp View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M src/utils/win/SkIStream.cpp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M src/utils/win/SkWGL.h View 2 chunks +2 lines, -10 lines 0 comments Download
M src/views/win/SkOSWindow_win.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/views/win/skia_win.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M src/xps/SkXPSDevice.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/ClipStackTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PathCoverageTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/PathTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/SubsetPath.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M tools/CrashHandler.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tools/gpu/GrTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 49 (26 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/1
4 years, 6 months ago (2016-06-06 17:35:37 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/1
4 years, 6 months ago (2016-06-06 17:36:16 UTC) #6
hal.canary
PTAL
4 years, 6 months ago (2016-06-06 17:37:17 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/3016)
4 years, 6 months ago (2016-06-06 17:43:17 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/60001
4 years, 6 months ago (2016-06-06 17:56:07 UTC) #12
bungeman-skia
Mostly nits here, I'll have to take a look at which headers things are supposed ...
4 years, 6 months ago (2016-06-06 18:11:59 UTC) #15
hal.canary
done. https://codereview.chromium.org/2041943002/diff/60001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/2041943002/diff/60001/dm/DM.cpp#newcode26 dm/DM.cpp:26: #include "SkLeanWindows.h" On 2016/06/06 18:11:59, bungeman-skia wrote: > ...
4 years, 6 months ago (2016-06-06 18:22:33 UTC) #16
hal.canary
On 2016/06/06 18:11:59, bungeman-skia wrote: > Mostly nits here, I'll have to take a look ...
4 years, 6 months ago (2016-06-06 18:32:02 UTC) #17
bungeman-skia
https://codereview.chromium.org/2041943002/diff/60001/include/utils/win/SkIStream.h File include/utils/win/SkIStream.h (right): https://codereview.chromium.org/2041943002/diff/60001/include/utils/win/SkIStream.h#newcode17 include/utils/win/SkIStream.h:17: #include <ole2.h> I think we still need SkLeanWindows here ...
4 years, 6 months ago (2016-06-06 18:45:56 UTC) #18
bungeman-skia
Windows headers ¯\_(ツ)_/¯ https://codereview.chromium.org/2041943002/diff/80001/src/utils/win/SkIStream.cpp File src/utils/win/SkIStream.cpp (right): https://codereview.chromium.org/2041943002/diff/80001/src/utils/win/SkIStream.cpp#newcode11 src/utils/win/SkIStream.cpp:11: #include <ole2.h> nit: same here, I ...
4 years, 6 months ago (2016-06-06 18:56:27 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/100001
4 years, 6 months ago (2016-06-06 19:38:25 UTC) #21
hal.canary
https://codereview.chromium.org/2041943002/diff/60001/include/utils/win/SkIStream.h File include/utils/win/SkIStream.h (right): https://codereview.chromium.org/2041943002/diff/60001/include/utils/win/SkIStream.h#newcode17 include/utils/win/SkIStream.h:17: #include <ole2.h> On 2016/06/06 18:45:56, bungeman-skia wrote: > I ...
4 years, 6 months ago (2016-06-06 19:38:28 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-06 19:59:35 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/120001
4 years, 6 months ago (2016-06-07 15:29:52 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-07 15:45:07 UTC) #31
hal.canary
adding reed@ for API changes. I pulled some functions out of SkMath.h; moved to SkMathPriv.h ...
4 years, 6 months ago (2016-06-07 15:55:47 UTC) #33
reed1
automatic API lgtm for removing public code
4 years, 6 months ago (2016-06-07 16:04:08 UTC) #34
bungeman-skia
I say this lgtm when the Chromium Windows bots are happy.
4 years, 6 months ago (2016-06-07 22:28:50 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/120001
4 years, 6 months ago (2016-06-07 22:36:37 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/120001
4 years, 6 months ago (2016-06-07 22:38:07 UTC) #42
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 00:18:51 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041943002/120001
4 years, 6 months ago (2016-06-08 00:19:49 UTC) #47
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 00:21:15 UTC) #49
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://skia.googlesource.com/skia/+/4dbbd04314cc0606f8d3bafe515c97e52c180f73

Powered by Google App Engine
This is Rietveld 408576698