Home
last modified time | relevance | path

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

/hardware/google/aemu/base/
DGLObjectCounter.cpp37 static constexpr size_t toIndex(NamedObjectType type) { in toIndex() function
44 if (type > toIndex(NamedObjectType::NULLTYPE) && in incCount()
45 type < toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in incCount()
51 if (type > toIndex(NamedObjectType::NULLTYPE) && in decCount()
52 type < toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in decCount()
68 << mCounter[toIndex(NamedObjectType::VERTEXBUFFER)].load(); in printUsage()
70 << mCounter[toIndex(NamedObjectType::TEXTURE)].load(); in printUsage()
72 << mCounter[toIndex(NamedObjectType::RENDERBUFFER)].load(); in printUsage()
74 << mCounter[toIndex(NamedObjectType::FRAMEBUFFER)].load(); in printUsage()
76 << mCounter[toIndex(NamedObjectType::SHADER_OR_PROGRAM)].load(); in printUsage()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DShareGroup.cpp29 static constexpr int toIndex(NamedObjectType type) { in toIndex() function
50 for (int i = 0; i < toIndex(NamedObjectType::NUM_OBJECT_TYPES); in ShareGroup()
155 if (toIndex(genNameInfo.m_type) >= in genName()
156 toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in genName()
162 m_nameSpace[toIndex(genNameInfo.m_type)]->genName( in genName()
186 if (toIndex(p_type) >= toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in getGlobalName()
190 return m_nameSpace[toIndex(p_type)]->getGlobalName(p_localName); in getGlobalName()
198 if (toIndex(p_type) >= toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in getLocalName()
203 return m_nameSpace[toIndex(p_type)]->getLocalName(p_globalName); in getLocalName()
209 if (toIndex(p_type) >= toIndex(NamedObjectType::NUM_OBJECT_TYPES)) { in getNamedObject()
[all …]
DNamedObject.cpp25 static constexpr int toIndex(NamedObjectType type) { in toIndex() function
89 android::base::GLObjectCounter::get()->incCount(toIndex(genNameInfo.m_type)); in NamedObject()
131 android::base::GLObjectCounter::get()->decCount(toIndex(m_type)); in ~NamedObject()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_mdpcomp.h209 int fromIndex, int toIndex);
211 int fromIndex, int toIndex, int targetLayerIndex);
Dhwc_mdpcomp.cpp1059 int fromIndex, int toIndex) { in canPushBatchToTop() argument
1060 for(int i = fromIndex; i < toIndex; i++) { in canPushBatchToTop()
1062 if(intersectingUpdatingLayers(list, i+1, toIndex, i)) { in canPushBatchToTop()
1074 int fromIndex, int toIndex, int targetLayerIndex) { in intersectingUpdatingLayers() argument
1075 for(int i = fromIndex; i <= toIndex; i++) { in intersectingUpdatingLayers()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.h213 int fromIndex, int toIndex);
215 int fromIndex, int toIndex, int targetLayerIndex);
Dhwc_mdpcomp.cpp1238 int fromIndex, int toIndex) { in canPushBatchToTop() argument
1239 for(int i = fromIndex; i < toIndex; i++) { in canPushBatchToTop()
1241 if(intersectingUpdatingLayers(list, i+1, toIndex, i)) { in canPushBatchToTop()
1253 int fromIndex, int toIndex, int targetLayerIndex) { in intersectingUpdatingLayers() argument
1254 for(int i = fromIndex; i <= toIndex; i++) { in intersectingUpdatingLayers()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.h223 int fromIndex, int toIndex);
225 int fromIndex, int toIndex, int targetLayerIndex);
Dhwc_mdpcomp.cpp1514 int fromIndex, int toIndex) { in canPushBatchToTop() argument
1515 for(int i = fromIndex; i < toIndex; i++) { in canPushBatchToTop()
1517 if(intersectingUpdatingLayers(list, i+1, toIndex, i)) { in canPushBatchToTop()
1529 int fromIndex, int toIndex, int targetLayerIndex) { in intersectingUpdatingLayers() argument
1530 for(int i = fromIndex; i <= toIndex; i++) { in intersectingUpdatingLayers()