Confirmed users
44
edits
Mattwoodrow (talk | contribs) |
Mattwoodrow (talk | contribs) |
||
| Line 78: | Line 78: | ||
|- | |- | ||
| Store Images as textures | | Store Images as textures | ||
| When we separate an image into it's own dedicated layer we have two copies of the data, one in system memory (owned by imglib) and one as a texture. We can teach imglib about this second copy and free the system memory one in some cases to save memory usage. This is particularly useful for mobile where image scaling is much cheaper on the GPU, but the memory cost of two copies will hurt. | | When we separate an image into it's own dedicated layer we have two copies of the data, one in system memory (owned by imglib) and one as a texture. We can teach imglib about this second copy and free the system memory one in some cases to save memory usage. This is particularly useful for mobile where image scaling is much cheaper on the GPU, but the memory cost of two copies will hurt.<br><br>'''Note''': This would also be a good stepping stone towards decoding JPEGs on the GPU. | ||
| {{bug|650988}} for mobile's usage of this. | | {{bug|650988}} for mobile's usage of this. | ||
| mattwoodrow/joe/roc | | mattwoodrow/joe/roc | ||
|} | |} | ||