Home
last modified time | relevance | path

Searched refs:uiSize (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTArray.h39 CPVRTArray(const unsigned int uiSize) : m_uiSize(0), m_uiCapacity(uiSize) in CPVRTArray() argument
41 _ASSERT(uiSize != 0); in CPVRTArray()
42 m_pArray = new T[uiSize]; in CPVRTArray()
64 CPVRTArray(const T* const pArray, const unsigned int uiSize) : m_uiSize(uiSize), in CPVRTArray() argument
65 m_uiCapacity(uiSize) in CPVRTArray()
67 _ASSERT(uiSize != 0); in CPVRTArray()
68 m_pArray = new T[uiSize]; in CPVRTArray()
80 CPVRTArray(const unsigned int uiSize, const T& val) : m_uiSize(uiSize), in CPVRTArray() argument
81 m_uiCapacity(uiSize) in CPVRTArray()
83 _ASSERT(uiSize != 0); in CPVRTArray()
[all …]
DPVRTMisc.cpp384 unsigned int uiSize = 1; in PVRTGetPOTHigher() local
385 while (uiSize < uiOriginalValue) uiSize *= 2; in PVRTGetPOTHigher()
390 uiSize *= 2; in PVRTGetPOTHigher()
393 return uiSize; in PVRTGetPOTHigher()
413 unsigned int uiSize = PVRTGetPOTHigher(uiOriginalValue,1); in PVRTGetPOTLower() local
414 uiSize >>= 1;//uiSize /=2; in PVRTGetPOTLower()
418 uiSize >>= 1;//uiSize /=2; in PVRTGetPOTLower()
419 if(uiSize == 1) in PVRTGetPOTLower()
425 return uiSize; in PVRTGetPOTLower()
DPVRTMap.h39 EPVRTError Reserve(const PVRTuint32 uiSize) in Reserve() argument
43 return PVRT_MAX(m_Keys.SetCapacity(uiSize),m_Data.SetCapacity(uiSize)); in Reserve()
/external/parameter-framework/upstream/remote-processor/
DMessage.cpp100 uint32_t uiSize; in readString() local
102 readData(&uiSize, sizeof(uiSize)); in readString()
105 std::vector<char> string(uiSize + 1); in readString()
108 readData(string.data(), uiSize); in readString()
158 uint32_t uiSize = (uint32_t)(sizeof(_ucMsgId) + getMessageDataSize()); in serialize() local
160 if (!asio::write(asioSocket, asio::buffer(&uiSize, sizeof(uiSize)), ec)) { in serialize()
210 uint32_t uiSize = 0; in serialize() local
212 if (!asio::read(asioSocket, asio::buffer(&uiSize, sizeof(uiSize)), ec)) { in serialize()
226 allocateData(uiSize - sizeof(_ucMsgId)); in serialize()
DRequestMessage.cpp131 size_t uiSize = getStringSize(getCommand()); in getDataSize() local
136 uiSize += getStringSize(getArgument(uiArgument)); in getDataSize()
138 return uiSize; in getDataSize()
DMessage.h85 void writeData(const void *pvData, size_t uiSize);
92 void readData(void *pvData, size_t uiSize);
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/04_BasicTnL/OGLES/
DOGLESBasicTnL.cpp161 unsigned int uiSize = 3 * (sizeof(float) * 8); // 3 vertices * stride (8 verttypes per vertex) in InitView() local
167 glBufferData(GL_ARRAY_BUFFER, uiSize, afVertices, GL_STATIC_DRAW); in InitView()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp272 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride; in LoadVbos() local
274 glBufferData(GL_ARRAY_BUFFER, uiSize, Mesh.pInterleaved, GL_STATIC_DRAW); in LoadVbos()
281 uiSize = PVRTModelPODCountIndices(Mesh) * sizeof(GLshort); in LoadVbos()
283 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp349 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride; in LoadVbos() local
351 glBufferData(GL_ARRAY_BUFFER, uiSize, Mesh.pInterleaved, GL_STATIC_DRAW); in LoadVbos()
358 uiSize = PVRTModelPODCountIndices(Mesh) * sizeof(GLshort); in LoadVbos()
360 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos()
/external/parameter-framework/upstream/parameter/
DConfigurableElement.cpp357 size_t uiSize = 0; in getFootPrint() local
365 uiSize += pConfigurableElement->getFootPrint(); in getFootPrint()
368 return uiSize; in getFootPrint()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp361 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride; in LoadVbos() local
364 glBufferData(GL_ARRAY_BUFFER, uiSize, Mesh.pInterleaved, GL_STATIC_DRAW); in LoadVbos()
372 uiSize = PVRTModelPODCountIndices(Mesh) * sizeof(GLshort); in LoadVbos()
374 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp465 …unsigned int uiSize = 3 * (sizeof(GLfloat) * 3); // Calc afVertices size (3 vertices * stride (3 G… in WinMain() local
466 glBufferData(GL_ARRAY_BUFFER, uiSize, afVertices, GL_STATIC_DRAW); in WinMain()