aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2014-12-30 23:03:56 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-30 23:03:56 -0800
commit63a470227beed0de553d769724e0108808391e42 (patch)
treed7b8bf2a1c1b13257ed3cd23a05a24feb52a9a3a /gyp
parent41c79cc0ff3003ef77cb48590f7887221856f941 (diff)
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. Review URL: https://codereview.chromium.org/787143004
Diffstat (limited to 'gyp')
-rw-r--r--gyp/debugger.gyp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gyp/debugger.gyp b/gyp/debugger.gyp
index 749cd5e5eb..05c0e14057 100644
--- a/gyp/debugger.gyp
+++ b/gyp/debugger.gyp
@@ -117,6 +117,8 @@
'../debugger/debuggermain.cpp',
'../debugger/QT/SkDebuggerGUI.cpp',
'../debugger/QT/SkDebuggerGUI.h',
+ '../debugger/QT/SkDrawCommandGeometryWidget.h',
+ '../debugger/QT/SkDrawCommandGeometryWidget.cpp',
'../debugger/QT/SkCanvasWidget.cpp',
'../debugger/QT/SkCanvasWidget.h',
'../debugger/QT/SkInspectorWidget.h',
@@ -129,8 +131,6 @@
'../debugger/QT/SkGLWidget.cpp',
'../debugger/QT/SkRasterWidget.h',
'../debugger/QT/SkRasterWidget.cpp',
- '../debugger/QT/SkImageWidget.h',
- '../debugger/QT/SkImageWidget.cpp',
# To update this file edit SkIcons.qrc and rerun rcc to generate cpp
'../debugger/QT/qrc_SkIcons.cpp',
@@ -138,10 +138,10 @@
# Generated MOC files
'<(moc_gen_dir)/moc_SkCanvasWidget.cpp',
'<(moc_gen_dir)/moc_SkDebuggerGUI.cpp',
+ '<(moc_gen_dir)/moc_SkDrawCommandGeometryWidget.cpp',
'<(moc_gen_dir)/moc_SkInspectorWidget.cpp',
'<(moc_gen_dir)/moc_SkSettingsWidget.cpp',
'<(moc_gen_dir)/moc_SkRasterWidget.cpp',
- '<(moc_gen_dir)/moc_SkImageWidget.cpp',
'<(moc_gen_dir)/moc_SkGLWidget.cpp',
],
'cflags': [
@@ -169,10 +169,10 @@
'sources': [
'<(moc_src_dir)/SkCanvasWidget.h',
'<(moc_src_dir)/SkDebuggerGUI.h',
+ '<(moc_src_dir)/SkDrawCommandGeometryWidget.h',
'<(moc_src_dir)/SkInspectorWidget.h',
'<(moc_src_dir)/SkSettingsWidget.h',
'<(moc_src_dir)/SkRasterWidget.h',
- '<(moc_src_dir)/SkImageWidget.h',
'<(moc_src_dir)/SkGLWidget.h',
],
'rules': [