aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-21 12:19:28 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-21 12:19:28 +0000
commit2d54d06adc58f0a6372fb2a1b2eca832965b863c (patch)
tree92a81a8ecbe366482ad3150c3ef75d4345dbbf88 /include
parent10a9465b4f3612cf33bea7de1d611a015567100a (diff)
update dox
git-svn-id: http://skia.googlecode.com/svn/trunk@1657 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkDevice.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 59e95e7fdf..fcc28d5b9a 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -90,13 +90,15 @@ public:
SkDeviceFactory* getDeviceFactory();
/**
- * Creates a device that is of the same type as this device (e.g. SW-raster,
- * GPU, or PDF).
+ * Creates a device that is of the same type as this device (e.g. SW-raster,
+ * GPU, or PDF). The backing store for this device is created automatically
+ * (e.g. offscreen pixels or FBO or whatever is appropriate).
*
- * @param width width of the device to create
- * @param height height of the device to create
- * @param isOpaque
- * @param usage clients should always use the default, kGeneral_Usage.
+ * @param width width of the device to create
+ * @param height height of the device to create
+ * @param isOpaque performance hint, set to true if you know that you will
+ * draw into this device such that all of the pixels will
+ * be opaque.
*/
SkDevice* createCompatibleDevice(SkBitmap::Config config,
int width, int height,