OSDN Git Service

Forward compatibility fix
authorChris Craik <ccraik@google.com>
Tue, 27 Aug 2013 17:55:12 +0000 (10:55 -0700)
committerChris Craik <ccraik@google.com>
Tue, 27 Aug 2013 17:55:44 +0000 (10:55 -0700)
Change-Id: Ib031372d43881a9bb7af1e51fb2c7cf55e03a326

core/jni/android/graphics/GraphicsJNI.h

index c5b06f5..bdfa37d 100644 (file)
@@ -17,6 +17,12 @@ class SkPicture;
 
 class GraphicsJNI {
 public:
+    enum BitmapCreateFlags {
+        kBitmapCreateFlag_None = 0x0,
+        kBitmapCreateFlag_Mutable = 0x1,
+        kBitmapCreateFlag_Premultiplied = 0x2,
+    };
+
     // returns true if an exception is set (and dumps it out to the Log)
     static bool hasException(JNIEnv*);