summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-01-06 15:50:42 -0800
committerXavier Ducrohet <xav@android.com>2011-01-06 18:13:49 -0800
commita7cac5e0542779cadf0f5ccf71584e4b4425f7a6 (patch)
tree3a58441f7362a9e2b03afec07fe9f669da9a828d /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentadba8021cd2fd0d20856fb4fbfed2cb000f3f1d5 (diff)
LayoutLib: fix clipping issues.
There were two issues: - Graphics2D.setClip only works on rectangular shapes. This means doing a setClip on a non rectangular shape should basically reset the clip and intersect with the new shape. - the current clip can be null, so the combineShape method must handle it. Change-Id: Id2cd7475e991d8b533ff2e8850cc2c27663f9e52
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions