Home | History | Annotate | Download | only in KernelVariables

Lines Matching refs:RS

24     sp<RS> rs = new RS();
26 rs->init("/data/rscache", RS_INIT_LOW_LATENCY | RS_INIT_WAIT_FOR_ATTACH);
28 auto e = Element::RGBA_8888(rs);
29 Type::Builder tb(rs, e);
34 auto a = Allocation::createTyped(rs, t);
35 auto b = Allocation::createTyped(rs, t);
37 sp<ScriptC_simple> s = new ScriptC_simple(rs);
40 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4);
46 Type::Builder typeI32Builder2D(rs, Element::I32(rs));
50 sp<Allocation> int_allocation2 = Allocation::createTyped(rs, typeI32Builder2D.create());
59 Type::Builder typeI32Builder3D(rs, Element::I32(rs));
64 sp<Allocation> int_allocation3 = Allocation::createTyped(rs, typeI32Builder3D.create());
68 Type::Builder yuvTypeBuilder(rs, Element::YUV(rs));
73 sp<Allocation> yuv_allocation = Allocation::createTyped(rs, yuvTypeBuilder.create());
76 s->set_sampler_global(Sampler::CLAMP_LINEAR(rs));
80 rs->finish();