游戏人生

不积跬步,无以至千里;不积小流,无以成江海。

导航

随笔分类 -  工作积累

上一页 1 2 3 下一页

工作中遇到的问题和解决办法.
[工作积累] Android dynamic library & JNI_OnLoad
摘要:Bionic libc doesn't load dependencies for current .so file(diff from Windows or Linux)so a explicit calling of Java's System.loadLibrary() is needed, ... 阅读全文

posted @ 2015-01-07 09:49 crazii 阅读(769) 评论(0) 推荐(0)

[工作积累] error: bad class file magic (cafebabe) or version (0033.0000)
摘要:Update Android SDK build tool to latest can solve my problem. 阅读全文

posted @ 2015-01-06 21:11 crazii 阅读(493) 评论(0) 推荐(0)

[工作积累] OpenGL ES3.0: glInvalidateFramebuffer
摘要:https://www.khronos.org/opengles/sdk/docs/man3/html/glInvalidateFramebuffer.xhtml这个在GLES2.0上只有Extension:https://www.khronos.org/registry/gles/extensio... 阅读全文

posted @ 2014-12-16 13:12 crazii 阅读(2001) 评论(0) 推荐(0)

[工作积累] Google/Amazon平台的各种坑
摘要:所谓坑, 就是文档中没有标明的特别需要处理的细节, 工作中会被无故的卡住各种令人恼火的问题. 包括系统级的bug和没有文档化的限制. 继Android的各种坑后, 现在做Amazon平台, 遇到的坑很多, 这里记录一下备忘: 先汇总下Android Native下的各种问题, 当然有些限制有明确文档 阅读全文

posted @ 2014-08-19 17:00 crazii 阅读(2265) 评论(0) 推荐(0)

[工作积累] NDK通过Java获取package name 和version
摘要:////////////////////////////////////////////////////////////////////////////Java code snippet//get APK's versionCode in AndroidManifest.xmlpublic int ... 阅读全文

posted @ 2014-08-14 18:40 crazii 阅读(3989) 评论(5) 推荐(0)

[工作记录] Android OpenSL ES: references & AAC related
摘要:AAC V.S. MP3http://en.wikipedia.org/wiki/Advanced_Audio_Coding#AAC.27s_improvements_over_MP3AAC patent lisense FAQ:http://www.vialicensing.com/licensi... 阅读全文

posted @ 2014-07-30 21:29 crazii 阅读(1186) 评论(0) 推荐(0)

[工作记录] Android OpenGL ES: non-square texture - continue
摘要:previous:[工作记录] Android OpenGL ES 2.0: square texture not supported on some devicerecently I found that it is the mipmap of a non-square texture thatc... 阅读全文

posted @ 2014-07-19 21:28 crazii 阅读(352) 评论(0) 推荐(0)

工作记录 - OBB的解决方案
摘要:之前关于OBB的内容: Android上使用native IO 最近工作中的问题笔记 工作记录[续] android OBB 自从用了Java来mount OBB, 再也没有遇到挂载的问题. 但最近在LG Nexus5 和LG G2上测试, 发现某个大约30K文件的文件, 一次性读取出来以后, 处理 阅读全文

posted @ 2014-07-16 19:28 crazii 阅读(2868) 评论(0) 推荐(0)

[工作记录] Android OpenGL ES 2.0: square texture not supported on some device
摘要:npot texture: non-power-of-two texture.rectangle texture: non-square (height != wdith)在测试Samsumg Galaxy S4的时候, 发现rectangle texture支持不好, 虽然创建成功, 但是绘制有问... 阅读全文

posted @ 2014-06-20 21:07 crazii 阅读(361) 评论(0) 推荐(0)

NDK: unable to watch local variables after using GCC4.8
摘要:the problem definitly apears after changing toolchain from gcc 4.6 to gcc 4.8.here's a solution with all details, no extra explanation needed:http://s... 阅读全文

posted @ 2014-06-07 15:27 crazii 阅读(192) 评论(0) 推荐(0)

工作记录[续] android OBB
摘要:前两篇在这里:Android上使用native IO最近工作中的问题笔记最近遇到的问题是,java.io.IOException: FAT FullStackOverflow的结果:http://stackoverflow.com/questions/18906055/what-causes-job... 阅读全文

posted @ 2014-05-31 16:46 crazii 阅读(4905) 评论(4) 推荐(0)

NDK: GCC 4.6 crashes
摘要:used version: NDK r9b,arm-linux-androideabi-4.6 GCC, with "-O2 -finline-limit=24".got this error:internal compiler error: segmentation faultI remember... 阅读全文

posted @ 2014-05-27 19:47 crazii 阅读(459) 评论(0) 推荐(0)

WARNING: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results
摘要:GLES2.0:Some device will give a warning on compling shaders(yet the compling will succeed), and the rendering result is incorrect with blink & artifac... 阅读全文

posted @ 2014-05-17 21:21 crazii 阅读(1103) 评论(0) 推荐(0)

[REFERENCE] Real-Time-Normal-Map-Dxt-Compression
摘要:DXT5N & 3Dc(aka BC5)compression in common code & SIMD:http://mrelusive.com/publications/papers/Real-Time-Normal-Map-Dxt-Compression.pdfOthers:dxt1 rea... 阅读全文

posted @ 2014-05-14 22:24 crazii 阅读(395) 评论(0) 推荐(0)

crash - JNI WARNING: input is not valid modified utf-8: illegal continuation byte
摘要:the key point is "Modified UTF-8" is not like "Regular UTF-8", a legal Rgular UTF8 code sequence may be considered illegal against Modified UTF8.One w... 阅读全文

posted @ 2014-05-08 12:51 crazii 阅读(5840) 评论(0) 推荐(0)

android adb: wireless debug
摘要:http://developer.android.com/tools/help/adb.html#wireless 阅读全文

posted @ 2014-05-08 12:51 crazii 阅读(227) 评论(0) 推荐(0)

杂乱工作笔记
摘要:上周回总部跟同事吃饭的时候,跟一些老外大牛们聊了一些公司用到的各种技术。很多问题当时没有做笔录, 所以趁现在还记得,记录一下。1.动画压缩数据格式:使用quaternion保存旋转,这一点相信很多引擎都这么做了。 格式使用R10G10B10A2来提高精度, 只保存xyz,对于normalized q... 阅读全文

posted @ 2014-04-21 06:38 crazii 阅读(542) 评论(7) 推荐(0)

最近工作中的问题笔记
摘要:调试GLES, 发现某平台有各种问题,1.用三星手机测试和iphone测试, 在drawcall以后不调用glDisableVertexAttribArray, 没有问题. 但在某平台下,后续的draw call会花屏.实际问题主要是因为shader会优化掉某些不用的attrib, 这种情况下, 要... 阅读全文

posted @ 2014-04-09 10:34 crazii 阅读(1755) 评论(0) 推荐(0)

[原] Android上使用native IO
摘要:首先, 官方google play对APK大小有限制: 50M.(https://support.google.com/googleplay/android-developer/answer/113469?hl=en)所以想通过google play发布大数据的应用的话, 得通过扩展包, 一个叫做O... 阅读全文

posted @ 2014-01-09 18:46 crazii 阅读(4096) 评论(0) 推荐(0)

[原] GLES在iOS和Android上的不同
摘要:本来GLES提供了与native platform的接口 EGL,然而iOS没有使用EGL接口, 而是自己搞了一套,叫做EAGL的类似东西, 虽然说大同小异,但是在做跨平台的时候还是很恶心.elgMakeCurrent: 默认的EGL是需要surface和display的, iOS的EAGL实现, ... 阅读全文

posted @ 2013-12-19 12:37 crazii 阅读(7223) 评论(0) 推荐(0)

上一页 1 2 3 下一页