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

Issue 6198051: Fixed GrContext.cpp Windows compiler complaints (Closed)

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

Description

In all cases I attempted to just make explicit what was already happening rather than changing the behavior (e.g., using SkScalarCeilToInt on the width & heights). None of the new asserts fired during the execution of gm, sampleapp and bench.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed code review issues #

Total comments: 2

Patch Set 3 : Used roundOut call rather than doing IRect conversion manually #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -12 lines) Patch
M src/gpu/GrContext.cpp View 1 2 6 chunks +19 lines, -12 lines 0 comments Download

Messages

Total messages: 8
robertphillips
12 years, 6 months ago (2012-05-08 13:48:47 UTC) #1
bsalomon
On 2012/05/08 13:48:47, robertphillips wrote: LGTM
12 years, 6 months ago (2012-05-08 14:22:55 UTC) #2
Stephen White
Peanut gallery: These warnings feel like overkill to me. Also, if they're only enabled on ...
12 years, 6 months ago (2012-05-09 15:32:37 UTC) #3
robertphillips
W.r.t. the warnings, I think we have invested a lot of effort getting the Linux ...
12 years, 6 months ago (2012-05-09 22:45:01 UTC) #4
Stephen White
http://codereview.appspot.com/6198051/diff/6001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6198051/diff/6001/src/gpu/GrContext.cpp#newcode2096 src/gpu/GrContext.cpp:2096: SkIRect srcIRect = SkIRect::MakeLTRB( This could be: SkIRect srcIRect; ...
12 years, 6 months ago (2012-05-10 14:00:25 UTC) #5
robertphillips
http://codereview.appspot.com/6198051/diff/6001/src/gpu/GrContext.cpp File src/gpu/GrContext.cpp (right): http://codereview.appspot.com/6198051/diff/6001/src/gpu/GrContext.cpp#newcode2096 src/gpu/GrContext.cpp:2096: SkIRect srcIRect = SkIRect::MakeLTRB( Done - much cleaner.
12 years, 6 months ago (2012-05-10 14:48:31 UTC) #6
Stephen White
LGTM
12 years, 6 months ago (2012-05-10 14:52:56 UTC) #7
robertphillips
12 years, 6 months ago (2012-05-10 15:11:52 UTC) #8
committed as r3895
Sign in to reply to this message.

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