diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2012-06-12 11:38:50 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-12 17:45:03 +0200 |
commit | 13074f2ba130adc1a48ad631b7d031be123e9eed (patch) | |
tree | fbdd68ce7f24a5cf05d7aeba35b2b46f715e33fd /src/gui/painting/qdrawhelper_mips_dsp_p.h | |
parent | d76de69b4b60e7e13d5b0602768702e4bf219804 (diff) |
mips: dsp and dspr2 can be enabled separately fix dspr2 only compilation
Separate dsp and dspr2 handling. The configure script allows to disable
them separately and with this patch it is possible to compile a dspr2
only libQtGui.so.
Change-Id: Ifca583c9b46a25c93751967a31ac77eafc5d51e4
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/gui/painting/qdrawhelper_mips_dsp_p.h')
-rw-r--r-- | src/gui/painting/qdrawhelper_mips_dsp_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper_mips_dsp_p.h b/src/gui/painting/qdrawhelper_mips_dsp_p.h index 1a1e151cb5..ed848485fc 100644 --- a/src/gui/painting/qdrawhelper_mips_dsp_p.h +++ b/src/gui/painting/qdrawhelper_mips_dsp_p.h @@ -71,14 +71,15 @@ uint * QT_FASTCALL qt_destFetchARGB32_mips_dsp(uint *buffer, void QT_FASTCALL qt_destStoreARGB32_mips_dsp(QRasterBuffer *rasterBuffer, int x, int y, const uint *buffer, int length); +#endif // QT_COMPILER_SUPPORTS_MIPS_DSP + + #ifdef QT_COMPILER_SUPPORTS_MIPS_DSPR2 extern "C" void qConvertRgb16To32_asm_mips_dspr2(quint32 *dest, const quint16 *src, int length); #endif // QT_COMPILER_SUPPORTS_MIPS_DSPR2 -#endif // QT_COMPILER_SUPPORTS_MIPS_DSP - QT_END_NAMESPACE #endif // QDRAWHELPER_MIPS_P_H |