H A D | gluProgramInterfaceQuery.cpp | 33 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam) argument 36 gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, 1, DE_NULL, (int*)&value); 41 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::string& dst) argument 43 const int length = getProgramResourceInt(gl, program, programInterface, index, GL_NAME_LENGTH); 48 gl.getProgramResourceName(program, programInterface, index, (int)buf.size(), DE_NULL, &buf[0]); 56 msg << "Empty name returned for " << programInterface << " at index " << index; 61 static void getProgramInterfaceActiveVariables (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::vector<int>& activeVariables) argument 63 const int numActiveVariables = getProgramResourceInt(gl, program, programInterface, index, GL_NUM_ACTIVE_VARIABLES); 69 gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, (int)activeVariables.size(), DE_NULL, &activeVariables[0]); 74 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint3 argument 86 getProgramInterfaceVariableInfo(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceVariableInfo& info) argument [all...] |