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

Issue 2210603003: Get Mac viewer working with SDL (Closed)

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

Description

Get Mac viewer working with SDL Also fixes SkiaSDLExample. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2210603003 Committed: https://skia.googlesource.com/skia/+/1ba1d372c2727db56021d0687825320b12d10d4e

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address comments #

Patch Set 3 : Missed a couple #

Total comments: 2

Patch Set 4 : Fix patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -310 lines) Patch
M example/SkiaSDLExample.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M gyp/viewer.gyp View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M src/views/mac/skia_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M third_party/libsdl/mac/sdl_mac.gypi View 1 chunk +2 lines, -5 lines 0 comments Download
M tools/viewer/sk_app/mac/GLWindowContext_mac.cpp View 1 2 3 chunks +29 lines, -47 lines 0 comments Download
M tools/viewer/sk_app/mac/WindowContextFactory_mac.h View 2 chunks +3 lines, -5 lines 0 comments Download
M tools/viewer/sk_app/mac/Window_mac.h View 1 2 3 2 chunks +26 lines, -20 lines 0 comments Download
M tools/viewer/sk_app/mac/Window_mac.cpp View 1 2 3 4 chunks +118 lines, -181 lines 0 comments Download
M tools/viewer/sk_app/mac/main_mac.cpp View 1 1 chunk +29 lines, -48 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
jvanverth1
I'm not 100% happy with this. First, the event loop seems to be about as ...
4 years, 4 months ago (2016-08-03 20:52:00 UTC) #4
robertphillips
https://codereview.chromium.org/2210603003/diff/1/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp File tools/viewer/sk_app/mac/GLWindowContext_mac.cpp (right): https://codereview.chromium.org/2210603003/diff/1/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp#newcode35 tools/viewer/sk_app/mac/GLWindowContext_mac.cpp:35: SDL_GLContext fGLContext; typedef GLWindowContext INHERITED; ? https://codereview.chromium.org/2210603003/diff/1/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp#newcode38 tools/viewer/sk_app/mac/GLWindowContext_mac.cpp:38: GLWindowContext_mac::GLWindowContext_mac(const ...
4 years, 4 months ago (2016-08-03 21:22:05 UTC) #5
jvanverth1
https://codereview.chromium.org/2210603003/diff/1/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp File tools/viewer/sk_app/mac/GLWindowContext_mac.cpp (right): https://codereview.chromium.org/2210603003/diff/1/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp#newcode35 tools/viewer/sk_app/mac/GLWindowContext_mac.cpp:35: SDL_GLContext fGLContext; On 2016/08/03 21:22:04, robertphillips wrote: > typedef ...
4 years, 4 months ago (2016-08-04 15:28:33 UTC) #6
robertphillips
lgtm https://codereview.chromium.org/2210603003/diff/40001/tools/viewer/sk_app/mac/WindowContextFactory_mac.h File tools/viewer/sk_app/mac/WindowContextFactory_mac.h (right): https://codereview.chromium.org/2210603003/diff/40001/tools/viewer/sk_app/mac/WindowContextFactory_mac.h#newcode11 tools/viewer/sk_app/mac/WindowContextFactory_mac.h:11: Can we just predeclare SDL_Window ?
4 years, 4 months ago (2016-08-04 15:33:15 UTC) #7
jvanverth1
https://codereview.chromium.org/2210603003/diff/40001/tools/viewer/sk_app/mac/WindowContextFactory_mac.h File tools/viewer/sk_app/mac/WindowContextFactory_mac.h (right): https://codereview.chromium.org/2210603003/diff/40001/tools/viewer/sk_app/mac/WindowContextFactory_mac.h#newcode11 tools/viewer/sk_app/mac/WindowContextFactory_mac.h:11: On 2016/08/04 15:33:15, robertphillips wrote: > Can we just ...
4 years, 4 months ago (2016-08-04 17:14:11 UTC) #8
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/2210603003/40001
4 years, 4 months ago (2016-08-04 17:14:25 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot/builds/11) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on master.client.skia (JOB_FAILED, ...
4 years, 4 months ago (2016-08-04 17:16:05 UTC) #12
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/2210603003/60001
4 years, 4 months ago (2016-08-04 18:35:12 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 19:30:34 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/1ba1d372c2727db56021d0687825320b12d10d4e

Powered by Google App Engine
This is Rietveld 408576698