OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_GFX_OZONE_IMPL_DRI_SURFACE_H_ | 5 #ifndef UI_GFX_OZONE_DRI_DRI_SURFACE_H_ |
6 #define UI_GFX_OZONE_IMPL_DRI_SURFACE_H_ | 6 #define UI_GFX_OZONE_DRI_DRI_SURFACE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "ui/gfx/skia_util.h" | 10 #include "ui/gfx/skia_util.h" |
11 | 11 |
12 class SkBitmapDevice; | 12 class SkBitmapDevice; |
13 class SkCanvas; | 13 class SkCanvas; |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 | 16 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 skia::RefPtr<SkCanvas> skia_canvas_; | 157 skia::RefPtr<SkCanvas> skia_canvas_; |
158 | 158 |
159 // Keeps track of which bitmap is |buffers_| is the frontbuffer. | 159 // Keeps track of which bitmap is |buffers_| is the frontbuffer. |
160 int front_buffer_; | 160 int front_buffer_; |
161 | 161 |
162 DISALLOW_COPY_AND_ASSIGN(DriSurface); | 162 DISALLOW_COPY_AND_ASSIGN(DriSurface); |
163 }; | 163 }; |
164 | 164 |
165 } // namespace gfx | 165 } // namespace gfx |
166 | 166 |
167 #endif // UI_GFX_OZONE_IMPL_DRI_SURFACE_H_ | 167 #endif // UI_GFX_OZONE_DRI_DRI_SURFACE_H_ |
OLD | NEW |