Fix RiscV support - Rendering issue for armv7l 65/307465/2
authorAleksander Świniarski <a.swiniarski@samsung.com>
Fri, 8 Mar 2024 11:07:37 +0000 (12:07 +0100)
committerDae-Hyun Ko <dhyuna.ko@samsung.com>
Mon, 11 Mar 2024 05:17:11 +0000 (05:17 +0000)
commit3c23d361adfa1a10c754278b27a77ad2ebe30996
tree163f7b8e14050bfe69768a50f6be9e12d9a53667
parent02c62914cf50fcd4df2eef6550fa0639d3b9303e
Fix RiscV support - Rendering issue for armv7l

Commit fixes change introduced in RiscV support for M120.

On armv7l (built with ./tizen_src/build/build_standard_armv7l) the
lack of specialized template of SerializedSizeSimple() for size_t
caused rendering issue and usage of illegal instruction when
running chromium-efl for armv7l.

Specialization was originally commented out due to compliation error caused
by gcc bug that does not allow declaration of specialized template
outside of the namespace.

Now the specialization is introduced in template where it will
return appropriate value depending on the type of typename T

Change-Id: If713bd0c0d6c1a0ed91cc2f627c314a20471ceb7
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
cc/paint/paint_op_writer.h