This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// gcc -o test init_window.c -I. -lwayland-client -lwayland-server -lwayland-client-protocol -lwayland-egl -lEGL -lGLESv2 | |
#include <wayland-client-core.h> | |
#include <wayland-client.h> | |
#include <wayland-server.h> | |
#include <wayland-client-protocol.h> | |
#include <wayland-egl.h> // Wayland EGL MUST be included before EGL headers | |
#include "xdg-shell-client-protocol.h" | |
#include "init_window.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ARCH=arm | |
export CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- | |
export KERNEL_SERIES=v4.13 | |
export KERNEL_BRANCH=v4.13-rc1 | |
export LOCALVERSION= | |
export MALI_VERSION=r19p0-01rel0 | |
export MALI_BASE_URL=https://developer.arm.com/-/media/Files/downloads/mali-drivers/kernel/mali-midgard-gpu | |
export DTB_FILES=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <locale.h> | |
#include <X11/Xlib.h> | |
#include <X11/keysym.h> | |
int main(void){ | |
setlocale(LC_ALL, ""); | |
Display* dpy = XOpenDisplay(NULL); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package your.wonderful.package.name | |
/* First version : 2015-12-09 | |
To instruct MoPub to use this adapter, You'll have to | |
- Open the 'Networks' tab | |
- Add a 'Custom Native Network' | |
- Put the full class name in 'Custom Class Event' | |
Example : 'your.wonderful.package.name.MopubFalcon' | |
When testing, be aware of the geographical restrictions you put on this | |
network. If you removed geographical restrictions, put them back again |