This website works better with JavaScript.
Home
Help
Sign In
linuxaudio
/
new-session-manager
mirror of
https://github.com/linuxaudio/new-session-manager
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
17
Wiki
Activity
Browse Source
Make optimized drawing of timeline canvas a compile-time option.
tags/non-daw-v1.1.0
Jonathan Moore Liles
15 years ago
parent
58ee27f7f1
commit
0bd5611092
3 changed files
with
11 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
Makefile
+4
-0
Timeline/Timeline.C
+2
-0
configure
+ 5
- 0
Makefile
View File
@@ -52,6 +52,11 @@ else
CXXFLAGS := -fno-rtti -fno-exceptions
endif
ifeq ($(USE_UNOPTIMIZED_DRAWING),yes)
CFLAGS+=-DUSE_UNOPTIMIZED_DRAWING
endif
CFLAGS+=-DVERSION=\"$(VERSION)\" \
-DINSTALL_PREFIX=\"$(prefix)\" \
-DSYSTEM_PATH=\"$(SYSTEM_PATH)\" \
+ 4
- 0
Timeline/Timeline.C
View File
@@ -896,7 +896,11 @@ Timeline::draw ( void )
adjust_vscroll();
#ifndef USE_UNOPTIMIZED_DRAWING
if ( ( damage() & FL_DAMAGE_ALL ) || ( damage() & FL_DAMAGE_EXPOSE ) )
#else
#warning Optimized drawing of timeline disabled. This will waste your CPU.
#endif
{
DMESSAGE( "complete redraw" );
+ 2
- 0
configure
View File
@@ -13,6 +13,8 @@ ask "Installation prefix" prefix /usr/local
ask "Use the LASH Audio Session Handler" USE_LASH yes
ask "Build for debugging" USE_DEBUG no
using DEBUG && ask "Use unoptimized drawing routines" USE_UNOPTIMIZED_DRAWING no
begin_tests
require_FLTK 1.1.7 images
Write
Preview
Loading…
Cancel
Save