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

Issue 2169543002: Use Windowing system-specific WindowContext factories. (Closed)

Created:
4 years, 5 months ago by bsalomon
Modified:
4 years, 4 months ago
Reviewers:
jvanverth1
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Use Windowing system-specific WindowContext factories. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2169543002 Committed: https://skia.googlesource.com/skia/+/d1bdd1fcbd308afb9903f39d231742f5c951cf07

Patch Set 1 #

Patch Set 2 : some cleanup #

Total comments: 1

Patch Set 3 : Android compiling, but is it working? #

Patch Set 4 : rebase #

Patch Set 5 : Now with windows #

Patch Set 6 : minor #

Patch Set 7 : Keep mac compiling #

Total comments: 10

Patch Set 8 : Address comments #

Patch Set 9 : more xlib #

Unified diffs Side-by-side diffs Delta from patch set Stats (+575 lines, -597 lines) Patch
M include/gpu/vk/GrVkBackendContext.h View 1 chunk +5 lines, -4 lines 0 comments Download
M src/gpu/vk/GrVkBackendContext.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M tools/viewer/sk_app/GLWindowContext.h View 1 2 chunks +10 lines, -6 lines 0 comments Download
M tools/viewer/sk_app/GLWindowContext.cpp View 2 chunks +7 lines, -11 lines 0 comments Download
M tools/viewer/sk_app/RasterWindowContext.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.h View 1 2 chunks +7 lines, -16 lines 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.cpp View 3 chunks +5 lines, -9 lines 0 comments Download
D tools/viewer/sk_app/android/GLWindowContext_android.h View 1 2 1 chunk +0 lines, -45 lines 0 comments Download
M tools/viewer/sk_app/android/GLWindowContext_android.cpp View 1 2 3 chunks +47 lines, -29 lines 0 comments Download
D tools/viewer/sk_app/android/RasterWindowContext_android.h View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
M tools/viewer/sk_app/android/RasterWindowContext_android.cpp View 1 2 2 chunks +39 lines, -17 lines 0 comments Download
M tools/viewer/sk_app/android/VulkanWindowContext_android.cpp View 1 2 3 4 5 6 7 1 chunk +37 lines, -33 lines 0 comments Download
A tools/viewer/sk_app/android/WindowContextFactory_android.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
D tools/viewer/sk_app/android/WindowContext_android.h View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M tools/viewer/sk_app/android/Window_android.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tools/viewer/sk_app/android/Window_android.cpp View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
D tools/viewer/sk_app/mac/GLWindowContext_mac.h View 1 2 3 4 5 6 1 chunk +0 lines, -42 lines 0 comments Download
M tools/viewer/sk_app/mac/GLWindowContext_mac.cpp View 1 2 3 4 5 6 3 chunks +49 lines, -27 lines 0 comments Download
A tools/viewer/sk_app/mac/WindowContextFactory_mac.h View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/mac/Window_mac.h View 1 2 3 4 5 6 1 chunk +0 lines, -9 lines 0 comments Download
M tools/viewer/sk_app/mac/Window_mac.cpp View 1 2 3 4 5 6 2 chunks +8 lines, -7 lines 0 comments Download
D tools/viewer/sk_app/unix/GLWindowContext_unix.h View 1 chunk +0 lines, -39 lines 0 comments Download
M tools/viewer/sk_app/unix/GLWindowContext_unix.cpp View 1 2 3 4 5 6 7 3 chunks +56 lines, -37 lines 0 comments Download
M tools/viewer/sk_app/unix/VulkanWindowContext_unix.cpp View 1 2 3 4 5 6 7 1 chunk +59 lines, -55 lines 0 comments Download
A tools/viewer/sk_app/unix/WindowContextFactory_unix.h View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/unix/Window_unix.h View 8 1 chunk +0 lines, -6 lines 0 comments Download
M tools/viewer/sk_app/unix/Window_unix.cpp View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -9 lines 0 comments Download
D tools/viewer/sk_app/win/GLWindowContext_win.h View 1 2 3 4 1 chunk +0 lines, -37 lines 0 comments Download
M tools/viewer/sk_app/win/GLWindowContext_win.cpp View 1 2 3 4 2 chunks +44 lines, -27 lines 0 comments Download
M tools/viewer/sk_app/win/VulkanWindowContext_win.cpp View 1 2 3 4 5 2 chunks +48 lines, -40 lines 0 comments Download
A tools/viewer/sk_app/win/WindowContextFactory_win.h View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/win/Window_win.h View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M tools/viewer/sk_app/win/Window_win.cpp View 1 2 3 4 2 chunks +3 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
bsalomon
This is the direction I was thinking about going with WindowContext creation. So far this ...
4 years, 5 months ago (2016-07-20 17:05:06 UTC) #3
bsalomon
This now works on Android, Linux, and Windows. I saw there are some Mac files ...
4 years, 5 months ago (2016-07-21 20:52:52 UTC) #4
jvanverth1
On 2016/07/21 20:52:52, bsalomon wrote: > This now works on Android, Linux, and Windows. I ...
4 years, 5 months ago (2016-07-22 14:18:24 UTC) #6
bsalomon
Ok this now has changes to continue building on Mac and is ready for review.
4 years, 5 months ago (2016-07-25 15:04:01 UTC) #7
jvanverth1
Some minor stuff: https://codereview.chromium.org/2169543002/diff/120001/tools/viewer/sk_app/android/GLWindowContext_android.cpp File tools/viewer/sk_app/android/GLWindowContext_android.cpp (right): https://codereview.chromium.org/2169543002/diff/120001/tools/viewer/sk_app/android/GLWindowContext_android.cpp#newcode18 tools/viewer/sk_app/android/GLWindowContext_android.cpp:18: namespace { Do we need a ...
4 years, 4 months ago (2016-07-26 17:54:40 UTC) #8
bsalomon
https://codereview.chromium.org/2169543002/diff/120001/tools/viewer/sk_app/android/GLWindowContext_android.cpp File tools/viewer/sk_app/android/GLWindowContext_android.cpp (right): https://codereview.chromium.org/2169543002/diff/120001/tools/viewer/sk_app/android/GLWindowContext_android.cpp#newcode18 tools/viewer/sk_app/android/GLWindowContext_android.cpp:18: namespace { On 2016/07/26 17:54:40, jvanverth1 wrote: > Do ...
4 years, 4 months ago (2016-07-26 18:20:51 UTC) #9
jvanverth1
lgtm
4 years, 4 months ago (2016-07-26 18:34:42 UTC) #10
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/2169543002/160001
4 years, 4 months ago (2016-07-26 18:35:57 UTC) #12
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://skia.googlesource.com/skia/+/d1bdd1fcbd308afb9903f39d231742f5c951cf07
4 years, 4 months ago (2016-07-26 19:02:53 UTC) #14
tomhudson
4 years, 4 months ago (2016-07-27 12:22:03 UTC) #15
Message was sent while issue was closed.
This CL apparently broke the Android framework.

Powered by Google App Engine
This is Rietveld 408576698