Home | History | Annotate | Download | only in core

Lines Matching refs:textures

198   // Get all required textures
199 std::vector<GLuint> textures;
211 textures.push_back(tex_id);
217 if (!RenderFrame(textures, targets)) {
225 std::vector<const GLTextureHandle*> textures(input.size());
226 std::copy(input.begin(), input.end(), textures.begin());
227 return Process(textures, output);
426 bool ShaderProgram::BindInputTextures(const std::vector<GLuint>& textures,
428 for (unsigned i = 0; i < textures.size(); ++i) {
435 glBindTexture(targets[i], textures[i]);
436 LOG_FRAME("Binding texture %d", textures[i]);
446 "inputs! Missing uniform 'tex_sampler_%d'!", textures.size(), i);
466 bool ShaderProgram::RenderFrame(const std::vector<GLuint>& textures,
468 // Make sure we have enough texture units to accomodate the textures
469 if (textures.size() > static_cast<unsigned>(MaxTextureUnits())) {
470 ALOGE("ShaderProgram: Number of input textures is unsupported on this "
481 // Bind input textures
482 if (!BindInputTextures(textures, targets)) {