| Index: remoting/client/gl_render_layer.h
|
| diff --git a/remoting/client/gl_render_layer.h b/remoting/client/gl_render_layer.h
|
| index 785961f0fa6fdf6004d6be9d51e1a498f74ff3d6..0883a6407eb3ddf9e1f4848a746476e17ad32b2c 100644
|
| --- a/remoting/client/gl_render_layer.h
|
| +++ b/remoting/client/gl_render_layer.h
|
| @@ -16,6 +16,8 @@ class GlCanvas;
|
| // canvas is deleted.
|
| class GlRenderLayer {
|
| public:
|
| + static const int kBytesPerPixel = 4;
|
| +
|
| // texture_id: An integer in range [0, GL_MAX_TEXTURE_IMAGE_UNITS], defining
|
| // which slot to store the texture.
|
| GlRenderLayer(int texture_id, GlCanvas* canvas);
|
| @@ -50,7 +52,7 @@ class GlRenderLayer {
|
| void SetTextureVisibleArea(const std::array<float, 8>& positions);
|
|
|
| // Draws the texture on the canvas. Texture must be set before calling Draw().
|
| - void Draw();
|
| + void Draw(float alpha_multiplier);
|
|
|
| private:
|
| int texture_id_;
|
|
|