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

Issue 1978573003: Add OpenGL context to Viewer. (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Separate out platform-dependent bits #

Patch Set 3 : Cleaned up and ready to go #

Patch Set 4 : Clean up some nits #

Patch Set 5 : Fix Android stuff #

Total comments: 2

Patch Set 6 : Address comments #

Total comments: 6

Patch Set 7 : Move comment #

Patch Set 8 : Add file #

Patch Set 9 : Rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -80 lines) Patch
M src/gpu/vk/GrVkBuffer.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/viewer/Viewer.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M tools/viewer/Viewer.cpp View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -2 lines 0 comments Download
M tools/viewer/sk_app/DisplayParams.h View 1 chunk +5 lines, -3 lines 0 comments Download
A tools/viewer/sk_app/GLWindowContext.h View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A tools/viewer/sk_app/GLWindowContext.cpp View 1 2 3 4 5 6 1 chunk +112 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.h View 1 2 3 4 5 3 chunks +11 lines, -17 lines 0 comments Download
M tools/viewer/sk_app/VulkanWindowContext.cpp View 1 2 3 4 5 8 chunks +20 lines, -9 lines 0 comments Download
M tools/viewer/sk_app/Window.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -3 lines 0 comments Download
M tools/viewer/sk_app/Window.cpp View 1 2 3 4 5 6 7 8 2 chunks +1 line, -2 lines 0 comments Download
M tools/viewer/sk_app/WindowContext.h View 1 2 3 4 5 1 chunk +29 lines, -5 lines 0 comments Download
A tools/viewer/sk_app/WindowContext.cpp View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/android/Window_android.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/sk_app/android/Window_android.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A tools/viewer/sk_app/win/GLWindowContext_win.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A tools/viewer/sk_app/win/GLWindowContext_win.cpp View 1 2 1 chunk +110 lines, -0 lines 0 comments Download
M tools/viewer/sk_app/win/VulkanWindowContext_win.h View 1 2 3 1 chunk +0 lines, -28 lines 0 comments Download
M tools/viewer/sk_app/win/VulkanWindowContext_win.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M tools/viewer/sk_app/win/Window_win.h View 2 3 2 chunks +7 lines, -1 line 0 comments Download
M tools/viewer/sk_app/win/Window_win.cpp View 1 2 3 2 chunks +13 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
jvanverth1
I think this will still compile on Windows after the Android fixes, but my machine ...
4 years, 7 months ago (2016-05-16 18:22:02 UTC) #3
jvanverth1
On 2016/05/16 18:22:02, jvanverth1 wrote: > I think this will still compile on Windows after ...
4 years, 7 months ago (2016-05-16 18:22:27 UTC) #4
jvanverth1
On 2016/05/16 18:22:27, jvanverth1 wrote: > On 2016/05/16 18:22:02, jvanverth1 wrote: > > I think ...
4 years, 7 months ago (2016-05-16 18:53:35 UTC) #5
Brian Osman
https://codereview.chromium.org/1978573003/diff/80001/tools/viewer/sk_app/GLWindowContext.cpp File tools/viewer/sk_app/GLWindowContext.cpp (right): https://codereview.chromium.org/1978573003/diff/80001/tools/viewer/sk_app/GLWindowContext.cpp#newcode90 tools/viewer/sk_app/GLWindowContext.cpp:90: SkSurfaceProps props(fSurfaceProps); We should be setting the kGammaCorrect_Flag on ...
4 years, 7 months ago (2016-05-16 18:59:44 UTC) #6
jvanverth1
Adding djsollen@ as well, for thoughts on how this affects Android.
4 years, 7 months ago (2016-05-16 19:04:01 UTC) #8
bsalomon
Should we keep the deep color blit stuff out of the backend GL/vk code and ...
4 years, 7 months ago (2016-05-16 19:22:37 UTC) #9
jvanverth1
On 2016/05/16 19:22:37, bsalomon wrote: > Should we keep the deep color blit stuff out ...
4 years, 7 months ago (2016-05-16 20:36:39 UTC) #10
jvanverth1
Updated to address comments. PTAL. https://codereview.chromium.org/1978573003/diff/80001/tools/viewer/sk_app/GLWindowContext.cpp File tools/viewer/sk_app/GLWindowContext.cpp (right): https://codereview.chromium.org/1978573003/diff/80001/tools/viewer/sk_app/GLWindowContext.cpp#newcode90 tools/viewer/sk_app/GLWindowContext.cpp:90: SkSurfaceProps props(fSurfaceProps); On 2016/05/16 ...
4 years, 7 months ago (2016-05-17 15:37:18 UTC) #11
Brian Osman
lgtm, modulo minor comments/questions. https://codereview.chromium.org/1978573003/diff/100001/tools/viewer/Viewer.cpp File tools/viewer/Viewer.cpp (right): https://codereview.chromium.org/1978573003/diff/100001/tools/viewer/Viewer.cpp#newcode119 tools/viewer/Viewer.cpp:119: // TODO: get Vulkan -> ...
4 years, 7 months ago (2016-05-17 17:32:11 UTC) #12
jvanverth1
https://codereview.chromium.org/1978573003/diff/100001/tools/viewer/Viewer.cpp File tools/viewer/Viewer.cpp (right): https://codereview.chromium.org/1978573003/diff/100001/tools/viewer/Viewer.cpp#newcode119 tools/viewer/Viewer.cpp:119: // TODO: get Vulkan -> OpenGL working without swapchain ...
4 years, 7 months ago (2016-05-17 17:59:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978573003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978573003/120001
4 years, 7 months ago (2016-05-17 18:56:08 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://skia.googlesource.com/skia/+/56a11e4d6f3d436a3c2497c9c9e71a117d78a93f
4 years, 7 months ago (2016-05-17 19:15:53 UTC) #18
jvanverth1
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1990893002/ by jvanverth@google.com. ...
4 years, 7 months ago (2016-05-18 14:01:04 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978573003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978573003/160001
4 years, 7 months ago (2016-05-20 12:44:16 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 13:01:11 UTC) #25
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/af236b5aa9e7d71d59bee6533d16deb76e9d098b

Powered by Google App Engine
This is Rietveld 408576698