OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8c33c
)
Forward compatibility fix
author
Chris Craik
<ccraik@google.com>
Tue, 27 Aug 2013 17:55:12 +0000
(10:55 -0700)
committer
Chris Craik
<ccraik@google.com>
Tue, 27 Aug 2013 17:55:44 +0000
(10:55 -0700)
Change-Id: Ib031372d43881a9bb7af1e51fb2c7cf55e03a326
core/jni/android/graphics/GraphicsJNI.h
patch
|
blob
|
history
diff --git
a/core/jni/android/graphics/GraphicsJNI.h
b/core/jni/android/graphics/GraphicsJNI.h
index
c5b06f5
..
bdfa37d
100644
(file)
--- a/
core/jni/android/graphics/GraphicsJNI.h
+++ b/
core/jni/android/graphics/GraphicsJNI.h
@@
-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*);