Lines Matching refs:props
176 std::shared_ptr<RboProps> props(new RboProps()); in addFresh()
177 props->format = GL_NONE; in addFresh()
178 props->multisamples = 0; in addFresh()
179 props->width = 0; in addFresh()
180 props->height = 0; in addFresh()
181 props->previouslyBound = false; in addFresh()
182 props->boundEGLImage = false; in addFresh()
183 props->id = id; in addFresh()
184 internalInfo()->component.add(id, std::move(props)); in addFresh()
227 SamplerProps props; in addFresh() local
228 props.refcount = 1; in addFresh()
229 internalInfo()->component.add(id, props); in addFresh()
238 SamplerProps* props = get(id); in ref() local
239 if (!props) return; in ref()
240 ++props->refcount; in ref()
243 SamplerProps* props = get(id); in unref() local
244 if (!props) return false; in unref()
245 if (!props->refcount) return false; in unref()
246 --props->refcount; in unref()
247 bool gone = 0 == props->refcount; in unref()