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

Issue 9722032: aura: Use platform independent skia::PlatformCanvas when possible. (Closed)

Created:
8 years, 9 months ago by reveman
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Ian Vollick, piman+watch_chromium.org, dhollowa+watch_chromium.org, jonathan.backer
Visibility:
Public.

Description

aura: Use platform independent canvas by default. BUG=111587 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128039 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128354

Patch Set 1 #

Patch Set 2 : Use platform independent PlatformCanvas when use_aura=1 #

Total comments: 3

Patch Set 3 : Use BitmapPlatformDevice for data and fix gyp brokenness #

Patch Set 4 : Split into two changes #

Patch Set 5 : Add WIN32 support to platform_canvas_skia.cc #

Patch Set 6 : Consistently check return value of PlatformCanvas::initialize. #

Total comments: 1

Patch Set 7 : Add and use_canvas_skia == 1 to skia/skia.gyp #

Patch Set 8 : Add necessary platform specific functions to platform_canvas_skia.cc #

Patch Set 9 : add comment referencing http://code.google.com/p/chromium/issues/detail?id=119555 #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -0 lines) Patch
A skia/ext/platform_canvas_skia.cc View 1 2 3 4 5 6 7 8 1 chunk +121 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Alexei Svitkine (slow)
LGTM++
8 years, 9 months ago (2012-03-21 14:16:36 UTC) #1
reveman
This switches aura over to always using platform independent SkCanvas and ui/gfx/canvas_skia.cc instead of ui/gfx/canvas_linux.cc. ...
8 years, 9 months ago (2012-03-21 14:23:35 UTC) #2
piman
https://chromiumcodereview.appspot.com/9722032/diff/2001/skia/skia.gyp File skia/skia.gyp (right): https://chromiumcodereview.appspot.com/9722032/diff/2001/skia/skia.gyp#newcode864 skia/skia.gyp:864: ['include', 'ext/platform_canvas_skia\\.cc$'], Unless I missed something, this will compile ...
8 years, 9 months ago (2012-03-21 16:54:19 UTC) #3
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/9722032/diff/2001/ui/ui.gyp File ui/ui.gyp (right): https://chromiumcodereview.appspot.com/9722032/diff/2001/ui/ui.gyp#newcode376 ui/ui.gyp:376: ['use_canvas_skia==1 or use_aura==1', { On 2012/03/21 16:54:19, piman wrote: ...
8 years, 9 months ago (2012-03-21 16:59:20 UTC) #4
google-reveman
> Also, maybe make it a separate change to turn use_canvas_skia=1 on by > default ...
8 years, 9 months ago (2012-03-21 17:36:43 UTC) #5
reveman
This is now only includes the skia::PlatformCanvas part.
8 years, 9 months ago (2012-03-21 18:18:17 UTC) #6
Alexei Svitkine (slow)
LGTM
8 years, 9 months ago (2012-03-21 18:28:23 UTC) #7
piman
lgtm
8 years, 9 months ago (2012-03-21 18:40:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/9722032/8004
8 years, 9 months ago (2012-03-21 18:46:51 UTC) #9
commit-bot: I haz the power
Change committed as 128039
8 years, 9 months ago (2012-03-21 20:02:08 UTC) #10
reveman
This needs to land after https://chromiumcodereview.appspot.com/9813017/ or things break badly.
8 years, 9 months ago (2012-03-21 21:20:59 UTC) #11
Alexei Svitkine (slow)
https://chromiumcodereview.appspot.com/9722032/diff/1004/skia/skia.gyp File skia/skia.gyp (right): https://chromiumcodereview.appspot.com/9722032/diff/1004/skia/skia.gyp#newcode859 skia/skia.gyp:859: [ 'use_aura == 1', { Maybe make this 'use_aura ...
8 years, 9 months ago (2012-03-21 21:23:59 UTC) #12
reveman
hi, need a lgtm on latest patch. had to add some more ifdef'd code to ...
8 years, 9 months ago (2012-03-22 20:11:53 UTC) #13
Alexei Svitkine (slow)
LGTM. Can you add a comment to the file referencing the bug?
8 years, 9 months ago (2012-03-22 20:16:46 UTC) #14
google-reveman
sure, I'll do that. somehow this just landed (don't remember asking for it to be ...
8 years, 9 months ago (2012-03-22 20:19:35 UTC) #15
reveman
hasn't landed yet. I was confused by the earlier version having been reverted. I added ...
8 years, 9 months ago (2012-03-22 20:30:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/9722032/14002
8 years, 9 months ago (2012-03-22 22:41:28 UTC) #17
commit-bot: I haz the power
8 years, 9 months ago (2012-03-23 00:13:22 UTC) #18
Change committed as 128354

Powered by Google App Engine
This is Rietveld 408576698