mirror of
https://github.com/utmapp/virglrenderer.git
synced 2026-12-01 22:23:41 -10:00
This is to prepare for virgl decouple. We need the state tracking only for threaded render worker. Removing the thread config makes the forwarding much cleaner but reduces debuggability. So I prefer to keep this shim layer but with the new naming. Signed-off-by: Yiwei Zhang <[email protected]> Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/993>
38 lines
644 B
C
38 lines
644 B
C
/*
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef RENDER_COMMON_H
|
|
#define RENDER_COMMON_H
|
|
|
|
#include <assert.h>
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include "util/compiler.h"
|
|
#include "util/list.h"
|
|
#include "util/macros.h"
|
|
#include "util/u_pointer.h"
|
|
|
|
#include "render_protocol.h"
|
|
#include "render_socket.h"
|
|
|
|
struct render_client;
|
|
struct render_context;
|
|
struct render_context_args;
|
|
struct render_server;
|
|
struct render_worker;
|
|
struct render_worker_jail;
|
|
|
|
void
|
|
render_log_init(void);
|
|
|
|
void
|
|
render_log(const char *fmt, ...);
|
|
|
|
#endif /* RENDER_COMMON_H */
|