summaryrefslogtreecommitdiffstats
path: root/libs/hwui/FloatColor.h
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2015-02-11 13:17:06 -0800
committerChris Craik <ccraik@google.com>2015-02-12 12:30:59 -0800
commit0519c810a56bded1284fcb2ae40f438878c6585f (patch)
treed5e0a81ea08b9f3fc9d5e8d78b770a8c77aa4535 /libs/hwui/FloatColor.h
parent08fa43fdeb646f56edcd8b33d06ee7d79b203426 (diff)
downloadframeworks_base-0519c810a56bded1284fcb2ae40f438878c6585f.zip
frameworks_base-0519c810a56bded1284fcb2ae40f438878c6585f.tar.gz
frameworks_base-0519c810a56bded1284fcb2ae40f438878c6585f.tar.bz2
Glop Bitmap and RoundRect clipping support
Change-Id: I4577546a5d2e5f084cc03f39a89db9231b8111ee
Diffstat (limited to 'libs/hwui/FloatColor.h')
-rw-r--r--libs/hwui/FloatColor.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/hwui/FloatColor.h b/libs/hwui/FloatColor.h
new file mode 100644
index 0000000..803b9d4
--- /dev/null
+++ b/libs/hwui/FloatColor.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+#ifndef FLOATCOLOR_H
+#define FLOATCOLOR_H
+
+#include "utils/Macros.h"
+
+namespace android {
+namespace uirenderer {
+
+struct FloatColor {
+ float r;
+ float g;
+ float b;
+ float a;
+};
+
+REQUIRE_COMPATIBLE_LAYOUT(FloatColor);
+
+} /* namespace uirenderer */
+} /* namespace android */
+
+#endif /* FLOATCOLOR_H */