projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301f989
)
trivial fix for drawvertices bounds
author
joshualitt
<joshualitt@chromium.org>
Tue, 5 May 2015 20:58:20 +0000
(13:58 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 5 May 2015 20:58:20 +0000
(13:58 -0700)
BUG=skia:
Review URL: https://codereview.chromium.org/
1127633003
src/gpu/GrContext.cpp
patch
|
blob
|
history
diff --git
a/src/gpu/GrContext.cpp
b/src/gpu/GrContext.cpp
index 8bdfa7f9de374c7ceecf5cd5d3134b34c27dbee0..b361b671c3b3080b9373ee30a76daf9ce91d7b7a 100755
(executable)
--- a/
src/gpu/GrContext.cpp
+++ b/
src/gpu/GrContext.cpp
@@
-1019,6
+1019,8
@@
void GrContext::drawVertices(GrRenderTarget* rt,
return;
}
+ viewMatrix.mapRect(&bounds);
+
DrawVerticesBatch::Geometry geometry;
geometry.fColor = paint.getColor();
SkAutoTUnref<GrBatch> batch(DrawVerticesBatch::Create(geometry, primitiveType, viewMatrix,