云风

Results 12 issues of 云风

The tools of bgfx (shaderc, texturec, etc) can't handle unicode filenames from the Windows command line correctly. If I encode a filename with Chinese characters in unicode (UTF-16) and then...

From https://github.com/bkaradzic/bgfx/issues/1785 For the compute shader buffers, the d3d driver of bgfx use RWBuffer now, the stride is fixed 16 bytes. https://github.com/bkaradzic/bgfx/blob/af49c5d2642b812a7cb2523fd6d5210a15aad575/src/renderer_d3d11.cpp#L3718 Other drivers like Metal, opengl have no limit...

https://github.com/bkaradzic/bgfx/blob/master/examples/common/font/text_buffer_manager.cpp#L288 `*_current` could be a part of a surrogate pair. See : https://en.wikipedia.org/wiki/UTF-16 `uint32_t _codePoint = *_current;` It can not handle the emoji characters ( codepoints with 2 `wchar_t`) ....

When encoding a 256x256 n.png with astc6x6 format, the size is changed to 258x258 (for 6x6 alignment) ``` texturec -f n.png -o n.ktx -t astc6x6 ``` And it may cause...

https://github.com/effekseer/Effekseer/blob/master/Dev/Cpp/EffekseerRendererCommon/EffekseerRenderer.StandardRenderer.h#L471 ```C++ if (vb->RingBufferLock(cpuBufSize, vbOffset, vbData, renderInfos_.begin()->stride * 4)) ``` It uses the stride of `renderInfos_.begin()` to align the result. I guess it should be the `RenderInfo` with `info.offset ==...

For yaml 1.1 sepc, anchor name can be any unicode char (http://yaml.org/spec/1.1/#id899912) ``` [109] ns-anchor-name ::= ns-char+ [38] ns-char ::= nb-char - s-white [34] nb-char ::= c-printable - b-char ```

See #22 . The origin pr mix some other feature.

@bkaradzic I fixed some bugs today, and it can generate correct header file for c++ now. ( I build with gcc , everything is ok ) See https://github.com/cloudwu/bgfxidl/commit/8bd17140962db2701ead55f11e8cc93143dfc68e 1. `TransientIndexBuffer/TransientVertexBuffer/InstanceDataBuffer.data`...

https://github.com/EasyIME/libIME/blob/c246a5d66455b83d95038285b4a12d9bdc63c2a9/ComPtr.h#L142 g++ may raise an error : `error: 'p_' was not declared in this scope` . Use `(void**)&(this->p_)` would be better. See https://stackoverflow.com/questions/1120833/derived-template-class-access-to-base-class-member-data https://isocpp.org/wiki/faq/templates#nondependent-name-lookup-members

我在开发的时候,遇到一个需求无法实现: 我希望在 filterKeyDown 事件时,发现按了并非输入法范畴的按键。这个时候,希望输入法判断,前面的输入其实也并非在输入中文,这个时候直接把 composition 提交最好。 应用场景非常广泛,比如在编写代码或在控制台敲指令的时候,经常出现误打开了中文输入的情况。这时多按一次中英切换显得很多余。 但是 filterKeyDown 目前没有 EditSession 对象,所以不能提交。我尝试让 filterKeyDown 返回 true,并在 onKeyDown 时再提交,并返回 false ,放弃最后一个按键,结果发现行不通。 似乎过了 testkeydown 后,TSF 就不再检查 onkeydown 的返回值了。 比较好的方法是在 filterkeydown 时也创建出 EditSession 对象来。这个...