Home
last modified time | relevance | path

Searched refs:RSExportPrimitiveType (Results 1 – 9 of 9) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_object_ref_count.h66 RSExportPrimitiveType::DataType DT,
94 RSExportPrimitiveType::DataType *DT,
100 RSExportPrimitiveType::DataType DT,
120 RSExportPrimitiveType::DataType DT) { in GetRSSetObjectFD()
121 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSSetObjectFD()
122 return RSSetObjectFD[(DT - RSExportPrimitiveType::FirstRSObjectType)]; in GetRSSetObjectFD()
126 return GetRSSetObjectFD(RSExportPrimitiveType::GetRSSpecificType(T)); in GetRSSetObjectFD()
130 RSExportPrimitiveType::DataType DT) { in GetRSClearObjectFD()
131 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT)); in GetRSClearObjectFD()
132 return RSClearObjectFD[(DT - RSExportPrimitiveType::FirstRSObjectType)]; in GetRSClearObjectFD()
[all …]
Dslang_rs_object_ref_count.cpp36 RSSetObjectFD[RSExportPrimitiveType::LastRSObjectType -
37 RSExportPrimitiveType::FirstRSObjectType + 1];
39 RSClearObjectFD[RSExportPrimitiveType::LastRSObjectType -
40 RSExportPrimitiveType::FirstRSObjectType + 1];
81 RSExportPrimitiveType::DataType DT = in GetRSRefCountingFunctions()
82 RSExportPrimitiveType::GetRSSpecificType(RST.getTypePtr()); in GetRSRefCountingFunctions()
83 slangAssert(RSExportPrimitiveType::IsRSObjectType(DT) in GetRSRefCountingFunctions()
86 RSObjectFD[(DT - RSExportPrimitiveType::FirstRSObjectType)] = FD; in GetRSRefCountingFunctions()
579 RSExportPrimitiveType::DataType DT = in ClearArrayRSObject()
580 RSExportPrimitiveType::GetRSSpecificType(BaseType); in ClearArrayRSObject()
[all …]
Dslang_rs_export_type.cpp136 if (!RSExportPrimitiveType::IsPrimitiveType(BaseElementType)) { in ConstantArrayTypeExportableHelper()
186 if (RSExportPrimitiveType::GetRSSpecificType(T) != in TypeExportableHelper()
187 RSExportPrimitiveType::DataTypeUnknown) { in TypeExportableHelper()
389 if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
396 if (RSExportPrimitiveType::GetRSSpecificType(T) != in ValidateTypeHelper()
397 RSExportPrimitiveType::DataTypeUnknown) { in ValidateTypeHelper()
400 } else if (RSExportPrimitiveType::IsRSObjectType(T)) { in ValidateTypeHelper()
704 RSExportPrimitiveType::DataType dt = in Create()
705 RSExportPrimitiveType::GetRSSpecificType(TypeName); in Create()
707 case RSExportPrimitiveType::DataTypeUnknown: { in Create()
[all …]
Dslang_rs_export_type.h214 class RSExportPrimitiveType : public RSExportType {
262 static RSExportPrimitiveType *Create(RSContext *Context,
268 RSExportPrimitiveType(RSContext *Context, in RSExportPrimitiveType() function
291 static RSExportPrimitiveType *Create(RSContext *Context,
307 static size_t GetSizeInBits(const RSExportPrimitiveType *EPT);
318 const RSExportPrimitiveType *EPT) { in getRSReflectionType()
362 class RSExportVectorType : public RSExportPrimitiveType {
373 : RSExportPrimitiveType(Context, ExportClassVector, Name, in RSExportVectorType()
396 Name << RSExportPrimitiveType::getRSReflectionType(this)->rs_short_type in getElementName()
Dslang_rs_export_element.cpp40 EI->type = RSExportPrimitiveType::DataType ## _dt; \ in Init()
81 RSExportPrimitiveType *EPT = in Create()
82 RSExportPrimitiveType::Create(Context, in Create()
Dslang_rs_reflection.cpp117 static const char *GetPackerAPIName(const RSExportPrimitiveType *EPT) { in GetPackerAPIName()
165 return RSExportPrimitiveType::getRSReflectionType( in GetTypeName()
166 static_cast<const RSExportPrimitiveType*>(ET))->java_name; in GetTypeName()
211 const RSExportPrimitiveType *EPT = in GetTypeNullValue()
212 static_cast<const RSExportPrimitiveType*>(ET); in GetTypeNullValue()
215 else if (EPT->getType() == RSExportPrimitiveType::DataTypeBoolean) in GetTypeNullValue()
241 if (EVT->getType() == RSExportPrimitiveType::DataTypeFloat32) { in GetBuiltinElementConstruct()
248 } else if (EVT->getType() == RSExportPrimitiveType::DataTypeUnsigned8) { in GetBuiltinElementConstruct()
459 const RSExportPrimitiveType *EPT = in genInitExportVariable()
460 static_cast<const RSExportPrimitiveType*>(ET); in genInitExportVariable()
[all …]
Dslang_rs_export_element.h44 RSExportPrimitiveType::DataType type;
Dslang_rs_reflection_cpp.cpp67 return RSExportPrimitiveType::getRSReflectionType( in GetTypeName()
68 static_cast<const RSExportPrimitiveType*>(ET))->c_name; in GetTypeName()
871 const RSExportPrimitiveType *EPT = in genInitExportVariable()
872 static_cast<const RSExportPrimitiveType*>(ET); in genInitExportVariable()
873 if (EPT->getType() == RSExportPrimitiveType::DataTypeBoolean) { in genInitExportVariable()
Dslang_rs_backend.cpp215 const RSExportPrimitiveType *PT = in dumpExportVarInfo()
216 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()
236 RSExportPrimitiveType::DataTypeRSMatrix2x2 + in dumpExportVarInfo()