Change-Id: I3afe3a350333b70722c7461c2c64345db10a8c4a
switch (format) {
case VBitmap::Format::Alpha8:
depth = 8;
+ VECTOR_FALLTHROUGH
case VBitmap::Format::ARGB32:
case VBitmap::Format::ARGB32_Premultiplied:
depth = 32;
#include "vdebug.h"
+#if __GNUC__ >= 7
+#define EINA_FALLTHROUGH __attribute__ ((fallthrough));
+#else
#define VECTOR_FALLTHROUGH
+#endif
#include <atomic>
class RefCount {
break;
case MatrixType::Project:
m33 += dx * m13 + dy * m23;
+ VECTOR_FALLTHROUGH
case MatrixType::Shear:
case MatrixType::Rotate:
mtx += dx * m11 + dy * m21;
case MatrixType::Project:
m13 *= sx;
m23 *= sy;
+ VECTOR_FALLTHROUGH
case MatrixType::Rotate:
case MatrixType::Shear:
m12 *= sx;
m21 *= sy;
+ VECTOR_FALLTHROUGH
case MatrixType::Scale:
m11 *= sx;
m22 *= sy;
float tm23 = sh * m13;
m13 += tm13;
m23 += tm23;
+ VECTOR_FALLTHROUGH
}
case MatrixType::Rotate:
case MatrixType::Shear: {
float tm23 = -sina * m13 + cosa * m23;
m13 = tm13;
m23 = tm23;
+ VECTOR_FALLTHROUGH
}
case MatrixType::Rotate:
case MatrixType::Shear: {