From 22534176fb5c1257130ef4ee589739ca42766a32 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Tue, 4 Aug 2009 16:58:20 -0700 Subject: Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement. --- libs/rs/rsScript.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'libs/rs/rsScript.cpp') diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index ae85c9c..6ce9f61 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -49,6 +49,32 @@ void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint3 s->mSlots[slot].set(static_cast(va)); } +void rsi_ScriptSetClearColor(Context * rsc, RsScript vs, float r, float g, float b, float a) +{ + Script *s = static_cast