summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-03-26 15:00:49 -0400
committerStan Iliev <stani@google.com>2018-03-29 19:30:28 +0000
commit1a12ab26d419bad8e5c3c121d98114199e05f47c (patch)
tree44ae7781ac684a360d9e85d482b336036e89ec3e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent407932ebc0fab40dccd7298f179639b8b9f93460 (diff)
Fix Skia's impl for TextureView.getBitmap
Bug: 73392905 Test: New test added with I2d4ef440f943a50b9367976ba1444f4350071bfd When providing a width and height, getBitmap should scale to the destination. Add a parameter to LayerDrawable::DrawLayer for a destination rectangle to scale to. Pass the size of the bitmap in SkiaOpenGLPipeline::copyLayerInto down to DrawLayer. The only other caller of DrawLayer is unaffected. Change-Id: I7aa192181c2d15bc8fd4de2fb15c4d276b05d2ac
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions