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

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

Issue 59133008: ozone: Support building without cairo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & fix whitespace Created 7 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_android.cc ('k') | skia/ext/bitmap_platform_device_cairo.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_ 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_CAIRO_H_
6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_ 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_CAIRO_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "skia/ext/platform_device.h" 11 #include "skia/ext/platform_device.h"
12 12
13 typedef struct _cairo_surface cairo_surface_t; 13 typedef struct _cairo_surface cairo_surface_t;
14 14
15 // ----------------------------------------------------------------------------- 15 // -----------------------------------------------------------------------------
16 // Image byte ordering on Linux: 16 // Image byte ordering on Linux:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, 104 static BitmapPlatformDevice* Create(int width, int height, bool is_opaque,
105 cairo_surface_t* surface); 105 cairo_surface_t* surface);
106 106
107 scoped_refptr<BitmapPlatformDeviceData> data_; 107 scoped_refptr<BitmapPlatformDeviceData> data_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice); 109 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice);
110 }; 110 };
111 111
112 } // namespace skia 112 } // namespace skia
113 113
114 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_LINUX_H_ 114 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_CAIRO_H_
OLDNEW
« no previous file with comments | « skia/ext/bitmap_platform_device_android.cc ('k') | skia/ext/bitmap_platform_device_cairo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698