Home | History | Annotate | Download | only in hwui

Lines Matching defs:Program

19 #include "Program.h"
25 // Base program
28 // TODO: Program instance should be created from a factory method
29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) {
87 Program::~Program() {
99 int Program::addAttrib(const char* name) {
105 int Program::bindAttrib(const char* name, ShaderBindings bindingSlot) {
111 int Program::getAttrib(const char* name) {
119 int Program::addUniform(const char* name) {
125 int Program::getUniform(const char* name) {
133 GLuint Program::buildShader(const char* source, GLenum type) {
153 void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix,
170 void Program::setColor(const float r, const float g, const float b, const float a) {
178 void Program::use() {
187 void Program::remove() {