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.cc312 const char** header_and_body = new const char*[count + 1]; in InitShaderProgramWithHeaders() local
314 memcpy(header_and_body, headers, count * sizeof(const char*)); in InitShaderProgramWithHeaders()
315 header_and_body[count] = vertex_src; in InitShaderProgramWithHeaders()
316 glShaderSource(vertex_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()
317 header_and_body[count] = fragment_src; in InitShaderProgramWithHeaders()
318 glShaderSource(fragment_shader, count + 1, header_and_body, NULL); in InitShaderProgramWithHeaders()
319 delete[] header_and_body; in InitShaderProgramWithHeaders()