8000 Fix Qumo Quest 405 segfault by using custom BufferQueue, ConsumerBase… by nwlunatic · Pull Request #40 · openstf/minicap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Qumo Quest 405 segfault by using custom BufferQueue, ConsumerBase… #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion jni/minicap-shared/aosp/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ endif
else ifeq ($(PLATFORM_SDK_VERSION),18)
LOCAL_SRC_FILES += src/minicap_18.cpp
else ifeq ($(PLATFORM_SDK_VERSION),17)
LOCAL_SRC_FILES += src/minicap_17.cpp
LOCAL_SRC_FILES += src/minicap_17.cpp \
src/override-17/BufferQueue.cpp \
src/override-17/ConsumerBase.cpp \
src/override-17/CpuConsumer.cpp

else ifeq ($(PLATFORM_SDK_VERSION),16)
LOCAL_SRC_FILES += src/minicap_16.cpp
else ifeq ($(PLATFORM_SDK_VERSION),15)
Expand All @@ -56,6 +60,10 @@ else
LOCAL_SHARED_LIBRARIES += libgui
endif

ifeq ($(PLATFORM_SDK_VERSION),17)
LOCAL_SHARED_LIBRARIES += libEGL
endif

LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include \

Expand Down
Binary file not shown.
Binary file modified jni/minicap-shared/aosp/libs/android-17/x86/minicap.so
Binary file not shown.
5 changes: 4 additions & 1 deletion jni/minicap-shared/aosp/src/minicap_17.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
#include <binder/IServiceManager.h>
#include <binder/IMemory.h>

#include "override-17/BufferQueue.h"
#include "override-17/ConsumerBase.h"
#include "override-17/CpuConsumer.h"

#include <gui/BufferQueue.h>
#include <gui/CpuConsumer.h>
#include <gui/ISurfaceComposer.h>
#include <gui/Surface.h>
#include <gui/SurfaceComposerClient.h>
Expand Down
Loading
0