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

Side by Side Diff: skia/ext/bitmap_platform_device_win.cc

Issue 11568: Move skia extensions from the port to skia/ext. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « skia/ext/bitmap_platform_device_win.h ('k') | skia/ext/platform_canvas_win.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "BitmapPlatformDeviceWin.h" 5 #include "skia/ext/bitmap_platform_device_win.h"
6 6
7 #include "base/gfx/gdi_util.h" 7 #include "base/gfx/gdi_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "SkMatrix.h" 9 #include "SkMatrix.h"
10 #include "SkRegion.h" 10 #include "SkRegion.h"
11 #include "SkUtils.h" 11 #include "SkUtils.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 14
15 // When Windows draws text, is sets the fourth byte (which Skia uses for alpha) 15 // When Windows draws text, is sets the fourth byte (which Skia uses for alpha)
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 for (int j = 0; j < width; j++) { 437 for (int j = 0; j < width; j++) {
438 adjustor(data + j); 438 adjustor(data + j);
439 } 439 }
440 data += row_words; 440 data += row_words;
441 } 441 }
442 } 442 }
443 } 443 }
444 444
445 } // namespace gfx 445 } // namespace gfx
446 446
OLDNEW
« no previous file with comments | « skia/ext/bitmap_platform_device_win.h ('k') | skia/ext/platform_canvas_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698