| 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 "app/x11_util.h" | |
| 11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 12 #include "base/process.h" | 11 #include "base/process.h" |
| 13 #include "ipc/ipc_channel.h" | 12 #include "ipc/ipc_channel.h" |
| 14 | 13 |
| 15 class GpuViewX; | 14 class GpuViewX; |
| 16 class GpuThread; | 15 class GpuThread; |
| 17 | 16 |
| 18 class GpuVideoLayerGLX : public IPC::Channel::Listener { | 17 class GpuVideoLayerGLX : public IPC::Channel::Listener { |
| 19 public: | 18 public: |
| 20 GpuVideoLayerGLX(GpuViewX* view, | 19 GpuVideoLayerGLX(GpuViewX* view, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // 3 textures, one for each plane. | 66 // 3 textures, one for each plane. |
| 68 unsigned int textures_[3]; | 67 unsigned int textures_[3]; |
| 69 | 68 |
| 70 // Shader program for YUV->RGB conversion. | 69 // Shader program for YUV->RGB conversion. |
| 71 unsigned int program_; | 70 unsigned int program_; |
| 72 | 71 |
| 73 DISALLOW_COPY_AND_ASSIGN(GpuVideoLayerGLX); | 72 DISALLOW_COPY_AND_ASSIGN(GpuVideoLayerGLX); |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 #endif // CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ | 75 #endif // CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ |
| OLD | NEW |