#include <gl_texture_cache.h>
virtual mir::graphics::GLTextureCache::~GLTextureCache |
( |
| ) |
|
|
virtualdefault |
mir::graphics::GLTextureCache::GLTextureCache |
( |
| ) |
|
|
protecteddefault |
virtual void mir::graphics::GLTextureCache::drop_unused |
( |
| ) |
|
|
pure virtual |
virtual void mir::graphics::GLTextureCache::invalidate |
( |
| ) |
|
|
pure virtual |
Mark all entries in the cache as out-of-date to ensure fresh textures are loaded next time.
This function must be implemented in a way that does not require a GL context, as it will typically be called without one.
Implemented in mir::compositor::RecentlyUsedCache.
Loads texture from the renderable.
Must be called with a current GL context.
- Parameters
-
[in] | renderable | The Renderable that needs to be used as a texture |
- Returns
- The texture that represents the renderable.
Implemented in mir::compositor::RecentlyUsedCache.
The documentation for this class was generated from the following file:
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014