Skip to content

Instantly share code, notes, and snippets.

@herbaini
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;
@end
@implementation SREAGLContext
@herbaini
herbaini / gradle.properties
Created Dec 1, 2018 — forked from zhEdward/gradle.properties
gradle项目中 一些偏门属性的配置
View gradle.properties
## Project-wide Gradle settings.
#
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# 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.