Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTPFXParser.cpp2182 CPVRTResourceFile GLSLFile(str); in ParseShader() local
2184 if(!GLSLFile.IsOpen()) in ParseShader()
2189 shader.pszGLSLcode = (char*)malloc((GLSLFile.Size()+1) * sizeof(char)); in ParseShader()
2190 memcpy(shader.pszGLSLcode, (const char*) GLSLFile.DataPtr(), GLSLFile.Size()); in ParseShader()
2191 shader.pszGLSLcode[GLSLFile.Size()] = '\0'; in ParseShader()
2211 CPVRTResourceFile GLSLFile(str); in ParseShader() local
2213 if(!GLSLFile.IsOpen()) in ParseShader()
2218 shader.pbGLSLBinary = new char[GLSLFile.Size()]; in ParseShader()
2219 shader.nGLSLBinarySize = (unsigned int)GLSLFile.Size(); in ParseShader()
2220 memcpy(shader.pbGLSLBinary, GLSLFile.DataPtr(), GLSLFile.Size()); in ParseShader()