-void YCbCrInput::finalize()
-{
- // Create the textures themselves.
- for (unsigned channel = 0; channel < 3; ++channel) {
- texture_num[channel] = resource_pool->create_2d_texture(GL_LUMINANCE8, widths[channel], heights[channel]);
- glBindTexture(GL_TEXTURE_2D, texture_num[channel]);
- check_error();
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
- check_error();
- }
-
- needs_update = true;
- finalized = true;
-}
-
-void YCbCrInput::set_gl_state(GLuint glsl_program_num, const std::string& prefix, unsigned *sampler_num)
+void YCbCrInput::set_gl_state(GLuint glsl_program_num, const string& prefix, unsigned *sampler_num)