https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • f

    future-iron-61487

    09/22/2022, 7:39 AM
    afaik
  • b

    bright-gpu-74537

    09/22/2022, 7:40 AM
    i would still expect 90k 1x1 rects drawn to a "canvas" (of sorts - ie the video renderer) to be exponentially faster than 90k 1x1 svg rects
  • f

    future-iron-61487

    09/22/2022, 7:40 AM
    prolly
  • f

    future-iron-61487

    09/22/2022, 7:41 AM
    afaik libass is all vector
  • f

    future-iron-61487

    09/22/2022, 7:41 AM
    but it's not svg
  • b

    bright-gpu-74537

    09/22/2022, 7:41 AM
    svg comes with a load of other stuff over the top too... so a rect (even 1x1) is probably actually quite a heavy construct... certainly when compared to non-svg things
  • f

    future-iron-61487

    09/22/2022, 7:41 AM
    gotta render them truetype fonts and karaoke effects - sure hope my core i7 is up for this ANIME
  • f

    future-iron-61487

    09/22/2022, 7:42 AM
    shadersonshadersonshadersonshaders
  • f

    future-iron-61487

    09/22/2022, 7:43 AM
    butt yeah perfectly reasonable to not do that
  • f

    future-iron-61487

    09/22/2022, 7:43 AM
    I assume that it's something like setpixel into an array you have and then flip it all at once to the display
  • b

    bright-gpu-74537

    09/22/2022, 7:43 AM
    in haxeui canvas?
  • f

    future-iron-61487

    09/22/2022, 7:43 AM
    doing a whole draw call per pixel sounds not good
  • f

    future-iron-61487

    09/22/2022, 7:44 AM
    and I still can't tell if/when openfl uses acceleration
  • b

    bright-gpu-74537

    09/22/2022, 7:44 AM
    yeah, me neither
  • b

    bright-gpu-74537

    09/22/2022, 7:45 AM
    it might have changed, but i think when using
    .graphics
    it all CPU because it goes through cairo?
  • f

    future-iron-61487

    09/22/2022, 7:45 AM
    I assume cairo cpu renders the image that then gets thrown to the gpu as a quad?
  • f

    future-iron-61487

    09/22/2022, 7:45 AM
    IDK
  • f

    future-iron-61487

    09/22/2022, 7:46 AM
    it looks like it only has an opengl backend as far as GPU goes, which means on xbox it would have to be all software
  • b

    bright-gpu-74537

    09/22/2022, 7:46 AM
    yeah, i have no idea of the interal tbh
  • f

    future-iron-61487

    09/22/2022, 7:46 AM
    I wish there was more documentation
  • b

    bright-gpu-74537

    09/22/2022, 7:47 AM
    i know it uses cairo, but a) i dont know what happens then in cairo and b) i dont know if there are any optimizations that cut out cairo for certain things
  • b

    bright-gpu-74537

    09/22/2022, 7:47 AM
    ill remain silent on this one 😄
  • f

    future-iron-61487

    09/22/2022, 7:47 AM
    the documentation for haxe-ui is "ping ianharrigan on discorb"
  • f

    future-iron-61487

    09/22/2022, 7:48 AM
    ESPECIALLY the "css"
  • f

    future-iron-61487

    09/22/2022, 7:48 AM
    half the reason I write UI in code sometimes is autocomplete knows what properties there are but writing CSS in XML of course doesn't
  • b

    bright-gpu-74537

    09/22/2022, 7:49 AM
    hmmm, i guess thats fair
  • f

    future-iron-61487

    09/22/2022, 7:49 AM
    we need
  • f

    future-iron-61487

    09/22/2022, 7:49 AM
    typed xml
  • b

    bright-gpu-74537

    09/22/2022, 7:49 AM
    well, you can build xsd schemas from your components in haxeui
  • f

    future-iron-61487

    09/22/2022, 7:49 AM
    (to make the most people angry at once)
1...126812691270...1687Latest