update
This commit is contained in:
parent
41d0088105
commit
1ca2d3a805
|
@ -68,7 +68,7 @@ LOCAL_SRC_FILES := \
|
|||
pojav/input_bridge_v3.c \
|
||||
pojav/virgl/virgl.c \
|
||||
driver_helper/nsbypass.c
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/pojav
|
||||
ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
|
||||
LOCAL_CFLAGS += -DADRENO_POSSIBLE
|
||||
LOCAL_LDLIBS += -lEGL -lGLESv2
|
||||
|
|
|
@ -10,12 +10,10 @@
|
|||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "virgl.h"
|
||||
#include "pojav/environ/environ.h"
|
||||
#include "pojav/ctxbridges/osm_bridge.h"
|
||||
#include "pojav/egl_bridge.h"
|
||||
#include "pojav/ctxbridges/egl_loader.h"
|
||||
|
||||
#define RENDERER_VIRGL 3
|
||||
#include "environ/environ.h"
|
||||
#include "ctxbridges/osm_bridge.h"
|
||||
#include "egl_bridge.h"
|
||||
#include "ctxbridges/egl_loader.h"
|
||||
|
||||
int (*vtest_main_p)(int argc, char **argv);
|
||||
|
||||
|
@ -89,12 +87,10 @@ void *egl_make_current(void *window) {
|
|||
printf("EGLBridge: eglMakeCurrent() succeed!\n");
|
||||
}
|
||||
|
||||
if (pojav_environ->config_renderer == RENDERER_VIRGL) {
|
||||
printf("VirGL: vtest_main = %p\n", vtest_main_p);
|
||||
printf("VirGL: Calling VTest server's main function\n");
|
||||
vtest_main_p(3, (const char *[]) {"vtest", "--no-loop-or-fork", "--use-gles", NULL, NULL});
|
||||
}
|
||||
}
|
||||
|
||||
void virglSwapInterval(int interval) {
|
||||
eglSwapInterval_p(potatoBridge.eglDisplay, interval);
|
||||
|
|
Loading…
Reference in New Issue