| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "gfx/blit.h" | 5 #include "gfx/blit.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "gfx/point.h" | 9 #include "gfx/point.h" |
| 10 #include "gfx/rect.h" | 10 #include "gfx/rect.h" |
| 11 #include "skia/ext/platform_canvas.h" | 11 #include "skia/ext/platform_canvas.h" |
| 12 #include "skia/ext/platform_device.h" | 12 #include "skia/ext/platform_device.h" |
| 13 | 13 |
| 14 #if defined(TOOLKIT_GTK) | 14 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 15 #include <cairo/cairo.h> | 15 #include <cairo/cairo.h> |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
| 19 #include "base/mac_util.h" | 19 #include "base/mac_util.h" |
| 20 #include "base/scoped_cftyperef.h" | 20 #include "base/scoped_cftyperef.h" |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 namespace gfx { | 23 namespace gfx { |
| 24 | 24 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 memmove(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), | 194 memmove(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), |
| 195 bitmap.getAddr32(src_rect.x(), src_rect.y() + y), | 195 bitmap.getAddr32(src_rect.x(), src_rect.y() + y), |
| 196 row_bytes); | 196 row_bytes); |
| 197 } | 197 } |
| 198 } | 198 } |
| 199 } | 199 } |
| 200 | 200 |
| 201 #endif | 201 #endif |
| 202 | 202 |
| 203 } // namespace gfx | 203 } // namespace gfx |
| OLD | NEW |