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

Issue 7187047: Fix bug in 1xN SkBitmapProcShader optimization (Closed)

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

Description

When the matrix is non-trivial (i.e., not just a translate or identity), the setup code helpfully scales by the inverse of the width and height (in SkBitmapProcState::chooseProcs). S32_D32_constX_shaderproc must compensate for this when there is a complex matrix but no filtering.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -17 lines) Patch
M bench/TileBench.cpp View 5 chunks +22 lines, -16 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 3
robertphillips
11 years, 9 months ago (2013-01-22 19:58:40 UTC) #1
reed1
lets add a big juicy comment, tying these changes to the unit-inverse logic in setup. ...
11 years, 9 months ago (2013-01-22 20:18:55 UTC) #2
robertphillips
11 years, 9 months ago (2013-01-22 20:29:48 UTC) #3
Message was sent while issue was closed.
Added comment

committed as r7325
Sign in to reply to this message.

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