Lines Matching full:texture_count
305 unsigned texture_count = 0;
331 RenderingCommand::TextureSource &src = cmd.textures[cmd.texture_count];
332 cmd.texture_count++;
621 if (cmd.texture_count == 0)
627 GLint program = PrepareAndCacheProgram(cmd.texture_count);
644 for (unsigned src_index = 0; src_index < cmd.texture_count; src_index++) {
668 for (unsigned src_index = 0; src_index < cmd.texture_count; src_index++) {
785 GLint GLWorkerCompositor::PrepareAndCacheProgram(unsigned texture_count) {
786 if (blend_programs_.size() >= texture_count) {
787 GLint program = blend_programs_[texture_count - 1].get();
792 AutoGLProgram program = GenerateProgram(texture_count, NULL);
794 if (blend_programs_.size() < texture_count)
795 blend_programs_.resize(texture_count);
796 blend_programs_[texture_count - 1] = std::move(program);
797 return blend_programs_[texture_count - 1].get();