[waffle] [PATCH 02/12] core: store context API in wcore_context
Chad Versace
chad.versace at intel.com
Fri Jan 8 14:42:28 PST 2016
On 01/06/2016 11:56 AM, Frank Henigman wrote:
> Facilitates api-specific code in core functions, like the forthcoming
> wflinfo-like function.
>
> Signed-off-by: Frank Henigman <fjhenigman at google.com>
> ---
> src/waffle/core/wcore_context.h | 2 ++
> 1 file changed, 2 insertions(+)
> struct wcore_context {
> struct api_object api;
> + int32_t context_api; // WAFFLE_CONTEXT_API enum, e.g. WAFFLE_CONTEXT_OPENGL
> struct wcore_display *display;
> };
Like patch 1, use an enum here for gdb's sake.
More information about the waffle
mailing list