]> git.tdb.fi Git - libs/gltk.git/commit - source/partcache.h
Cache widget parts in meshes
authorMikko Rasa <tdb@tdb.fi>
Fri, 30 Nov 2012 20:21:55 +0000 (22:21 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 30 Nov 2012 20:43:03 +0000 (22:43 +0200)
commit1aa6cd9b865e366737dcc9d2d36c4f8faed5bc4f
tree364f25f2aa8db0f6644ba86e0b475cd072ba2824
parent2accd84fb2f8cc96efea8b3f27e381c2d2749160
Cache widget parts in meshes

This initial implementation is rather rough, but it paves the way for
using GL::Renderer.  It uses a lot of VBOs and is generally less efficient
than it could, but those will be addressed in the near future.  All
widgets haven't been tested, but the helloworld example works.
31 files changed:
source/button.cpp
source/button.h
source/dropdown.cpp
source/dropdown.h
source/entry.cpp
source/entry.h
source/graphic.cpp
source/graphic.h
source/hslider.cpp
source/hslider.h
source/image.cpp
source/image.h
source/label.cpp
source/label.h
source/list.cpp
source/list.h
source/part.cpp
source/part.h
source/partcache.cpp [new file with mode: 0644]
source/partcache.h [new file with mode: 0644]
source/slider.cpp
source/table.cpp
source/table.h
source/text.cpp
source/text.h
source/toggle.cpp
source/toggle.h
source/vslider.cpp
source/vslider.h
source/widget.cpp
source/widget.h