Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 19:15
    mandeep edited #3041
  • 04:53
    aleksijuvani opened #3042
  • 04:39
    mandeep edited #3041
  • 04:39
    mandeep opened #3041
  • Oct 11 15:20
    bors[bot] closed #3040
  • Oct 11 15:20
    bors[bot] closed #3036
  • Oct 11 15:20
    bors[bot] closed #3023
  • Oct 11 15:20
    bors[bot] closed #3036
  • Oct 11 15:20
    bors[bot] closed #3023
  • Oct 11 15:20

    bors[bot] on master

    gl: Bump wasm-bindgen version gl: Remove coherent requirement… gl: Bump glow version and 2 more (compare)

  • Oct 11 15:20
    bors[bot] commented #3040
  • Oct 11 14:51

    bors[bot] on staging.tmp

    (compare)

  • Oct 11 14:51

    bors[bot] on staging

    gl: Bump wasm-bindgen version gl: Remove coherent requirement… gl: Bump glow version and 2 more (compare)

  • Oct 11 14:51

    bors[bot] on staging.tmp

    gl: Bump wasm-bindgen version gl: Remove coherent requirement… gl: Bump glow version and 2 more (compare)

  • Oct 11 14:51

    bors[bot] on staging.tmp

    [ci skip][skip ci][skip netlify] (compare)

  • Oct 11 11:45
    grovesNL synchronize #3040
  • Oct 11 09:09
    demurgos commented #3040
  • Oct 11 01:05
    grovesNL opened #3040
  • Oct 11 01:05
    grovesNL review_requested #3040
  • Oct 10 18:52
    demurgos commented #3036
Dzmitry Malyshau
@kvark
My understanding is that nothing (outside of, possibly, some debug functionality) will need to iterate the valid handles (where different types of handles are used for, to say, vertex buffers, shaders, meshes, materials, etc). The game (or for some handles - the render thread) keeps track of the handles it uses, and iterates over its own structures.
Chip Collier
@photex
nothing will iterate the handles
but they will iterate what the handles point to
if you can't make a new handle
then you can't effectively make a new item in the collection
anyway, there is clearly a problem with this design. Perhaps we should redesign it from first principles
Brendan Zabarauskas
@brendanzab
so what is the problem?
this is with the data-oriented way of doing things?
Dzmitry Malyshau
@kvark
@photex could you explain it on an example with a particular handler type?
@cmr ohi!
Brendan Zabarauskas
@brendanzab
@cmr o/
@cmr: still keeping this pretty quiet seeing as we have lots still to figure out
Dzmitry Malyshau
@kvark
@bjz I'm trying to get what's the problem with my proposal according to @photex , and so far it seems that I misunderstand the whole concept of handler management.
Brendan Zabarauskas
@brendanzab
@photex do you think this is something we can re-engineer later? It would be awesome just to get something rendering. I know this is pretty fundemental though.
@kvark gw might be on IRC soon
@kvark perhaps you could ask him - he has tons of experience with this design
Dzmitry Malyshau
@kvark
@bjz ok, will try to catch him
@bjz btw, the whole handler management thing is not required to get something rendering
Brendan Zabarauskas
@brendanzab
@kvark I reckon just implement something then we can squabble over it in a PR :)
It will probably be easier with something more concrete
Dzmitry Malyshau
@kvark
@bjz you know, I'm on my way to it...
Brendan Zabarauskas
@brendanzab
:D
sorry
Dzmitry Malyshau
@kvark
@bjz it's cool, I understand your position
Dzmitry Malyshau
@kvark
@bjz halp! Even if I introduce GlProvider trait, I can only implement it for Glfw, but we have a Window, not the context.... And the reason we are not capturing the whole context is because we want to leave event management to the user (which makes perfect sense). Piston doesn't have this problem since they are managing events internally, so they are just capturing the whole thing...
Dzmitry Malyshau
@kvark
@bjz Ok, I kinda worked my way through it, but it break a bit of platform abstraction. Passing a reference to Glfw (under my trait) as the initialization option now.
Dzmitry Malyshau
@kvark
Sadly no-one is here to share my joy,.. but the sacred triangle achievement is unlocked! See #8
Dzmitry Malyshau
@kvark
@bjz @photex Please also have a look (and express your opinion on) #9
Off for today... G'night!
Brendan Zabarauskas
@brendanzab
Sorry - just got back from a night out! This looks sooo cool. :) But I am not in the state to review right now. I will look tomorrow!
Dzmitry Malyshau
@kvark
@bjz Get a good rest, there is a lot of work ahead.
Also let me know what you think about #10. I believe that if #9 and #10 were implemented before I got the triangle, my path to it would be sufficiently more clear ;). I marked both as milestone because they are directly related to the topic of the speech at Game Tech.
Brendan Zabarauskas
@brendanzab
g'morning!
@photex are you around? :)
Brendan Zabarauskas
@brendanzab
@kvark sorry - just correcting some misconceptions on HN :P
Brendan Zabarauskas
@brendanzab
@kvark added lots of comments
@kvark I can push some changes if you like?
Brendan Zabarauskas
@brendanzab
@kvark I might implement those fixes myself and make a new PR
OMG so cool - triangle
Brendan Zabarauskas
@brendanzab
it builds locally
Brendan Zabarauskas
@brendanzab
@mitchmindtree o/
mitchmindtree
@mitchmindtree
yooo
Brendan Zabarauskas
@brendanzab
travis woes
could you check them out and see if you have any ideas?
mitchmindtree
@mitchmindtree
travis woes?
Brendan Zabarauskas
@brendanzab
yeah
it builds locally, but not on travis
#12