Lines Matching refs:size
109 std::vector<const char*> cStrings (sources.strings.size(), 0);
111 for (size_t ndx = 0; ndx < sources.strings.size(); ndx++)
114 if (sources.lengths.size() > 0)
115 shader.setSources((int)cStrings.size(), &cStrings[0], &sources.lengths[0]);
117 shader.setSources((int)cStrings.size(), &cStrings[0], 0);
173 gl.getShaderSource(shader, (int)source.size(), &unusedLen, &source[0]);
180 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]);
631 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]);
727 std::vector<int> indices (sources.strings.size(), 0);
729 DE_ASSERT(sources.lengths.size() > 0);
730 DE_ASSERT(sources.lengths.size() == sources.strings.size());
732 for (int i = 0; i < (int)sources.strings.size(); i++)
1089 if ((first.format != second.format) || (first.data.size() != second.data.size()))
1165 GLU_CHECK_CALL(glGetProgramBinary(program, (GLsizei)out.data.size(), &actualLength, &format, &(out.data[0])));
1175 glProgramBinary(program, binary.format, &binary.data[0], (GLsizei)binary.data.size());