M VERSION => VERSION +1 -1
@@ 1,1 1,1 @@
-0.1.423
+0.1.425
M jit_ui.c => jit_ui.c +2 -24
@@ 1079,7 1079,6 @@ instantiate(const LV2UI_Descriptor *descriptor,
return NULL;
void *parent = NULL;
- LV2UI_Resize *host_resize = NULL;
LV2_Options_Option *opts = NULL;
for(int i=0; features[i]; i++)
{
@@ 1087,10 1086,6 @@ instantiate(const LV2UI_Descriptor *descriptor,
{
parent = features[i]->data;
}
- else if(!strcmp(features[i]->URI, LV2_UI__resize))
- {
- host_resize = features[i]->data;
- }
else if(!strcmp(features[i]->URI, LV2_URID__map))
{
handle->map = features[i]->data;
@@ 1239,11 1234,6 @@ instantiate(const LV2UI_Descriptor *descriptor,
handle->state.font_height = 16;
_update_font_height(handle);
- if(host_resize)
- {
- host_resize->ui_resize(host_resize->handle, w, h);
- }
-
strncpy(handle->template, "/tmp/XXXXXX.dsp", sizeof(handle->template));
handle->fd = mkstemps(handle->template, 4);
if(handle->fd == -1)
@@ 1365,25 1355,13 @@ static const LV2UI_Idle_Interface idle_ext = {
.idle = _idle
};
-static int
-_resize(LV2UI_Handle instance, int width, int height)
-{
- plughandle_t *handle = instance;
-
- return d2tk_frontend_set_size(handle->dpugl, width, height);
-}
-
-static const LV2UI_Resize resize_ext = {
- .ui_resize = _resize
-};
-
static const void *
extension_data(const char *uri)
{
if(!strcmp(uri, LV2_UI__idleInterface))
+ {
return &idle_ext;
- else if(!strcmp(uri, LV2_UI__resize))
- return &resize_ext;
+ }
return NULL;
}
M jit_ui.ttl => jit_ui.ttl +2 -2
@@ 34,6 34,6 @@ jit:ui
ui:protocol atom:eventTransfer ;
] ;
lv2:requiredFeature ui:idleInterface, urid:map, ui:parent ;
- lv2:optionalFeature ui:resize, opts:options, ui:requestValue ;
+ lv2:optionalFeature opts:options, ui:requestValue ;
opts:supportedOption ui:scaleFactor ;
- lv2:extensionData ui:idleInterface, ui:resize .
+ lv2:extensionData ui:idleInterface .
M mum.h => mum.h +1 -1
@@ 109,7 109,7 @@ _mum (uint64_t v, uint64_t p) {
multiplication. If we use a generic code we actually call a
function doing 128x128->128 bit multiplication. The function is
very slow. */
- lo = v * p, hi;
+ lo = v * p;
asm ("umulh %0, %1, %2" : "=r" (hi) : "r" (v), "r" (p));
#else
__uint128_t r = (__uint128_t) v * (__uint128_t) p;