[WEBINAR] Better to Ask Permission? Best Practices for Privacy and Security


Definition - What does Swizzling mean?

Swizzling, in the context of computer graphics, is the reordering of vector information in the pixel of an image in order to have it rendered quickly and more efficiently. This is because the swizzling is done in favor of the way that a specific graphics processing unit (GPU) or a CPU reads the pixel information, thereby lessening the overhead. The result is the same image that can be rendered much more quickly.

Techopedia explains Swizzling

Swizzling is achieved by reordering the matrix of values that make up the vector information. It is done because different renderers and graphics processors access data in different ways and in different orders, so swizzling vector information to cater to this special way allows the programmer to use specific instructions that can process data faster. This may also help in organizing the data in memory to allow better use of texture caches. For example, the vector component c1.rgba may be swizzled into c2.abgr to remove a step that a graphics processor might take to reorder the data, making processing faster.

One drawback of swizzling is that it makes it more difficult to access the image data quickly since it has changed dramatically from its original form. So a swizzled image might be faster to process, but it is very difficult to edit after the fact.
Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.