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

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

Issue 3034039: FBTF: Minor gfx/ header cleanup. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win fix 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/browser/renderer_host/video_layer_x.h ('k') | chrome/gpu/gpu_video_layer_glx.h » ('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_BACKING_STORE_GLX_H_ 5 #ifndef CHROME_GPU_GPU_BACKING_STORE_GLX_H_
6 #define CHROME_GPU_GPU_BACKING_STORE_GLX_H_ 6 #define CHROME_GPU_GPU_BACKING_STORE_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/size.h"
12 #include "ipc/ipc_channel.h" 13 #include "ipc/ipc_channel.h"
13 14
14 class GpuViewX; 15 class GpuViewX;
15 class GpuThread; 16 class GpuThread;
16 class SkBitmap; 17 class SkBitmap;
17 18
18 class GpuBackingStoreGLX : public IPC::Channel::Listener { 19 class GpuBackingStoreGLX : public IPC::Channel::Listener {
19 public: 20 public:
20 GpuBackingStoreGLX(GpuViewX* view, 21 GpuBackingStoreGLX(GpuViewX* view,
21 GpuThread* gpu_thread, 22 GpuThread* gpu_thread,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // The size of the texture loaded into GL. This is 0x0 when there is no 57 // The size of the texture loaded into GL. This is 0x0 when there is no
57 // texture loaded. This may be different than the size of the backing store 58 // texture loaded. This may be different than the size of the backing store
58 // because we could have been resized without yet getting the updated 59 // because we could have been resized without yet getting the updated
59 // bitmap. 60 // bitmap.
60 gfx::Size texture_size_; 61 gfx::Size texture_size_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(GpuBackingStoreGLX); 63 DISALLOW_COPY_AND_ASSIGN(GpuBackingStoreGLX);
63 }; 64 };
64 65
65 #endif // CHROME_GPU_GPU_BACKING_STORE_GLX_H_ 66 #endif // CHROME_GPU_GPU_BACKING_STORE_GLX_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/video_layer_x.h ('k') | chrome/gpu/gpu_video_layer_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698