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

Issue 7314063: Add support for using ANGLE in bench_pictures. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by Leon
Modified:
11 years, 10 months ago
Reviewers:
EricB, bsalomon
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Add support for using ANGLE in bench_pictures. BUG=https://code.google.com/p/skia/issues/detail?id=1012 Other cleanups: Remove setDeviceType from PictureBenchmark, since it is unnecessary. Dereference PictureRenderer::fGrContext when done with it. Make PictureRenderer::fGrContext and PictureRenderer::fGrContextFactory private, since they are not used by subclasses. Committed: https://code.google.com/p/skia/source/detail?r=7677

Patch Set 1 #

Total comments: 2

Patch Set 2 : Respond to comments #

Patch Set 3 : rebase, use new name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -51 lines) Patch
M tools/PictureBenchmark.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M tools/PictureRenderer.h View 1 7 chunks +89 lines, -16 lines 0 comments Download
M tools/PictureRenderer.cpp View 1 2 2 chunks +37 lines, -16 lines 0 comments Download
M tools/bench_pictures_main.cpp View 5 chunks +29 lines, -6 lines 0 comments Download
M tools/render_pictures_main.cpp View 5 chunks +30 lines, -7 lines 0 comments Download

Messages

Total messages: 4
Leon
11 years, 10 months ago (2013-02-08 18:58:20 UTC) #1
bsalomon
lgtm with one minor point inline. https://codereview.appspot.com/7314063/diff/1/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.appspot.com/7314063/diff/1/tools/PictureRenderer.h#newcode134 tools/PictureRenderer.h:134: #endif I don't ...
11 years, 10 months ago (2013-02-08 19:03:55 UTC) #2
Leon
https://codereview.appspot.com/7314063/diff/1/tools/PictureRenderer.h File tools/PictureRenderer.h (right): https://codereview.appspot.com/7314063/diff/1/tools/PictureRenderer.h#newcode134 tools/PictureRenderer.h:134: #endif On 2013/02/08 19:03:55, bsalomon wrote: > I don't ...
11 years, 10 months ago (2013-02-08 19:17:35 UTC) #3
bsalomon
11 years, 10 months ago (2013-02-08 19:24:04 UTC) #4
lgtm


On Fri, Feb 8, 2013 at 2:17 PM, <scroggo@google.com> wrote:

>
>
https://codereview.appspot.**com/7314063/diff/1/tools/**PictureRenderer.h<htt...
> File tools/PictureRenderer.h (right):
>
> https://codereview.appspot.**com/7314063/diff/1/tools/**
>
PictureRenderer.h#newcode134<https://codereview.appspot.com/7314063/diff/1/tools/PictureRenderer.h#newcode134>
> tools/PictureRenderer.h:134: #endif
> On 2013/02/08 19:03:55, bsalomon wrote:
>
>> I don't know that initializing this to kNULL makes sense here. kNULL
>>
> is not a
>
>> sentinel value but an actual type of SkGLContext... one that draws
>>
> nothing. We
>
>> use it in regular bench to measure the CPU overhead of Ganesh (by
>>
> making the GL
>
>> calls do nothing). While it might be a good idea to also add the null
>>
> gpu config
>
>> to bench_pictures, I don't think that is the intent here.
>>
>
>
> Done.
>
>
https://codereview.appspot.**com/7314063/<https://codereview.appspot.com/7314...
>
Sign in to reply to this message.

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