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

Issue 787143004: debugger: Make draw command image widget resize (Closed)

Created:
5 years, 11 months ago by Kimmo Kinnunen
Modified:
5 years, 11 months ago
Reviewers:
robertphillips
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@debugger-resize-01-settings-layout
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

debugger: Make draw command image widget resize Make draw command image widget resize. The widget was not resizing, effectively preventing the window from being resized smaller. Make the rasterized draw command image be proportional to the widget size. The draw rasterization canvas is still an equilateral rectangle with dimensions of the smaller side of the widget. Makes the widget re-rasterize the image only when the draw command changes, not for each widget paint. Renames the widget from "image widget" to "draw command geometry widget". Makes the background of the image black, similar to the raster widget background. Adds a tooltip saying "Command geometry" for the widget, so that user might understand what the contents should be. This commit is part of work that tries to make the debugger window to be a bit more resizeable, so that it would fit 1900x1200 screen. Committed: https://skia.googlesource.com/skia/+/63a470227beed0de553d769724e0108808391e42

Patch Set 1 #

Patch Set 2 : divide by zero #

Total comments: 8

Patch Set 3 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -118 lines) Patch
M debugger/QT/SkDebuggerGUI.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M debugger/QT/SkDebuggerGUI.cpp View 1 2 11 chunks +8 lines, -12 lines 0 comments Download
A debugger/QT/SkDrawCommandGeometryWidget.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A debugger/QT/SkDrawCommandGeometryWidget.cpp View 1 2 1 chunk +86 lines, -0 lines 0 comments Download
D debugger/QT/SkImageWidget.h View 1 chunk +0 lines, -46 lines 0 comments Download
D debugger/QT/SkImageWidget.cpp View 1 chunk +0 lines, -54 lines 0 comments Download
M gyp/debugger.gyp View 1 2 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Kimmo Kinnunen
5 years, 11 months ago (2014-12-30 13:04:57 UTC) #2
robertphillips
lgtm + nits Note that this does have the unfortunate side effect of shrinking the ...
5 years, 11 months ago (2014-12-30 17:35:34 UTC) #3
Kimmo Kinnunen
> Note that this does have the unfortunate side effect of shrinking the auxiliary > ...
5 years, 11 months ago (2014-12-31 06:43:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787143004/40001
5 years, 11 months ago (2014-12-31 06:45:26 UTC) #6
commit-bot: I haz the power
Failed to apply patch for debugger/QT/SkDebuggerGUI.cpp: While running git apply --index -3 -p1; error: patch ...
5 years, 11 months ago (2014-12-31 06:45:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787143004/40001
5 years, 11 months ago (2014-12-31 06:55:35 UTC) #10
commit-bot: I haz the power
5 years, 11 months ago (2014-12-31 07:03:59 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/63a470227beed0de553d769724e0108808391e42

Powered by Google App Engine
This is Rietveld 408576698