mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 02:56:35 +01:00
Prepare NSView/OpenGL Canvas (to speed up rendering on [mac]OS[X]
This avoids Coregraphics (cairo_quartz_surface..) competely. The openGL texture bypasses CG's slow argb_image and CGSColorMask methods.
This commit is contained in:
parent
7d41e542fe
commit
c371fc5115
5 changed files with 331 additions and 1 deletions
|
|
@ -215,6 +215,8 @@ public:
|
|||
bool on_enter_notify_event (GdkEventCrossing*);
|
||||
bool on_leave_notify_event (GdkEventCrossing*);
|
||||
|
||||
void on_realize ();
|
||||
|
||||
bool button_handler (GdkEventButton *);
|
||||
bool motion_notify_handler (GdkEventMotion *);
|
||||
bool deliver_event (GdkEvent *);
|
||||
|
|
@ -249,6 +251,8 @@ private:
|
|||
bool really_start_tooltip_timeout ();
|
||||
|
||||
bool _in_dtor;
|
||||
|
||||
void* _nsglview;
|
||||
};
|
||||
|
||||
/** A GTK::Alignment with a GtkCanvas inside it plus some Gtk::Adjustments for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue