| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ | 5 #ifndef CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ |
| 6 #define CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ | 6 #define CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/surface/transport_dib.h" | 9 #include "app/surface/transport_dib.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/process.h" | 11 #include "base/process.h" |
| 12 #include "gfx/rect.h" |
| 13 #include "gfx/size.h" |
| 12 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
| 13 | 15 |
| 14 class GpuViewX; | 16 class GpuViewX; |
| 15 class GpuThread; | 17 class GpuThread; |
| 16 | 18 |
| 17 class GpuVideoLayerGLX : public IPC::Channel::Listener { | 19 class GpuVideoLayerGLX : public IPC::Channel::Listener { |
| 18 public: | 20 public: |
| 19 GpuVideoLayerGLX(GpuViewX* view, | 21 GpuVideoLayerGLX(GpuViewX* view, |
| 20 GpuThread* gpu_thread, | 22 GpuThread* gpu_thread, |
| 21 int32 routing_id, | 23 int32 routing_id, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // 3 textures, one for each plane. | 68 // 3 textures, one for each plane. |
| 67 unsigned int textures_[3]; | 69 unsigned int textures_[3]; |
| 68 | 70 |
| 69 // Shader program for YUV->RGB conversion. | 71 // Shader program for YUV->RGB conversion. |
| 70 unsigned int program_; | 72 unsigned int program_; |
| 71 | 73 |
| 72 DISALLOW_COPY_AND_ASSIGN(GpuVideoLayerGLX); | 74 DISALLOW_COPY_AND_ASSIGN(GpuVideoLayerGLX); |
| 73 }; | 75 }; |
| 74 | 76 |
| 75 #endif // CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ | 77 #endif // CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ |
| OLD | NEW |