Lines Matching defs:Type
22 Type::Type(Context *rsc) : ObjectBase(rsc) {
28 void Type::preDestroy() const {
37 Type::~Type() {
44 void Type::clear() {
64 size_t Type::getOffsetForFace(uint32_t face) const {
69 void Type::compute() {
112 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const {
118 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const {
124 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y, uint32_t z) const {
130 uint32_t Type::getLODFaceOffset(uint32_t lod, RsAllocationCubemapFace face, uint32_t x, uint32_t y) const {
141 void Type::dumpLOGV(const char *prefix) const {
144 LOGV("%s Type: x=%zu y=%zu z=%zu mip=%i face=%i", prefix, mDimX, mDimY, mDimZ, mDimLOD, mFaces);
149 void Type::serialize(OStream *stream) const {
166 Type *Type::createFromStream(Context *rsc, IStream *stream) {
187 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 );
192 bool Type::getIsNp2() const {
209 ObjectBaseRef<Type> Type::getTypeRef(Context *rsc, const Element *e,
212 ObjectBaseRef<Type> returnRef;
218 Type *t = stc->mTypes[ct];
232 Type *nt = new Type(rsc);
249 ObjectBaseRef<Type> Type::cloneAndResize1D(Context *rsc, uint32_t dimX) const {
254 ObjectBaseRef<Type> Type::cloneAndResize2D(Context *rsc,
271 return Type::getType(rsc, e, dimX, dimY, dimZ, mips, faces);
281 Type *t = static_cast<Type *>(type);