Chromium Code Reviews| Index: src/gpu/GrEffect.cpp |
| =================================================================== |
| --- src/gpu/GrEffect.cpp (revision 8019) |
| +++ src/gpu/GrEffect.cpp (working copy) |
| @@ -90,6 +90,10 @@ |
| fTextureAccesses.push_back(access); |
| } |
| +void GrEffect::addVertexAttrib(GrSLType type) { |
| + fVertexAttribTypes.push_back(type); |
| +} |
| + |
| void* GrEffect::operator new(size_t size) { |
| return GrEffect_Globals::GetTLS()->allocate(size); |
| } |