2013-01-07 14:16:11 -05:00
|
|
|
/*
|
|
|
|
* Cogl
|
|
|
|
*
|
|
|
|
* An object oriented GL/GLES Abstraction/Utility Layer
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Intel Corporation.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _COGL_GLSL_SHADER_PRIVATE_H_
|
|
|
|
#define _COGL_GLSL_SHADER_PRIVATE_H_
|
|
|
|
|
|
|
|
void
|
|
|
|
_cogl_glsl_shader_set_source_with_boilerplate (CoglContext *ctx,
|
2012-09-23 08:32:36 -04:00
|
|
|
const char *version_string,
|
2013-01-07 14:16:11 -05:00
|
|
|
GLuint shader_gl_handle,
|
|
|
|
GLenum shader_gl_type,
|
2013-01-19 11:00:33 -05:00
|
|
|
CoglPipeline *pipeline,
|
2013-01-07 14:16:11 -05:00
|
|
|
GLsizei count_in,
|
|
|
|
const char **strings_in,
|
|
|
|
const GLint *lengths_in);
|
|
|
|
|
|
|
|
#endif /* _COGL_GLSL_SHADER_PRIVATE_H_ */
|