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

Issue 6947075: Fix drawSprite to record correctly with SkBBoxRecord (Closed)

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

Description

Fix drawSprite to record correctly with SkBBoxRecord BUG=http://code.google.com/p/skia/issues/detail?id=1014 TEST=gm lighting with -tileGrid Committed: https://code.google.com/p/skia/source/detail?r=6876

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/core/SkBBoxRecord.cpp View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 2
junov1
PTAL
11 years, 6 months ago (2012-12-17 22:23:38 UTC) #1
reed1
11 years, 6 months ago (2012-12-17 22:44:57 UTC) #2
good catch.

lgtm w/ line-wrap nit

https://codereview.appspot.com/6947075/diff/1/src/core/SkBBoxRecord.cpp
File src/core/SkBBoxRecord.cpp (left):

https://codereview.appspot.com/6947075/diff/1/src/core/SkBBoxRecord.cpp#oldco...
src/core/SkBBoxRecord.cpp:213: const SkPaint* paint) {
better line-wrap?

one option:

bbox.set(SkIRect::MakeXYWH(left, top, bitmap.width(), bitmap.height()));
Sign in to reply to this message.

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