OpenGL Insights
Cover Table of Contents Pipeline Map Tips Contributors Reviews BibTeX Errata Code Blog Buy

V Transfers

OpenGL applications transfer a lot of data. Data is transferred between machines, between disk and system memory, between system and video memory, between video memory and video memory, and so on. Optimizing these transfers improves performance. In this section, we look at optimizing asynchronous transfers between the CPU and GPU; compressing models for use with WebGL; compressing textures on the GPU for video creation; and an efficient geometry file format.

Although general computations like particle systems are being pushed to the GPU, there is still a need to do many computations or IO on the CPU and then efficiently stream data to the GPU. In Chapter 28, "Asynchronous Buffer Transfers," Ladislav Hrabcak and Arnaud Masserann share best practices for maximizing performance when using buffer objects to transfer data between the CPU and GPU in either direction. With detailed performance analysis, they cover direct memory access (DMA), buffer usage hints, implicit synchronization with draw calls, pinned memory, and multithreading. Shalini Venkataraman continues the asynchronous transfers discussion in the following chapter, "Fermi Asynchronous Texture Transfers," where she discusses how the NVIDIA Fermi architecture allows transfer and rendering to occur at the same time when using multiple threads and OpenGL contexts.

The discussion of transfers moves from within a system to across systems in Chapter 30, "WebGL Models: End-to-End." Won Chun presents the techniques, including a detailed analysis, used in Google Body to compress and transfer models to a web browser for rendering with WebGL. Continuing on the compression theme, Brano Kemen demonstrates real-time image compression on the GPU in Chapter 31, "In-Game Video Capture with Real-Time Texture Compression." He applies his method to video compression using a DXT fixed-rate compression format to reduce bandwidth consumption, and he explores various decoloration methods to enhance image compression quality.

In graphics, content is king. A smooth content-creation pipeline empowers artists, and a format that requires minimal runtime processing improves load times. In the last chapter of this section, "An OpenGL Friendly Geometry File Format and its Maya Exporter," Adrien Herubel and Venceslas Biri present the Drone format, a binary geometry file format suitable for use with OpenGL.


28. Asynchronous Buffer Transfers
Ladislav Hrabcak and Arnaud Masserann
OpenGL

...

code


29. Fermi Asynchronous Texture Transfers
Shalini Venkataraman
OpenGL

...


30. WebGL Models: End-to-End
Won Chun
WebGL

...


31. In-Game Video Capture with Real-Time Texture Compression
Brano Kemen
OpenGL

...

code


32. An OpenGL-Friendly Geometry File Format and Its Maya Exporter
Adrien Herubel and Venceslas Biri
OpenGL
OpenGL ES

...


Sections

Related Links:

Togel178

Pedetogel

Sabatoto

Togel279

Togel158

Colok178

Novaslot88

Lain-Lain

Partner Links