ecore-drm2: Store plane src values on assign
As we will need the plane state source values when we do an atomic commit, we can store them when plane_assign is called as we already have the FBO available. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
19da4706f3
commit
44d5c855e0
|
@ -91,6 +91,14 @@ out:
|
||||||
plane = calloc(1, sizeof(Ecore_Drm2_Plane));
|
plane = calloc(1, sizeof(Ecore_Drm2_Plane));
|
||||||
if (!plane) return NULL;
|
if (!plane) return NULL;
|
||||||
|
|
||||||
|
pstate->cid.value = output->crtc_id;
|
||||||
|
pstate->fid.value = fb->id;
|
||||||
|
|
||||||
|
pstate->sx.value = 0;
|
||||||
|
pstate->sy.value = 0;
|
||||||
|
pstate->sw.value = fb->w << 16;
|
||||||
|
pstate->sh.value = fb->h << 16;
|
||||||
|
|
||||||
plane->type = pstate->type.value;
|
plane->type = pstate->type.value;
|
||||||
plane->qfb = fb;
|
plane->qfb = fb;
|
||||||
plane->state = pstate;
|
plane->state = pstate;
|
||||||
|
|
Loading…
Reference in New Issue