Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(497)

Issue 6422060: Added OpenGL support to Debugger (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by chudy
Modified:
12 years, 5 months ago
Reviewers:
DerekS
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

GL Widget Alpha

Patch Set 1 #

Total comments: 5

Patch Set 2 : Added OpenGL support to Debugger #

Total comments: 36

Patch Set 3 : Addressing Comments from patch 2 #

Total comments: 20

Patch Set 4 : Fixed up GL Widget, moving onto Raster #

Patch Set 5 : Added enums #

Patch Set 6 : Renamed WidgetType enum #

Total comments: 6

Patch Set 7 : Addressed Patch 6 comments #

Total comments: 4

Patch Set 8 : Addressed patch 7 comments" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -288 lines) Patch
M debugger/QT/SkCanvasWidget.h View 1 2 3 4 5 6 7 2 chunks +75 lines, -94 lines 0 comments Download
M debugger/QT/SkCanvasWidget.cpp View 1 2 3 4 5 6 3 chunks +55 lines, -105 lines 0 comments Download
M debugger/QT/SkDebuggerGUI.h View 1 2 3 chunks +13 lines, -1 line 0 comments Download
M debugger/QT/SkDebuggerGUI.cpp View 1 2 3 4 5 6 6 chunks +42 lines, -41 lines 0 comments Download
A debugger/QT/SkGLWidget.h View 1 2 3 1 chunk +68 lines, -0 lines 0 comments Download
A debugger/QT/SkGLWidget.cpp View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
M debugger/QT/SkSettingsWidget.h View 1 2 2 chunks +20 lines, -0 lines 0 comments Download
M debugger/QT/SkSettingsWidget.cpp View 1 2 4 chunks +31 lines, -0 lines 0 comments Download
M debugger/QT/moc_SkDebuggerGUI.cpp View 1 5 chunks +49 lines, -43 lines 0 comments Download
M debugger/SkDebugCanvas.cpp View 1 chunk +1 line, -1 line 0 comments Download
M debugger/moc.sh View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gyp/debugger.gyp View 1 2 8 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 15
chudy
I removed skia-review from this CL for now. I wanted to submit something so you ...
12 years, 5 months ago (2012-07-23 21:55:14 UTC) #1
DerekS
just wanted to give you my quick thoughts on the matter. You can ignore them ...
12 years, 5 months ago (2012-07-24 03:52:25 UTC) #2
chudy
Replied to comments, CL isn't updated yet. http://codereview.appspot.com/6422060/diff/1/debugger/QT/SkDebuggerGUI.cpp File debugger/QT/SkDebuggerGUI.cpp (right): http://codereview.appspot.com/6422060/diff/1/debugger/QT/SkDebuggerGUI.cpp#newcode536 debugger/QT/SkDebuggerGUI.cpp:536: fCanvasWidget.loadPicture(fileName); On ...
12 years, 5 months ago (2012-07-24 13:58:58 UTC) #3
DerekS
http://codereview.appspot.com/6422060/diff/1/debugger/QT/SkGLWidget.h File debugger/QT/SkGLWidget.h (right): http://codereview.appspot.com/6422060/diff/1/debugger/QT/SkGLWidget.h#newcode32 debugger/QT/SkGLWidget.h:32: debugCanvas->drawTo(fCanvas, debugCanvas->getSize(), &temp); My understanding of paintGL() is that ...
12 years, 5 months ago (2012-07-24 14:55:18 UTC) #4
chudy
Everything seems to be working https://codereview.appspot.com/6422060/diff/7001/debugger/QT/SkDebuggerGUI.cpp File debugger/QT/SkDebuggerGUI.cpp (right): https://codereview.appspot.com/6422060/diff/7001/debugger/QT/SkDebuggerGUI.cpp#newcode159 debugger/QT/SkDebuggerGUI.cpp:159: void SkDebuggerGUI::actionGLWidget(bool setHidden) { ...
12 years, 5 months ago (2012-07-25 19:27:43 UTC) #5
DerekS
https://codereview.appspot.com/6422060/diff/7001/debugger/QT/SkInspectorWidget.h File debugger/QT/SkInspectorWidget.h (right): https://codereview.appspot.com/6422060/diff/7001/debugger/QT/SkInspectorWidget.h#newcode58 debugger/QT/SkInspectorWidget.h:58: void setMatrix(SkMatrix matrix); why not pass them by reference?
12 years, 5 months ago (2012-07-25 19:49:38 UTC) #6
chudy
Addressed comments https://codereview.appspot.com/6422060/diff/7001/debugger/QT/SkDebuggerGUI.cpp File debugger/QT/SkDebuggerGUI.cpp (right): https://codereview.appspot.com/6422060/diff/7001/debugger/QT/SkDebuggerGUI.cpp#newcode159 debugger/QT/SkDebuggerGUI.cpp:159: void SkDebuggerGUI::actionGLWidget(bool setHidden) { On 2012/07/25 19:27:43, ...
12 years, 5 months ago (2012-07-25 20:39:58 UTC) #7
DerekS
I didn't have time to look at SkCanvasWidget but here are my comments on the ...
12 years, 5 months ago (2012-07-25 20:51:03 UTC) #8
DerekS
https://codereview.appspot.com/6422060/diff/9015/debugger/QT/SkCanvasWidget.cpp File debugger/QT/SkCanvasWidget.cpp (right): https://codereview.appspot.com/6422060/diff/9015/debugger/QT/SkCanvasWidget.cpp#newcode91 debugger/QT/SkCanvasWidget.cpp:91: fGLWidget.setScale(fScaleFactor); why not just pass the scale/translate as part ...
12 years, 5 months ago (2012-07-26 13:55:55 UTC) #9
chudy
Addressed comments in two different patches. First one got the GL Widget, second one added ...
12 years, 5 months ago (2012-07-26 14:57:22 UTC) #10
DerekS
http://codereview.appspot.com/6422060/diff/15014/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6422060/diff/15014/debugger/QT/SkCanvasWidget.h#newcode28 debugger/QT/SkCanvasWidget.h:28: kRaster_8888 = 1 << 0, kRaster8888_WidgetType kGPU_WidgetType http://codereview.appspot.com/6422060/diff/15014/debugger/QT/SkCanvasWidget.h#newcode29 debugger/QT/SkCanvasWidget.h:29: ...
12 years, 5 months ago (2012-07-26 18:10:16 UTC) #11
chudy
http://codereview.appspot.com/6422060/diff/15014/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6422060/diff/15014/debugger/QT/SkCanvasWidget.h#newcode28 debugger/QT/SkCanvasWidget.h:28: kRaster_8888 = 1 << 0, On 2012/07/26 18:10:16, DerekS ...
12 years, 5 months ago (2012-07-26 19:22:06 UTC) #12
DerekS
small nits but otherwise lgtm http://codereview.appspot.com/6422060/diff/21002/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): http://codereview.appspot.com/6422060/diff/21002/debugger/QT/SkCanvasWidget.h#newcode29 debugger/QT/SkCanvasWidget.h:29: kGPU_WidgetType = 1 << ...
12 years, 5 months ago (2012-07-26 19:25:40 UTC) #13
chudy
Sorry about that, turns out I'm not using a monospace font http://codereview.appspot.com/6422060/diff/21002/debugger/QT/SkCanvasWidget.h File debugger/QT/SkCanvasWidget.h (right): ...
12 years, 5 months ago (2012-07-26 19:30:25 UTC) #14
chudy
12 years, 5 months ago (2012-07-26 19:30:52 UTC) #15
Submitting, thanks for the review!


On Thu, Jul 26, 2012 at 3:30 PM, <chudy@google.com> wrote:

>
> Sorry about that, turns out I'm not using a monospace font
>
>
>
> http://codereview.appspot.com/**6422060/diff/21002/debugger/**
>
QT/SkCanvasWidget.h<http://codereview.appspot.com/6422060/diff/21002/debugger/QT/SkCanvasWidget.h>
> File debugger/QT/SkCanvasWidget.h (right):
>
> http://codereview.appspot.com/**6422060/diff/21002/debugger/**
>
QT/SkCanvasWidget.h#newcode29<http://codereview.appspot.com/6422060/diff/21002/debugger/QT/SkCanvasWidget.h#newcode29>
> debugger/QT/SkCanvasWidget.h:**29: kGPU_WidgetType    = 1 << 1,
> On 2012/07/26 19:25:40, DerekS wrote:
>
>> align the equals sign
>>
>
> Done.
>
>
> http://codereview.appspot.com/**6422060/diff/21002/debugger/**
>
QT/SkCanvasWidget.h#newcode34<http://codereview.appspot.com/6422060/diff/21002/debugger/QT/SkCanvasWidget.h#newcode34>
> debugger/QT/SkCanvasWidget.h:**34: kScale                 = 1 << 1,
> On 2012/07/26 19:25:40, DerekS wrote:
>
>> fix spacing and make this enum private.
>>
>
> Done.
>
>
http://codereview.appspot.com/**6422060/<http://codereview.appspot.com/6422060/>
>



-- 
*Karol Chudy*
Phone: (203) 898-4233
chudy@google.com
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b