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

Issue 22796028: Updating Chromium to Skia SkBaseDevice/SkBitmapDevice split (Closed)

Created:
7 years, 4 months ago by robertphillips
Modified:
7 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, sievers+watch_chromium.org, joi+watch-content_chromium.org, danakj+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, cc-bugs_chromium.org, James Su, android-webview-reviews_chromium.org, jochen+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Skia is going to Split the SkDevice class into SkBaseDevice and SkBitmapDevice. Right now Skia has typedefs redirecting SkBaseDevice and SkBitmapDevice to SkDevice. This CL begins the Chromium-side renaming process in preparation for the real change (https://codereview.chromium.org/22978012/) BUG=278148 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219568

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Total comments: 24

Patch Set 3 : Address code review issues (line length & comments) #

Patch Set 4 : Minor cleanup #

Patch Set 5 : Second upload attempt due to tool crash (missing base files) #

Patch Set 6 : Added TODOs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -168 lines) Patch
M android_webview/browser/in_process_view_renderer.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/output/gl_renderer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/software_output_device.h View 2 chunks +3 lines, -2 lines 0 comments Download
M cc/output/software_output_device.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/output/software_renderer.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/resources/bitmap_skpicture_content_layer_updater.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/image_raster_worker_pool.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/skia_common.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_readback.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_action.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_action.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/printing/print_web_view_helper_linux.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/printing/print_web_view_helper_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/printing/print_web_view_helper_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/in_process/synchronous_compositor_output_surface.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/aura/software_output_device_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/compositor_software_output_device.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/skcanvas_video_renderer.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/skcanvas_video_renderer_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M printing/emf_win.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/emf_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/metafile.h View 2 chunks +2 lines, -1 line 0 comments Download
M printing/pdf_metafile_cg_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_cg_mac.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_skia.h View 1 chunk +1 line, -1 line 0 comments Download
M printing/pdf_metafile_skia.cc View 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/analysis_canvas.h View 1 2 3 4 5 4 chunks +8 lines, -5 lines 0 comments Download
M skia/ext/analysis_canvas.cc View 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/benchmarking_canvas.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/bitmap_platform_device_android.h View 2 chunks +5 lines, -5 lines 0 comments Download
M skia/ext/bitmap_platform_device_android.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/bitmap_platform_device_linux.h View 3 chunks +5 lines, -5 lines 0 comments Download
M skia/ext/bitmap_platform_device_linux.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.h View 3 chunks +6 lines, -6 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.cc View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M skia/ext/bitmap_platform_device_win.h View 2 chunks +6 lines, -6 lines 0 comments Download
M skia/ext/bitmap_platform_device_win.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M skia/ext/lazy_pixel_ref_utils.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M skia/ext/platform_canvas.h View 3 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/platform_canvas.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/platform_canvas_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/platform_device.h View 1 2 3 4 5 3 chunks +20 lines, -18 lines 0 comments Download
M skia/ext/platform_device.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/platform_device_mac.cc View 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/skia_utils_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/vector_canvas.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M skia/ext/vector_canvas.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M skia/ext/vector_platform_device_emf_win.h View 1 2 3 4 5 4 chunks +11 lines, -9 lines 0 comments Download
M skia/ext/vector_platform_device_emf_win.cc View 1 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
robertphillips
7 years, 4 months ago (2013-08-22 19:45:33 UTC) #1
danakj
cc/ lgtm https://codereview.chromium.org/22796028/diff/3001/cc/output/software_output_device.h File cc/output/software_output_device.h (right): https://codereview.chromium.org/22796028/diff/3001/cc/output/software_output_device.h#newcode11 cc/output/software_output_device.h:11: // TODO(robertphillips): change this to "class SkBaseDevice;" ...
7 years, 4 months ago (2013-08-22 19:48:30 UTC) #2
robertphillips
https://codereview.chromium.org/22796028/diff/3001/cc/output/software_output_device.h File cc/output/software_output_device.h (right): https://codereview.chromium.org/22796028/diff/3001/cc/output/software_output_device.h#newcode11 cc/output/software_output_device.h:11: // TODO(robertphillips): change this to "class SkBaseDevice;" I'm trying ...
7 years, 4 months ago (2013-08-22 19:55:52 UTC) #3
danakj
https://codereview.chromium.org/22796028/diff/3001/cc/output/software_output_device.h File cc/output/software_output_device.h (right): https://codereview.chromium.org/22796028/diff/3001/cc/output/software_output_device.h#newcode11 cc/output/software_output_device.h:11: // TODO(robertphillips): change this to "class SkBaseDevice;" On 2013/08/22 ...
7 years, 4 months ago (2013-08-22 19:56:44 UTC) #4
DaleCurtis
media/ lgtm
7 years, 4 months ago (2013-08-22 20:01:08 UTC) #5
vandebo (ex-Chrome)
When adding multiple reviews, please list which parts you'd like each reviewer to look at. ...
7 years, 4 months ago (2013-08-22 20:41:58 UTC) #6
jochen (gone - plz use gerrit)
lgtm can you please reference a bug in the CL description?
7 years, 4 months ago (2013-08-22 21:43:56 UTC) #7
Torne
android_webview/ LGTM
7 years, 4 months ago (2013-08-23 10:41:09 UTC) #8
robertphillips
After the fact, here is what I had intended: android_webview: Torne cc: danakj chrome: jochen ...
7 years, 4 months ago (2013-08-23 14:01:02 UTC) #9
f(malita)
Based on Robert's comments, skia/ lgtm.
7 years, 4 months ago (2013-08-23 14:25:50 UTC) #10
vandebo (ex-Chrome)
skia/ LGTM https://codereview.chromium.org/22796028/diff/3001/skia/ext/analysis_canvas.h File skia/ext/analysis_canvas.h (right): https://codereview.chromium.org/22796028/diff/3001/skia/ext/analysis_canvas.h#newcode61 skia/ext/analysis_canvas.h:61: class SK_API AnalysisDevice : public SkBitmapDevice { ...
7 years, 4 months ago (2013-08-23 17:10:03 UTC) #11
jam
content lgtm
7 years, 4 months ago (2013-08-25 16:41:13 UTC) #12
robertphillips
https://codereview.chromium.org/22796028/diff/3001/skia/ext/analysis_canvas.h File skia/ext/analysis_canvas.h (right): https://codereview.chromium.org/22796028/diff/3001/skia/ext/analysis_canvas.h#newcode61 skia/ext/analysis_canvas.h:61: class SK_API AnalysisDevice : public SkBitmapDevice { On 2013/08/23 ...
7 years, 3 months ago (2013-08-26 13:11:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertphillips@google.com/22796028/33001
7 years, 3 months ago (2013-08-26 13:11:49 UTC) #14
commit-bot: I haz the power
7 years, 3 months ago (2013-08-26 18:37:35 UTC) #15
Message was sent while issue was closed.
Change committed as 219568

Powered by Google App Engine
This is Rietveld 408576698