webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions
shader_utils.cpp File Reference
#include "shader_utils.h"
#include <vector>
#include <iostream>
#include <fstream>

Functions

GLuint CompileShader (GLenum type, const std::string &source)
 
GLuint CompileShaderFromFile (GLenum type, const std::string &sourcePath)
 
GLuint CheckLinkStatusAndReturnProgram (GLuint program, bool outputErrorMessages)
 
GLuint CompileProgramWithTransformFeedback (const std::string &vsSource, const std::string &fsSource, const std::vector< std::string > &transformFeedbackVaryings, GLenum bufferMode)
 
GLuint CompileProgram (const std::string &vsSource, const std::string &fsSource)
 
GLuint CompileProgramFromFiles (const std::string &vsPath, const std::string &fsPath)
 
GLuint CompileComputeProgram (const std::string &csSource, bool outputErrorMessages)
 

Function Documentation

◆ CheckLinkStatusAndReturnProgram()

GLuint CheckLinkStatusAndReturnProgram ( GLuint  program,
bool  outputErrorMessages 
)

◆ CompileComputeProgram()

GLuint CompileComputeProgram ( const std::string csSource,
bool  outputErrorMessages 
)

◆ CompileProgram()

GLuint CompileProgram ( const std::string vsSource,
const std::string fsSource 
)

◆ CompileProgramFromFiles()

GLuint CompileProgramFromFiles ( const std::string vsPath,
const std::string fsPath 
)

◆ CompileProgramWithTransformFeedback()

GLuint CompileProgramWithTransformFeedback ( const std::string vsSource,
const std::string fsSource,
const std::vector< std::string > &  transformFeedbackVaryings,
GLenum  bufferMode 
)

◆ CompileShader()

GLuint CompileShader ( GLenum  type,
const std::string source 
)

◆ CompileShaderFromFile()

GLuint CompileShaderFromFile ( GLenum  type,
const std::string sourcePath 
)