node: add node_scaled_scene_buffer_from_node

This commit is contained in:
tokyo4j 2024-11-28 21:34:24 +09:00 committed by Hiroaki Yamamoto
parent 8156b91306
commit 9a3412324d
4 changed files with 22 additions and 0 deletions

View file

@ -10,6 +10,7 @@
#include "buffer.h"
#include "common/mem.h"
#include "common/scaled-scene-buffer.h"
#include "node.h"
/**
* TODO
@ -226,6 +227,8 @@ scaled_scene_buffer_create(struct wlr_scene_tree *parent,
free(self);
return NULL;
}
node_descriptor_create(&self->scene_buffer->node,
LAB_NODE_DESC_SCALED_SCENE_BUFFER, self);
self->impl = impl;
/*