OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14aea9
)
Add documentation about 0 scale matrix to Shader
author
ztenghui
<ztenghui@google.com>
Fri, 19 May 2017 20:55:43 +0000
(13:55 -0700)
committer
ztenghui
<ztenghui@google.com>
Mon, 22 May 2017 21:56:50 +0000
(14:56 -0700)
fix:
36989035
Test: build
Change-Id: Id1134d5d31ea6a17dc56f24d26eb5da9a78a2c2d
graphics/java/android/graphics/Shader.java
patch
|
blob
|
history
diff --git
a/graphics/java/android/graphics/Shader.java
b/graphics/java/android/graphics/Shader.java
index
8410ab2
..
aedb83c
100644
(file)
--- a/
graphics/java/android/graphics/Shader.java
+++ b/
graphics/java/android/graphics/Shader.java
@@
-80,7
+80,8
@@
public class Shader {
/**
* Set the shader's local matrix. Passing null will reset the shader's
- * matrix to identity.
+ * matrix to identity. If the matrix has scale value as 0, the drawing
+ * result is undefined.
*
* @param localM The shader's new local matrix, or null to specify identity
*/