| // |
| // Copyright 2015 The ANGLE Project Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| |
| // ProgramGL.cpp: Implements the class methods for ProgramGL. |
| |
| #include "libANGLE/renderer/gl/ProgramGL.h" |
| |
| #include "common/debug.h" |
| |
| namespace rx |
| { |
| |
| ProgramGL::ProgramGL() |
| : ProgramImpl() |
| {} |
| |
| ProgramGL::~ProgramGL() |
| {} |
| |
| bool ProgramGL::usesPointSize() const |
| { |
| UNIMPLEMENTED(); |
| return bool(); |
| } |
| |
| int ProgramGL::getShaderVersion() const |
| { |
| UNIMPLEMENTED(); |
| return int(); |
| } |
| |
| GLenum ProgramGL::getTransformFeedbackBufferMode() const |
| { |
| UNIMPLEMENTED(); |
| return GLenum(); |
| } |
| |
| GLenum ProgramGL::getBinaryFormat() |
| { |
| UNIMPLEMENTED(); |
| return GLenum(); |
| } |
| |
| LinkResult ProgramGL::load(gl::InfoLog &infoLog, gl::BinaryInputStream *stream) |
| { |
| UNIMPLEMENTED(); |
| return LinkResult(false, gl::Error(GL_INVALID_OPERATION)); |
| } |
| |
| gl::Error ProgramGL::save(gl::BinaryOutputStream *stream) |
| { |
| UNIMPLEMENTED(); |
| return gl::Error(GL_INVALID_OPERATION); |
| } |
| |
| LinkResult ProgramGL::link(const gl::Data &data, gl::InfoLog &infoLog, |
| gl::Shader *fragmentShader, gl::Shader *vertexShader, |
| const std::vector<std::string> &transformFeedbackVaryings, |
| GLenum transformFeedbackBufferMode, |
| int *registers, std::vector<gl::LinkedVarying> *linkedVaryings, |
| std::map<int, gl::VariableLocation> *outputVariables) |
| { |
| UNIMPLEMENTED(); |
| return LinkResult(false, gl::Error(GL_INVALID_OPERATION)); |
| } |
| |
| void ProgramGL::setUniform1fv(GLint location, GLsizei count, const GLfloat *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform2fv(GLint location, GLsizei count, const GLfloat *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform3fv(GLint location, GLsizei count, const GLfloat *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform4fv(GLint location, GLsizei count, const GLfloat *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform1iv(GLint location, GLsizei count, const GLint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform2iv(GLint location, GLsizei count, const GLint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform3iv(GLint location, GLsizei count, const GLint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform4iv(GLint location, GLsizei count, const GLint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform1uiv(GLint location, GLsizei count, const GLuint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform2uiv(GLint location, GLsizei count, const GLuint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform3uiv(GLint location, GLsizei count, const GLuint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniform4uiv(GLint location, GLsizei count, const GLuint *v) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::setUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::getUniformfv(GLint location, GLfloat *params) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::getUniformiv(GLint location, GLint *params) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| void ProgramGL::getUniformuiv(GLint location, GLuint *params) |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| GLint ProgramGL::getSamplerMapping(gl::SamplerType type, unsigned int samplerIndex, const gl::Caps &caps) const |
| { |
| UNIMPLEMENTED(); |
| return GLint(); |
| } |
| |
| GLenum ProgramGL::getSamplerTextureType(gl::SamplerType type, unsigned int samplerIndex) const |
| { |
| UNIMPLEMENTED(); |
| return GLenum(); |
| } |
| |
| GLint ProgramGL::getUsedSamplerRange(gl::SamplerType type) const |
| { |
| UNIMPLEMENTED(); |
| return GLint(); |
| } |
| |
| void ProgramGL::updateSamplerMapping() |
| { |
| UNIMPLEMENTED(); |
| } |
| |
| bool ProgramGL::validateSamplers(gl::InfoLog *infoLog, const gl::Caps &caps) |
| { |
| UNIMPLEMENTED(); |
| return bool(); |
| } |
| |
| LinkResult ProgramGL::compileProgramExecutables(gl::InfoLog &infoLog, gl::Shader *fragmentShader, gl::Shader *vertexShader, |
| int registers) |
| { |
| UNIMPLEMENTED(); |
| return LinkResult(false, gl::Error(GL_INVALID_OPERATION)); |
| } |
| |
| bool ProgramGL::linkUniforms(gl::InfoLog &infoLog, const gl::Shader &vertexShader, const gl::Shader &fragmentShader, |
| const gl::Caps &caps) |
| { |
| UNIMPLEMENTED(); |
| return bool(); |
| } |
| |
| bool ProgramGL::defineUniformBlock(gl::InfoLog &infoLog, const gl::Shader &shader, const sh::InterfaceBlock &interfaceBlock, |
| const gl::Caps &caps) |
| { |
| UNIMPLEMENTED(); |
| return bool(); |
| } |
| |
| gl::Error ProgramGL::applyUniforms() |
| { |
| UNIMPLEMENTED(); |
| return gl::Error(GL_INVALID_OPERATION); |
| } |
| |
| gl::Error ProgramGL::applyUniformBuffers(const std::vector<gl::Buffer*> boundBuffers, const gl::Caps &caps) |
| { |
| UNIMPLEMENTED(); |
| return gl::Error(GL_INVALID_OPERATION); |
| } |
| |
| bool ProgramGL::assignUniformBlockRegister(gl::InfoLog &infoLog, gl::UniformBlock *uniformBlock, GLenum shader, |
| unsigned int registerIndex, const gl::Caps &caps) |
| { |
| UNIMPLEMENTED(); |
| return bool(); |
| } |
| |
| } |