X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=effect_chain.h;h=2b959bda68bfc2f5502f743c9ccb9435e79f9794;hp=6452d14952dbbda0a67fe879e45c4b96cd86d37f;hb=86cdfc6ea4318cfe6fd5d4bef51daf00f480973a;hpb=983fe15061b6e199877577b363a9f2fa102cf107 diff --git a/effect_chain.h b/effect_chain.h index 6452d14..2b959bd 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -16,6 +16,10 @@ // but if so, the threads' contexts need to be set up to share resources, since // the EffectChain holds textures and other OpenGL objects that are tied to the // context. +// +// Memory management (only relevant if you use multiple contexts): +// See corresponding comment in resource_pool.h. This holds even if you don't +// allocate your own ResourcePool, but let EffectChain hold its own. #include #include