• Home
  • Raw
  • Download

Lines Matching refs:rsc

23 ProgramRaster::ProgramRaster(Context *rsc, bool pointSprite, RsCullMode cull)  in ProgramRaster()  argument
24 : ProgramBase(rsc) { in ProgramRaster()
29 rsc->mHal.funcs.raster.init(rsc, this); in ProgramRaster()
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { in setup() argument
53 rsc->mHal.funcs.raster.setActive(rsc, this); in setup()
56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const { in serialize() argument
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { in createFromStream() argument
69 void ProgramRasterState::init(Context *rsc) { in init() argument
70 mDefault.set(ProgramRaster::getProgramRaster(rsc, false, RS_CULL_BACK).get()); in init()
73 void ProgramRasterState::deinit(Context *rsc) { in deinit() argument
78 ObjectBaseRef<ProgramRaster> ProgramRaster::getProgramRaster(Context *rsc, in getProgramRaster() argument
83 for (uint32_t ct = 0; ct < rsc->mStateRaster.mRasterPrograms.size(); ct++) { in getProgramRaster()
84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; in getProgramRaster()
93 ProgramRaster *pr = new ProgramRaster(rsc, pointSprite, cull); in getProgramRaster()
97 rsc->mStateRaster.mRasterPrograms.push_back(pr); in getProgramRaster()
103 RsProgramRaster rsi_ProgramRasterCreate(Context * rsc, bool pointSprite, RsCullMode cull) { in rsi_ProgramRasterCreate() argument
104 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate()