chromium/third_party/angle/third_party/glmark2/src/src/scene-ideas/logo.cc

/*
 * Vertex position data describing the old Silicon Graphics logo
 *
 * (c) Copyright 1993, Silicon Graphics, Inc.
 * Copyright © 2012 Linaro Limited
 *
 * This file is part of the glmark2 OpenGL (ES) 2.0 benchmark.
 *
 * glmark2 is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * glmark2 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 General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * glmark2.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authors:
 *  Jesse Barker
 */
#include "logo.h"
#include "options.h"
#include "scene.h"
#include "shader-source.h"
#include "log.h"

string;
vec3;
uvec3;
vec4;
Stack4;
mat4;

const unsigned int SGILogo::textureResolution_(32);
const string SGILogo::modelviewName_("modelview");
const string SGILogo::projectionName_("projection");
const string SGILogo::lightPositionName_("light0Position");
const string SGILogo::logoColorName_("logoColor");
const string SGILogo::vertexAttribName_("vertex");
const string SGILogo::normalAttribName_("normal");
const string SGILogo::normalMatrixName_("normalMatrix");

SGILogo::SGILogo(void) :{}

SGILogo::~SGILogo()
{}

void
SGILogo::init()
{}

void
SGILogo::bendForward(Stack4& ms)
{}

void
SGILogo::bendLeft(Stack4& ms)
{}

void
SGILogo::bendRight(Stack4& ms) 
{}

void
SGILogo::drawDoubleCylinder(void)
{}

void
SGILogo::drawSingleCylinder(void)
{}

void
SGILogo::drawElbow(void)
{}

// Generate a normal matrix from a modelview matrix
//
// Since we can't universally handle the normal matrix inside the
// vertex shader (inverse() and transpose() built-ins not supported by
// GLSL ES, for example), we'll generate it here, and load it as a
// uniform.
void
SGILogo::updateXform(const mat4& mv, Program& program)
{}

Program&
SGILogo::getProgram()
{}

void
SGILogo::draw(Stack4& modelview, 
    Stack4& projection, 
    const vec4& lightPosition,
    DrawStyle style,
    const uvec3& currentColor)
{}