Ticket #951 (new task)

Opened 2 years ago

Last modified 2 years ago

replace _getRGBA with direct Color._rgba value

Reported by: ArcRiley Owned by:
Priority: Medium Milestone: beta3
Component: soy.colors Version: Trunk
Keywords: Cc:

Description

Rewrite Color to use a float array for _rgba vs separate _r _g _b and _a floats.

Replace _getRGBA throughout the codebase to use this value directly or copy it as needed.

This may be related to #901, but will speed up color access regardless.

Change History

Changed 2 years ago by ArcRiley

  • owner set to ArcRiley
  • status changed from new to assigned

Changed 2 years ago by ArcRiley

  • status changed from assigned to closed
  • resolution set to fixed

I believe this is complete.

Only a minor speedup, and no additional stability, but the code is a bit cleaner in any event.

Changed 2 years ago by ArcRiley

  • status changed from closed to reopened
  • resolution fixed deleted

I'm re-opening this ticket as TestColor? is segfaulting

Changed 2 years ago by ArcRiley

  • owner ArcRiley deleted
  • status changed from reopened to new

opening this up for someone else to debug - this shouldn't be very difficult. just use printf's and track down where the segfault is occurring.

Note: See TracTickets for help on using tickets.