Commits on Source (11)
-
unreachable() is used to hint to the compiler that a certain branch cannot ever be reached. The implementation is taken from Mesa. Signed-off-by: Daniel Stone <daniels@collabora.com>
ef87ad22 -
Convert our backend type to an enum early, and use it in place of a string. Signed-off-by: Daniel Stone <daniels@collabora.com>
59968f7d -
Similar to the backend type, also expose the renderer type enum as ABI. This makes it possible to implement a more consistent config API, as opposed to every backend hand-rolling its own use-the-other-one bool. The enums are explicitly numbered to avoid 0, so 0 can be used as a 'not-specified' sentinel value to allow backwards compatibility with the old config interfaces. Signed-off-by: Daniel Stone <daniels@collabora.com>
ca4bdae0 -
Add an 'auto' or unspecified renderer type, so we can use enum weston_renderer_type during the configuration stage, where the target renderer may be unspecified or unknown. Signed-off-by: Daniel Stone <daniels@collabora.com>
e1da6c66 -
When we're selecting our renderer, use the enum rather than a boolean to force Pixman on. Signed-off-by: Daniel Stone <daniels@collabora.com>
c683ebde -
When we're selecting our renderer, use the enum rather than two mutually-exclusive booleans to not use the no-op renderer. Signed-off-by: Daniel Stone <daniels@collabora.com>
b846c26d -
When we're selecting our renderer, use the enum rather than a boolean to force Pixman on. Signed-off-by: Daniel Stone <daniels@collabora.com>
0a5bb7ac -
When we're selecting our renderer, use the enum rather than a boolean to force Pixman on. Signed-off-by: Daniel Stone <daniels@collabora.com>
53a32e78 -
Add an explicit request to the backend config to choose the renderer. Currently, only Pixman remains supported, with auto defaulting to that. Signed-off-by: Daniel Stone <daniels@collabora.com>
6a45ae87 -
Add an explicit request to the backend config to choose the renderer. Currently, only Pixman remains supported, with auto defaulting to that. Signed-off-by: Daniel Stone <daniels@collabora.com>
54356be8 -
Rather than reinventing --use-pixman and --use-gl throughout each backend, just have a common --renderer=foo argument which can be used to explicitly specify the renderer. The old arguments are still handled for backwards compatibility. Signed-off-by: Daniel Stone <daniels@collabora.com>
75b3ecfc
compositor/config-helpers.c
0 → 100644