Public Types | Public Member Functions | Protected Attributes

mozilla::layers::CopyProgram Class Reference

#include <LayerManagerOGLProgram.h>

Inheritance diagram for mozilla::layers::CopyProgram:
Collaboration diagram for mozilla::layers::CopyProgram:

List of all members.

Public Types

enum  { TextureUniform = 0, NumUniforms }
enum  { VertexCoordAttrib = 0, TexCoordAttrib, NumAttribs }

Public Member Functions

 CopyProgram (GLContext *aGL)
bool Initialize (const char *aVertexShaderString, const char *aFragmentShaderString)
GLint AttribLocation (int aWhich)
void SetTextureUnit (GLint aUnit)
GLint GetTexCoordMultiplierUniformLocation ()

Protected Attributes

nsTArray< GLintmUniformLocations
nsTArray< GLintmAttribLocations
GLint mTexCoordMultiplierUniformLocation

Member Enumeration Documentation

anonymous enum
Enumerator:
TextureUniform 
NumUniforms 
anonymous enum
Enumerator:
VertexCoordAttrib 
TexCoordAttrib 
NumAttribs 

Constructor & Destructor Documentation

mozilla::layers::CopyProgram::CopyProgram ( GLContext aGL  )  [inline]

Member Function Documentation

GLint mozilla::layers::CopyProgram::AttribLocation ( int  aWhich  )  [inline]
GLint mozilla::layers::CopyProgram::GetTexCoordMultiplierUniformLocation (  )  [inline]
bool mozilla::layers::CopyProgram::Initialize ( const char *  aVertexShaderString,
const char *  aFragmentShaderString 
) [inline]
void mozilla::layers::CopyProgram::SetTextureUnit ( GLint  aUnit  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file: