зеркало из https://github.com/mozilla/pjs.git
r=jkobal, a=tor Remove unnecessary XP_OS2 code in libimg
This commit is contained in:
Родитель
4230561888
Коммит
5494f60f09
|
@ -831,11 +831,7 @@ il_size(il_container *ic)
|
|||
}
|
||||
|
||||
|
||||
#ifdef XP_OS2
|
||||
#define IL_SIZE_CHUNK 16384
|
||||
#else
|
||||
#define IL_SIZE_CHUNK 128
|
||||
#endif
|
||||
#ifdef XP_MAC
|
||||
# if TARGET_CPU_PPC
|
||||
# define IL_PREFERRED_CHUNK 8192
|
||||
|
@ -845,14 +841,9 @@ il_size(il_container *ic)
|
|||
# define IL_OFFSCREEN_CHUNK 128
|
||||
# endif
|
||||
#else /* !XP_MAC */
|
||||
#ifdef XP_OS2
|
||||
# define IL_PREFERRED_CHUNK (12*1024)
|
||||
# define IL_OFFSCREEN_CHUNK ( 6*1024)
|
||||
#else
|
||||
# define IL_PREFERRED_CHUNK 2048
|
||||
# define IL_OFFSCREEN_CHUNK 128
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int
|
||||
IL_StreamWriteReady(il_container *ic)
|
||||
|
|
|
@ -39,11 +39,7 @@
|
|||
|
||||
|
||||
/* Approximate size of pixel data chunks sent to the FE for display */
|
||||
#ifdef XP_OS2
|
||||
#define OUTPUT_CHUNK_SIZE 30000
|
||||
#else
|
||||
#define OUTPUT_CHUNK_SIZE 15000
|
||||
#endif
|
||||
|
||||
/* Delay from decode to display of first scanline, in milliseconds. */
|
||||
#define ROW_OUTPUT_INITIAL_DELAY 50
|
||||
|
|
Загрузка…
Ссылка в новой задаче