code.tokarch.uk
Explore Help
Sign In
third_party
/
virglrenderer
1
0
Fork
You've already forked virglrenderer
0
Code Issues Pull Requests Projects Releases Wiki Activity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2455 Commits
1 Branch
0 Tags
6.6 MiB
Tag: Branch: Tree: 95e581fd18
macos/master
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from '95e581fd18'
${ noResults }
virglrenderer/server/render_common.c

24 lines
322 B
Raw Normal View History Unescape Escape

virgl: add render server The render server is a daemon that sits idle waiting for commands. When requested to create a context, it forks and creates the context in a subprocess. This isolates contexts from each other, from the server process, and from the client process. Because a context process can execute untrusted commands and depends on GPU drivers, the isolation should improve the security. There is also a multi-thread mode where each context is executed by a thread. This mode is used to ease debugging, but maybe someone will find a use case for it. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Ryan Neph <ryanneph@google.com>
4 years ago
/*
* Copyright 2021 Google LLC
* SPDX-License-Identifier: MIT
*/
#include "render_common.h"
#include <stdarg.h>
#include <stdio.h>
void
render_log(const char *fmt, ...)
{
va_list va;
va_start(va, fmt);
fprintf(stderr, "render: ");
vfprintf(stderr, fmt, va);
fprintf(stderr, "\n");
va_end(va);
}
Powered by Nikita Tokarchuk and Gitea
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses