blob: 9f5e6ddce9a64361f57b334a084d903fb5a1fdf9 [file] [log] [blame] [edit]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_GRAPHICS_LIB_COMPUTE_SPINEL_STYLING_H_
#define SRC_GRAPHICS_LIB_COMPUTE_SPINEL_STYLING_H_
//
//
//
#include <stdbool.h>
#include <stdint.h>
#include "spinel/spinel_result.h"
//
// STYLING
//
// clang-format off
struct spinel_styling
{
struct spinel_styling_impl * impl;
spinel_result_t (* seal )(struct spinel_styling_impl * impl);
spinel_result_t (* unseal )(struct spinel_styling_impl * impl);
spinel_result_t (* release)(struct spinel_styling_impl * impl);
uint32_t * extent;
struct {
uint32_t count;
} layers;
struct {
uint32_t count;
uint32_t next;
} dwords;
int32_t ref_count;
};
// clang-format on
#endif // SRC_GRAPHICS_LIB_COMPUTE_SPINEL_STYLING_H_