Add context support to backdropper filter.

Part of b/7028438

Change-Id: Idcae38b452abc847c7b869a5568d1c5d831411b7
This commit is contained in:
Mike Dodd
2012-09-06 17:00:38 -07:00
parent fb3ec448f1
commit f330d19a17

View File

@@ -91,6 +91,9 @@ public class BackDropperEffect extends FilterGraphEffect {
if (parameterKey.equals("source")) {
Filter background = mGraph.getFilter("background");
background.setInputValue("sourceUrl", value);
} else if (parameterKey.equals("context")) {
Filter background = mGraph.getFilter("background");
background.setInputValue("context", value);
}
}