Cleanup and TextureCache changes #798

Merged
merged 38 commits into from Apr 4, 2012
Commits on Mar 30, 2012
  1. get rid of unused temporary in SetDetailsForMovie

    Jonathan Marshall committed Feb 23, 2012
  2. cosmetic: align code block

    Jonathan Marshall committed Feb 22, 2012
  3. cosmetic - improve layout of view creation

    Jonathan Marshall committed Feb 16, 2012
  4. refactor fetching of cast to a common function

    Jonathan Marshall committed Feb 24, 2012
  5. cosmetic rearrangement of the SQL query in GetSeasonsNav

    Jonathan Marshall committed Feb 25, 2012
  6. cosmetic, rename strThumb->thumbURLs in AddActor

    Jonathan Marshall committed Feb 24, 2012
  7. ensure we reset the invalidated state immediately after reading it (m…

    Jonathan Marshall committed Mar 24, 2012
    …inimizes another thread changing it)
Commits on Mar 31, 2012
  1. changed: format thumb urls as image://[type@]<url_encoded_path_to_fil…

    Jonathan Marshall committed Feb 4, 2012
    …e>?<options> so it can be reused for generic image caching
  2. cosmetics: cleanup variable names, and some minor refactor to make th…

    Jonathan Marshall committed Feb 5, 2012
    …e code clearer
  3. use image://picturefolder@ urls for picture folder thumbs, rather tha…

    Jonathan Marshall committed Feb 10, 2012
    …n storing cached thumb URLs in the path->texture db table
  4. drop previously cached path->texture lookups to get rid of previously…

    Jonathan Marshall committed Feb 10, 2012
    … cached stuff
  5. reorganise code so that CTextureCache::CheckAndCacheImage() is done a…

    Jonathan Marshall committed Feb 11, 2012
    …s little as possible
  6. add a fallback to the infomanager, specifically for thumbs that fail …

    Jonathan Marshall committed Feb 11, 2012
    …to load
  7. remove hacks for checking auto-thumbs that fail to cache (0-byte file…

    Jonathan Marshall committed Feb 15, 2012
    …) for whatever reason, now that the infomanager can return the icon in those instances
  8. change texture caching functions to not re-cache on Gets, rather re-c…

    Jonathan Marshall committed Mar 22, 2012
    …ache using a separate background job.
Commits on Apr 3, 2012
  1. instead of having background thumb loaders cache images, do it via jo…

    Jonathan Marshall committed Mar 22, 2012
    …bs instead, and have the item's thumbnail image be the actual image, not a cached images.
  2. add type column to path table of texture database for saving paths to…

    Jonathan Marshall committed Feb 15, 2012
    … thumbs/fanart/other images
  3. add Export to texture cache

    Jonathan Marshall committed Feb 22, 2012
  4. remove urlhash from tables - sqlite has fast enough indicies, and no …

    Jonathan Marshall committed Feb 15, 2012
    …point in tempting a hash clash
  5. support flipped textures in the texture cache

    Jonathan Marshall committed Feb 22, 2012
  6. support for setting orientation in CTexture

    Jonathan Marshall committed Mar 26, 2012
  7. the large texture manager supplies exif information, so make sure we …

    Jonathan Marshall committed Mar 25, 2012
    …rotate images appropriately
  8. add copy constructor to CBaseTexture

    Jonathan Marshall committed Mar 29, 2012
  9. ensure we clear out cached art for paths when regenerating picture th…

    Jonathan Marshall committed Mar 25, 2012
    …umbs
  10. add routines to scale and rotate images, allowing less dependence on …

    Jonathan Marshall committed Mar 25, 2012
    …cximage for caching textures
  11. move texture caching jobs to a separate file

    Jonathan Marshall committed Mar 29, 2012
  12. add CPicture::CreateTiledThumb for faster creation of picture folder …

    Jonathan Marshall committed Mar 30, 2012
    …thumbs
  13. use CTexture::LoadTexture() for loading images for caching, and CPict…

    Jonathan Marshall committed Mar 29, 2012
    …ure::CacheTexture() to cache the result. Allows CJpegIO for faster jpeg loading and scaling
  14. check for a valid picture before caching

    Jonathan Marshall committed Mar 30, 2012
  15. Split CTextureCacheJob::CacheImage() into DecodeImageURL and LoadImag…

    Jonathan Marshall committed Mar 30, 2012
    …e, with the remainder being done in DoWork()
  16. refactor texture background loader to use the new texture cache funct…

    Jonathan Marshall committed Mar 25, 2012
    …ionality.
  17. fixed: use the maxWidth and maxHeight passed into LoadTexture() in CJ…

    Jonathan Marshall committed Mar 31, 2012
    …pegIO for faster image loading
  18. drop hard limit of 2048x1080 for texture loading - it's bounded by th…

    Jonathan Marshall committed Apr 3, 2012
    …e size of screen anyway