Home
last modified time | relevance | path

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

/external/autotest/client/deps/glbench/src/
Dutils.cc329 const char** header_and_body = new const char*[count + 1]; in InitShaderProgramWithHeaders() local
331 memcpy(header_and_body, headers, count * sizeof(const char*)); in InitShaderProgramWithHeaders()
332 header_and_body[count] = vertex_src; in InitShaderProgramWithHeaders()
333 glShaderSource(vertex_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()
334 header_and_body[count] = fragment_src; in InitShaderProgramWithHeaders()
335 glShaderSource(fragment_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()
336 delete[] header_and_body; in InitShaderProgramWithHeaders()