cairo-gl-filters: Whitespace cleanup

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
cairo-gl-filters: Merge two if statements with same contents

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
gl/msaa: Refactor redundant code in _add_cap

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
gl/msaa: Remove some extraneous newlines

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
quartz: Whitespace cleanup

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Whitespace cleanup

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Add a shadow cache init routine

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Add a shadow cache destructor

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Add _cairo_shadow_cache_list_shrink_to_accomodate routine

Refactor common code for cache management into its own function.

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Refactor out redundant _cairo_surface_mask calls

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Refactor scale calculation to _calculate_shadow_extents_scale()

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Refactor list lookup code to _cairo_shadow_cache_list_find()

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Refactor reference to shadow_cache scale parameter

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Drop temporary scaled height and width variables

Just use the width_out and height_out variables since we assign to
them eventually anyway.

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Drop unnecessary shadow height/width calculations

The result of these calculations aren't used at this point in the
routine.  They're recalculated later anyway where they're actually
needed.

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Add structure for managing the shadow cache list

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Separate cache lookup from the cache list setup code

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Track locking status in the shadow cache list structure

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Refactor shadow cache list setup into its own routine

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
shadow: Add a shadow_surface_extents init routine

Signed-off-by: Bryce Harrington <b.harrington@samsung.com>