diff options
| author | 2009-05-27 14:45:32 -0700 | |
|---|---|---|
| committer | 2009-05-27 14:45:32 -0700 | |
| commit | fe08d99725efd0dde7ba67ff1979a04fec2ba99f (patch) | |
| tree | 1138f68e7adb78bf753be70815b93adb01540017 /libs/rs/rsElement.cpp | |
| parent | cc77841f643751fd9f128e90f7d1587445ef353e (diff) | |
Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
Diffstat (limited to 'libs/rs/rsElement.cpp')
| -rw-r--r-- | libs/rs/rsElement.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsElement.cpp b/libs/rs/rsElement.cpp index 16375440cb1d..bd11f725d535 100644 --- a/libs/rs/rsElement.cpp +++ b/libs/rs/rsElement.cpp @@ -91,6 +91,10 @@ void ElementState::initPredefined() e->setComponent(0, f_32); mPredefinedList.add(Predefined(RS_ELEMENT_USER_FLOAT, e)); + e = new Element(1); + e->setComponent(0, a_8); + mPredefinedList.add(Predefined(RS_ELEMENT_A_8, e)); + e = new Element(3); e->setComponent(0, r_5); e->setComponent(1, g_6); |