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

Issue 4757050: Use approx texture for writePixels (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by bsalomon
Modified:
12 years, 11 months ago
Reviewers:
reed1
Base URL:
http://skia.googlecode.com/svn/trunk/gpu/src/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : add setIDiv to SkMatrix #

Total comments: 1

Patch Set 3 : make setIDiv always set the matrix (and use setScale) #

Patch Set 4 : return false and leave matrix unmodified if divx or divy is zero #

Patch Set 5 : return true on success #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M gpu/src/GrContext.cpp View 1 2 chunks +7 lines, -5 lines 0 comments Download
M include/core/SkMatrix.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkMatrix.cpp View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6
bsalomon
Use cache for writePixels temp texture.
12 years, 11 months ago (2011-07-18 17:47:31 UTC) #1
bsalomon
now with setIDiv
12 years, 11 months ago (2011-07-18 18:30:35 UTC) #2
reed1
http://codereview.appspot.com/4757050/diff/2001/src/core/SkMatrix.cpp File src/core/SkMatrix.cpp (left): http://codereview.appspot.com/4757050/diff/2001/src/core/SkMatrix.cpp#oldcode222 src/core/SkMatrix.cpp:222: If either are zero, now the matrix is uninitialized ...
12 years, 11 months ago (2011-07-18 18:36:28 UTC) #3
bsalomon
done, but checks divx and divy separately.
12 years, 11 months ago (2011-07-18 18:41:31 UTC) #4
bsalomon
makes setIDiv return a bool rather than turn 1/0 into 1.
12 years, 11 months ago (2011-07-18 18:57:41 UTC) #5
bsalomon
12 years, 11 months ago (2011-07-18 19:32:50 UTC) #6
Closed with r1887 (verbal lgtm from Mike)
Sign in to reply to this message.

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