2017年3月13日
摘要: vertex attribute (declaration) vertex stream (memory pool) 这两部分 通过attribute 里面对memory的描述把两部分 vbo 和attribute bind together slot attribute offset stream 阅读全文
posted @ 2017-03-13 15:27 minggoddess 阅读(338) 评论(0) 推荐(0) 编辑
摘要: gpu resource 以discard overwirte 方式map出来 是要得到一块可以供cpu使用的地址 在引擎里面有两层来实现这个dynamaic vertex功能 上层有个ring 如果一块写满了换下一块 下层对于 块内用overwrite map memory 对于 换块用disca 阅读全文
posted @ 2017-03-13 15:09 minggoddess 阅读(101) 评论(0) 推荐(0) 编辑
摘要: CPU uncache 写就可以了 CPU chace这种flag的话 还要flush过去 不然gpu那边拿到的这块buffer里面没有内容 都是空 阅读全文
posted @ 2017-03-13 14:42 minggoddess 阅读(407) 评论(0) 推荐(0) 编辑