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

Side by Side Diff: skia/ext/bitmap_platform_device_linux.h

Issue 11808: Move port/.../skia/public to skia/ext for Linux. Windows & Mac already moved ... (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
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 #ifndef BitmapPlatformDeviceLinux_h 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
6 #define BitmapPlatformDeviceLinux_h 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
7 7
8 #include "PlatformDeviceLinux.h"
9 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "skia/ext/platform_device_linux.h"
10 10
11 typedef struct _cairo_surface cairo_surface_t; 11 typedef struct _cairo_surface cairo_surface_t;
12 12
13 // ----------------------------------------------------------------------------- 13 // -----------------------------------------------------------------------------
14 // Image byte ordering on Linux: 14 // Image byte ordering on Linux:
15 // 15 //
16 // Pixels are packed into 32-bit words these days. Even for 24-bit images, 16 // Pixels are packed into 32-bit words these days. Even for 24-bit images,
17 // often 8-bits will be left unused for alignment reasons. Thus, when you see 17 // often 8-bits will be left unused for alignment reasons. Thus, when you see
18 // ARGB as the byte order you have to wonder if that's in memory order or 18 // ARGB as the byte order you have to wonder if that's in memory order or
19 // little-endian order. Here I'll write A.R.G.B to specifiy the memory order. 19 // little-endian order. Here I'll write A.R.G.B to specifiy the memory order.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual bool IsVectorial() { return false; } 81 virtual bool IsVectorial() { return false; }
82 82
83 cairo_surface_t* surface() const; 83 cairo_surface_t* surface() const;
84 84
85 private: 85 private:
86 scoped_refptr<BitmapPlatformDeviceLinuxData> data_; 86 scoped_refptr<BitmapPlatformDeviceLinuxData> data_;
87 }; 87 };
88 88
89 } // namespace gfx 89 } // namespace gfx
90 90
91 #endif // BitmapPlatformDeviceLinux_h 91 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698