Renderscript samples.

Resolving name conflict in model viewer.
Adding fov projection matrix function.
Adding helper methods for blending.

Change-Id: Ibd3f1510436811398787c285845d050158bd6de8
This commit is contained in:
Alex Sakhartchouk
2010-08-23 10:24:10 -07:00
parent 526e7a3c85
commit 32e09b5891
18 changed files with 764 additions and 24 deletions

View File

@@ -50,13 +50,6 @@ public class Sampler extends BaseObj {
super(id, rs);
}
Sampler mSampler_CLAMP_NEAREST;
Sampler mSampler_CLAMP_LINEAR;
Sampler mSampler_CLAMP_LINEAR_MIP;
Sampler mSampler_WRAP_NEAREST;
Sampler mSampler_WRAP_LINEAR;
Sampler mSampler_WRAP_LINEAR_MIP;
public static Sampler CLAMP_NEAREST(RenderScript rs) {
if(rs.mSampler_CLAMP_NEAREST == null) {
Builder b = new Builder(rs);