summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h')
-rw-r--r--content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h b/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h
index ce6bfa9..152858c 100644
--- a/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h
@@ -26,8 +26,8 @@ class CompositingIOSurfaceShaderPrograms {
void Reset();
// Begin using the "blit" program, which is set up to sample the texture at
- // GL_TEXTURE_0 + |texture_unit_offset|. Returns false on error.
- bool UseBlitProgram(int texture_unit_offset);
+ // GL_TEXTURE_0. Returns false on error.
+ bool UseBlitProgram();
// Begin using the program that just draws solid white very efficiently.
// Returns false on error.
@@ -35,10 +35,9 @@ class CompositingIOSurfaceShaderPrograms {
// Begin using one of the two RGB-to-YV12 color conversion programs, as
// specified by |pass_number| 1 or 2. The programs will sample the texture at
- // GL_TEXTURE0 + |texture_unit_offset|, and account for scaling in the X
- // direction by |texel_scale_x|. Returns false on error.
- bool UseRGBToYV12Program(
- int pass_number, int texture_unit_offset, float texel_scale_x);
+ // GL_TEXTURE0, and account for scaling in the X direction by |texel_scale_x|.
+ // Returns false on error.
+ bool UseRGBToYV12Program(int pass_number, float texel_scale_x);
private:
enum { kNumShaderPrograms = 4 };