~ubuntu-branches/debian/stretch/gource/stretch

« back to all changes in this revision

Viewing changes to src/core/shader.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Caudwell
  • Date: 2011-07-04 10:46:01 UTC
  • mfrom: (1.2.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110704104601-miceapgvk8trbm01
Tags: 0.35-1
New upstream release 

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "resource.h"
34
34
#include "display.h"
35
35
#include "sdlapp.h"
 
36
#include "regex.h"
36
37
 
37
38
#include <map>
38
39
#include <string>
48
49
    
49
50
    GLint getVarLocation(const std::string& name);
50
51
 
51
 
    std::string readSource(const std::string& filename);
 
52
    bool preprocess(const std::string& line, std::string& output);
 
53
    bool readSource(const std::string& filename, std::string& output);
52
54
    GLenum load(const std::string& filename, GLenum shaderType);
53
55
    void makeProgram();
54
56