1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-24 22:23:21 +00:00
CC-Tweaked/src/main/resources/assets/computercraft/lang
Jonathan Coates 70b457ed18
Add a monitor renderer using TBOs (#443)
This uses the system described in #409, to render monitors in a more
efficient manner.

Each monitor is backed by a texture buffer object (TBO) which contains
a relatively compact encoding of the terminal state. This is then
rendered using a shader, which consumes the TBO and uses it to index
into main font texture.

As we're transmitting significantly less data to the GPU (only 3 bytes
per character), this effectively reduces any update lag to 0. FPS appears
to be up by a small fraction (10-15fps on my machine, to ~110), possibly
as we're now only drawing a single quad (though doing much more work in
the shader).

On my laptop, with its Intel integrated graphics card, I'm able to draw
120 full-sized monitors (with an effective resolution of 3972 x 2330) at
a consistent 60fps. Updates still cause a slight spike, but we always
remain above 30fps - a significant improvement over VBOs, where updates
would go off the chart.

Many thanks to @Lignum and @Lemmmy for devising this scheme, and helping
test and review it! ♥
2020-05-05 13:05:23 +01:00
..
da_dk.lang Show computer/disk ids in the tool tip more often 2020-05-02 10:38:17 +01:00
de_de.lang Show computer/disk ids in the tool tip more often 2020-05-02 10:38:17 +01:00
en_us.lang Add a monitor renderer using TBOs (#443) 2020-05-05 13:05:23 +01:00
es_es.lang Make http domain configuration a little clearer 2019-12-23 18:59:36 +00:00
fr_fr.lang Make http domain configuration a little clearer 2019-12-23 18:59:36 +00:00
it_it.lang Make http domain configuration a little clearer 2019-12-23 18:59:36 +00:00
ko_kr.lang Show computer/disk ids in the tool tip more often 2020-05-02 10:38:17 +01:00
pt_br.lang Make http domain configuration a little clearer 2019-12-23 18:59:36 +00:00
sv_se.lang Make http domain configuration a little clearer 2019-12-23 18:59:36 +00:00
zh_cn.lang Show computer/disk ids in the tool tip more often 2020-05-02 10:38:17 +01:00