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

Issue 1017593005: Add a basic custom painting facility to Sky (Closed)

Created:
5 years, 9 months ago by abarth-chromium
Modified:
5 years, 9 months ago
Reviewers:
ojan
CC:
mojo-reviews_chromium.org, ojan, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Add a basic custom painting facility to Sky This CL adds just enough custom painting to Sky to make sky/examples/painting/circle.sky draw a circle. Over time, we should be able to elaborate this system into something interesting and to make it actually work in a reasonable way. R=ojan@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/060a6ba51889aad8b4bc400dd7503cf0415b4677

Patch Set 1 #

Patch Set 2 : Add missing files #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -203 lines) Patch
M sky/engine/bindings/scripts/dart_callback_interface.py View 1 chunk +5 lines, -0 lines 0 comments Download
M sky/engine/bindings/scripts/dart_types.py View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/bindings/scripts/templates/callback_interface_dart.template View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/core.gni View 2 chunks +3 lines, -0 lines 0 comments Download
M sky/engine/core/dom/Element.h View 2 chunks +3 lines, -0 lines 0 comments Download
M sky/engine/core/dom/Element.cpp View 4 chunks +36 lines, -0 lines 1 comment Download
M sky/engine/core/dom/Element.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M sky/engine/core/painting/Paint.h View 1 chunk +1 line, -1 line 1 comment Download
A sky/engine/core/painting/PaintingCallback.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
A + sky/engine/core/painting/PaintingCallback.cpp View 1 1 chunk +2 lines, -6 lines 0 comments Download
A + sky/engine/core/painting/PaintingCallback.idl View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sky/engine/core/painting/PaintingContext.h View 2 chunks +18 lines, -4 lines 0 comments Download
M sky/engine/core/painting/PaintingContext.cpp View 2 chunks +10 lines, -3 lines 0 comments Download
M sky/engine/core/painting/PaintingContext.idl View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/rendering/RenderBox.h View 2 chunks +3 lines, -0 lines 0 comments Download
M sky/engine/core/rendering/RenderBox.cpp View 1 chunk +6 lines, -0 lines 2 comments Download
M sky/engine/platform/graphics/DisplayList.h View 2 chunks +1 line, -4 lines 0 comments Download
M sky/engine/platform/graphics/DisplayList.cpp View 2 chunks +1 line, -7 lines 0 comments Download
M sky/engine/platform/graphics/GraphicsContext.h View 5 chunks +2 lines, -12 lines 0 comments Download
M sky/engine/platform/graphics/GraphicsContext.cpp View 4 chunks +5 lines, -72 lines 0 comments Download
M sky/engine/platform/graphics/GraphicsContextTest.cpp View 1 chunk +0 lines, -78 lines 0 comments Download
M sky/engine/platform/graphics/filters/SourceGraphic.h View 2 chunks +1 line, -4 lines 0 comments Download
M sky/engine/platform/graphics/filters/SourceGraphic.cpp View 1 chunk +1 line, -9 lines 0 comments Download
A sky/examples/painting/circle.sky View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
abarth-chromium
5 years, 9 months ago (2015-03-19 22:10:12 UTC) #1
ojan
lgtm. I just left some comments for things I noticed as I was reviewing of ...
5 years, 9 months ago (2015-03-19 22:30:04 UTC) #2
abarth-chromium
https://codereview.chromium.org/1017593005/diff/20001/sky/engine/core/rendering/RenderBox.cpp File sky/engine/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/1017593005/diff/20001/sky/engine/core/rendering/RenderBox.cpp#newcode992 sky/engine/core/rendering/RenderBox.cpp:992: // TODO(abarth): Currently we only draw m_customPainting if we ...
5 years, 9 months ago (2015-03-19 22:34:27 UTC) #3
abarth-chromium
5 years, 9 months ago (2015-03-19 23:00:25 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
060a6ba51889aad8b4bc400dd7503cf0415b4677 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698