pepper: Attach surface to outputs on surface.commit().
authorTaekyun Kim <tkq.kim@samsung.com>
Thu, 2 Jul 2015 08:41:28 +0000 (17:41 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Tue, 7 Jul 2015 06:56:51 +0000 (15:56 +0900)
commit1ad2ee4d1c5a809bce93c2dec4513bd9a13de8e1
tree20d20688378f5f38710ff7a89bdb10c4bbe1c487
parent1e230e11fdc19ad65ba36033535a8b193d042906
pepper: Attach surface to outputs on surface.commit().

Attaching a surface is a process of notifying output backends so that they can
prepare for reading it and allocate resources for it.

For some types of buffers like EGL, the size is not known until it is queried
to the native library. although we can get the size of a shm buffer using
wl_shm, we basically assume that the buffer size should be queried to output
backends. If the backend uses pepper_render, then it can simply redirect the
request to the renderer.

Change-Id: Ie145f9029447605116a81984431cdc5235dc1eca
drm/src/drm-output.c
fbdev/src/fbdev-output.c
pepper/src/pepper-internal.h
pepper/src/pepper.h
pepper/src/surface.c
wayland/src/wayland-output.c
x11/src/x11-output.c