Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: chrome/gpu/gpu_video_layer_glx.h

Issue 3145001: FBTF: Clean up task.h in x11_util.h and header usage in some delegates. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: more Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/gpu/gpu_backing_store_glx.h ('k') | chrome/test/page_cycler/page_cycler_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 12 #include "gfx/rect.h"
13 #include "gfx/size.h" 13 #include "gfx/size.h"
14 #include "ipc/ipc_channel.h" 14 #include "ipc/ipc_channel.h"
15 #include "gfx/rect.h"
16 #include "gfx/size.h"
15 17
16 class GpuViewX; 18 class GpuViewX;
17 class GpuThread; 19 class GpuThread;
18 20
19 class GpuVideoLayerGLX : public IPC::Channel::Listener { 21 class GpuVideoLayerGLX : public IPC::Channel::Listener {
20 public: 22 public:
21 GpuVideoLayerGLX(GpuViewX* view, 23 GpuVideoLayerGLX(GpuViewX* view,
22 GpuThread* gpu_thread, 24 GpuThread* gpu_thread,
23 int32 routing_id, 25 int32 routing_id,
24 const gfx::Size& size); 26 const gfx::Size& size);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // 3 textures, one for each plane. 70 // 3 textures, one for each plane.
69 unsigned int textures_[3]; 71 unsigned int textures_[3];
70 72
71 // Shader program for YUV->RGB conversion. 73 // Shader program for YUV->RGB conversion.
72 unsigned int program_; 74 unsigned int program_;
73 75
74 DISALLOW_COPY_AND_ASSIGN(GpuVideoLayerGLX); 76 DISALLOW_COPY_AND_ASSIGN(GpuVideoLayerGLX);
75 }; 77 };
76 78
77 #endif // CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_ 79 #endif // CHROME_GPU_GPU_VIDEO_LAYER_GLX_H_
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_backing_store_glx.h ('k') | chrome/test/page_cycler/page_cycler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698