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

Side by Side Diff: skia/ext/bitmap_platform_device_skia.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_linux.cc ('k') | skia/ext/bitmap_platform_device_skia.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_ANDROID_H_ 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_
6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_ANDROID_H_ 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_
7 7
8 #include "base/compiler_specific.h"
8 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
9 #include "base/compiler_specific.h"
10 #include "skia/ext/platform_device.h" 10 #include "skia/ext/platform_device.h"
11 11
12 namespace skia { 12 namespace skia {
13 13
14 // ----------------------------------------------------------------------------- 14 // -----------------------------------------------------------------------------
15 // For now we just use SkBitmap for SkBitmapDevice 15 // For now we just use SkBitmap for SkBitmapDevice
16 // 16 //
17 // This is all quite ok for test_shell. In the future we will want to use 17 // This is all quite ok for test_shell. In the future we will want to use
18 // shared memory between the renderer and the main process at least. In this 18 // shared memory between the renderer and the main process at least. In this
19 // case we'll probably create the buffer from a precreated region of memory. 19 // case we'll probably create the buffer from a precreated region of memory.
(...skipping 30 matching lines...) Expand all
50 virtual SkBaseDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, 50 virtual SkBaseDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
51 int height, bool isOpaque, 51 int height, bool isOpaque,
52 Usage usage) OVERRIDE; 52 Usage usage) OVERRIDE;
53 53
54 private: 54 private:
55 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice); 55 DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice);
56 }; 56 };
57 57
58 } // namespace skia 58 } // namespace skia
59 59
60 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_ANDROID_H_ 60 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_SKIA_H_
OLDNEW
« no previous file with comments | « skia/ext/bitmap_platform_device_linux.cc ('k') | skia/ext/bitmap_platform_device_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698