chromium/third_party/angle/third_party/glmark2/src/src/libmatrix/program.cc

//
// Copyright (c) 2011-2012 Linaro Limited
//
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the MIT License which accompanies
// this distribution, and is available at
// http://www.opensource.org/licenses/mit-license.php
//
// Contributors:
//     Jesse Barker - original implementation.
//
#include <string>
#include <vector>
#include <sstream>
#include <fstream>
#include <iostream>
#include "gl-if.h"
#include "program.h"

string;
mat4;
mat3;
vec2;
vec3;
vec4;

Shader::Shader(unsigned int type, const string& source) :{}

Shader::~Shader()
{}

void
Shader::compile()
{}

void
Shader::attach(unsigned int program)
{}

void
Shader::release()
{}

Program::Program() :{}

Program::~Program()
{}

void
Program::init()
{}

void
Program::release()
{}
void
Program::addShader(unsigned int type, const string& source)
{}

void
Program::build()
{}

void
Program::start()
{}

void
Program::stop()
{}


int
Program::getUniformLocation(const string& name)
{}

int
Program::getAttribIndex(const string& name)
{}

Program::Symbol&
Program::Symbol::operator=(const mat4& m)
{}

Program::Symbol&
Program::Symbol::operator=(const mat3& m)
{}

Program::Symbol&
Program::Symbol::operator=(const vec2& v)
{}

Program::Symbol&
Program::Symbol::operator=(const vec3& v)
{}

Program::Symbol&
Program::Symbol::operator=(const vec4& v)
{}

Program::Symbol&
Program::Symbol::operator=(const float& f)
{}

Program::Symbol&
Program::Symbol::operator=(const int& i)
{}

Program::Symbol&
Program::operator[](const std::string& name)
{}