Skip to content

Instantly share code, notes, and snippets.

herbaini / OpenGLToCVPixelBuffer.m
Created Mar 14, 2019 — forked from caojianhua/OpenGLToCVPixelBuffer.m
Create CVPixelBufferRef from OpenGL
View OpenGLToCVPixelBuffer.m
@interface SREAGLContext : NSObject
+ (EAGLContext*)sharedContext;
+ (EAGLContext*)newContext: (EAGLRenderingAPI) api;
@implementation SREAGLContext
herbaini /
Created Dec 1, 2018 — forked from zhEdward/
gradle项目中 一些偏门属性的配置
## Project-wide Gradle settings.
# For more details on how to configure your build environment visit
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
You can’t perform that action at this time.