theacodes / PhoenixCore

An experimental 2D optimizing rendering system built with OpenGL
Other
25 stars 5 forks source link

VBO-backed Geometry #1

Closed theacodes closed 12 years ago

theacodes commented 12 years ago

Give geometries the ability to be VBO backed.

BatchRenderer will have to be changed to accomodate rendering VBOd geometries.

ruby0x1 commented 12 years ago

I'd suggest a refresh() or update() (like BatchGeometry?) that syncs up. Mainly because lock would be unrelated, as a word, and because its overloaded as a function for its name?

theacodes commented 12 years ago

Good idea, I think we can keep the behavior of lock() calling update() if the geometry is already locked.

theacodes commented 12 years ago

b4311dc7d9 adds tentative support. Gotta add the ability to pull the data back from the gfx card and some more extensive testing.

theacodes commented 12 years ago

fdde3c2 finishes support for this feature.