Lines Matching refs:rs

148     ProgramStore(int id, RenderScript rs) {
149 super(id, rs);
235 * @param rs Context to which the program will belong.
237 public static ProgramStore BLEND_NONE_DEPTH_TEST(RenderScript rs) {
238 if(rs.mProgramStore_BLEND_NONE_DEPTH_TEST == null) {
239 ProgramStore.Builder builder = new ProgramStore.Builder(rs);
244 rs.mProgramStore_BLEND_NONE_DEPTH_TEST = builder.create();
246 return rs.mProgramStore_BLEND_NONE_DEPTH_TEST;
256 * @param rs Context to which the program will belong.
258 public static ProgramStore BLEND_NONE_DEPTH_NONE(RenderScript rs) {
259 if(rs.mProgramStore_BLEND_NONE_DEPTH_NO_DEPTH == null) {
260 ProgramStore.Builder builder = new ProgramStore.Builder(rs);
265 rs.mProgramStore_BLEND_NONE_DEPTH_NO_DEPTH = builder.create();
267 return rs.mProgramStore_BLEND_NONE_DEPTH_NO_DEPTH;
280 * @param rs Context to which the program will belong.
282 public static ProgramStore BLEND_ALPHA_DEPTH_TEST(RenderScript rs) {
283 if(rs.mProgramStore_BLEND_ALPHA_DEPTH_TEST == null) {
284 ProgramStore.Builder builder = new ProgramStore.Builder(rs);
289 rs.mProgramStore_BLEND_ALPHA_DEPTH_TEST = builder.create();
291 return rs.mProgramStore_BLEND_ALPHA_DEPTH_TEST;
302 * @param rs Context to which the program will belong.
304 public static ProgramStore BLEND_ALPHA_DEPTH_NONE(RenderScript rs) {
305 if(rs.mProgramStore_BLEND_ALPHA_DEPTH_NO_DEPTH == null) {
306 ProgramStore.Builder builder = new ProgramStore.Builder(rs);
311 rs.mProgramStore_BLEND_ALPHA_DEPTH_NO_DEPTH = builder.create();
313 return rs.mProgramStore_BLEND_ALPHA_DEPTH_NO_DEPTH;
333 public Builder(RenderScript rs) {
334 mRS = rs;