Opencl Programming Guide

Opencl Programming Guide Book in PDF, ePub and Kindle version is available to download in english. Read online anytime anywhere directly from your device. Click on the download button below to get a free pdf file of Opencl Programming Guide book. This book definitely worth reading, it is an incredibly well-written.

OpenCL Programming Guide

Author : Aaftab Munshi,Benedict Gaster,Timothy G. Mattson,Dan Ginsburg
Publisher : Pearson Education
Page : 649 pages
File Size : 47,8 Mb
Release : 2011-07-07
Category : Computers
ISBN : 9780132594554

Get Book

OpenCL Programming Guide by Aaftab Munshi,Benedict Gaster,Timothy G. Mattson,Dan Ginsburg Pdf

Using the new OpenCL (Open Computing Language) standard, you can write applications that access all available programming resources: CPUs, GPUs, and other processors such as DSPs and the Cell/B.E. processor. Already implemented by Apple, AMD, Intel, IBM, NVIDIA, and other leaders, OpenCL has outstanding potential for PCs, servers, handheld/embedded devices, high performance computing, and even cloud systems. This is the first comprehensive, authoritative, and practical guide to OpenCL 1.1 specifically for working developers and software architects. Written by five leading OpenCL authorities, OpenCL Programming Guide covers the entire specification. It reviews key use cases, shows how OpenCL can express a wide range of parallel algorithms, and offers complete reference material on both the API and OpenCL C programming language. Through complete case studies and downloadable code examples, the authors show how to write complex parallel programs that decompose workloads across many different devices. They also present all the essentials of OpenCL software performance optimization, including probing and adapting to hardware. Coverage includes Understanding OpenCL’s architecture, concepts, terminology, goals, and rationale Programming with OpenCL C and the runtime API Using buffers, sub-buffers, images, samplers, and events Sharing and synchronizing data with OpenGL and Microsoft’s Direct3D Simplifying development with the C++ Wrapper API Using OpenCL Embedded Profiles to support devices ranging from cellphones to supercomputer nodes Case studies dealing with physics simulation; image and signal processing, such as image histograms, edge detection filters, Fast Fourier Transforms, and optical flow; math libraries, such as matrix multiplication and high-performance sparse matrix multiplication; and more Source code for this book is available at https://code.google.com/p/opencl-book-samples/

OpenCL Programming Guide

Author : Aaftab Munshi,Benedict Gaster,Timothy G. Mattson
Publisher : Addison-Wesley Professional
Page : 603 pages
File Size : 55,6 Mb
Release : 2011-07
Category : Computers
ISBN : 0321749642

Get Book

OpenCL Programming Guide by Aaftab Munshi,Benedict Gaster,Timothy G. Mattson Pdf

The definitive reference and programming guide for OpenCL, the new parallel programming standard for high performance and cloud environments. • •Will catch a growing wave of interest in OpenCL, following its implementations by Apple, NVIDIA, and ATI. •Designed specifically for developers: shows how to write parallel OpenCL software that takes advantage of all available processors (CPUs, GPUs, accelerators, and more) •OpenCL insiders present its API, programming language, development best practices, and many practical examples. The new OpenCL (Open Computing Language) standard and framework will make it possible to write applications that access all the programming resources available to them, including CPUs, GPUs, accelerators such as IBM's CELL, and even external processors. Already implemented by Apple (in Snow Leopard), ATI, and NVIDIA, OpenCL will be a solution for personal computers, servers, handheld/embedded devices, High Performance Computing applications, and even cloud systems. However, until now, developers who want to learn OpenCL have been required to read a specification designed for hardware and software implementers, not programmers. OpenCL Programming Guide is the first comprehensive, authoritative guide to OpenCL specifically designed for working developers. Written by leaders in the OpenCL community, this book thoroughly explains how each element of OpenCL 1.1 works, and offers complete reference material on the OpenCL API and programming language. The authors review key use cases, demonstrate how to write performant OpenCL code, and introduce essential algorithms for developers. They also present many examples, performance tips, case studies, and problems designed to help developers rapidly become effective, whatever their application or computing environment.

OpenCL in Action

Author : Matthew Scarpino
Publisher : Simon and Schuster
Page : 668 pages
File Size : 43,5 Mb
Release : 2011-11-13
Category : Computers
ISBN : 9781638352389

Get Book

OpenCL in Action by Matthew Scarpino Pdf

Summary OpenCL in Action is a thorough, hands-on presentation of OpenCL, with an eye toward showing developers how to build high-performance applications of their own. It begins by presenting the core concepts behind OpenCL, including vector computing, parallel programming, and multi-threaded operations, and then guides you step-by-step from simple data structures to complex functions. About the Technology Whatever system you have, it probably has more raw processing power than you're using. OpenCL is a high-performance programming language that maximizes computational power by executing on CPUs, graphics processors, and other number-crunching devices. It's perfect for speed-sensitive tasks like vector computing, matrix operations, and graphics acceleration. About this Book OpenCL in Action blends the theory of parallel computing with the practical reality of building high-performance applications using OpenCL. It first guides you through the fundamental data structures in an intuitive manner. Then, it explains techniques for high-speed sorting, image processing, matrix operations, and fast Fourier transform. The book concludes with a deep look at the all-important subject of graphics acceleration. Numerous challenging examples give you different ways to experiment with working code. A background in C or C++ is helpful, but no prior exposure to OpenCL is needed. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's Inside Learn OpenCL step by step Tons of annotated code Tested algorithms for maximum performance *********** Table of Contents PART 1 FOUNDATIONS OF OPENCL PROGRAMMING Introducing OpenCL Host programming: fundamental data structures Host programming: data transfer and partitioning Kernel programming: data types and device memory Kernel programming: operators and functions Image processing Events, profiling, and synchronization Development with C++ Development with Java and Python General coding principles PART 2 CODING PRACTICAL ALGORITHMS IN OPENCL Reduction and sorting Matrices and QR decomposition Sparse matrices Signal processing and the fast Fourier transform PART 3 ACCELERATING OPENGL WITH OPENCL Combining OpenCL and OpenGL Textures and renderbuffers

Heterogeneous Computing with OpenCL

Author : Benedict Gaster,Lee Howes,David R. Kaeli,Perhaad Mistry,Dana Schaa
Publisher : Newnes
Page : 309 pages
File Size : 54,6 Mb
Release : 2012-11-13
Category : Computers
ISBN : 9780124058941

Get Book

Heterogeneous Computing with OpenCL by Benedict Gaster,Lee Howes,David R. Kaeli,Perhaad Mistry,Dana Schaa Pdf

Heterogeneous Computing with OpenCL, Second Edition teaches OpenCL and parallel programming for complex systems that may include a variety of device architectures: multi-core CPUs, GPUs, and fully-integrated Accelerated Processing Units (APUs) such as AMD Fusion technology. It is the first textbook that presents OpenCL programming appropriate for the classroom and is intended to support a parallel programming course. Students will come away from this text with hands-on experience and significant knowledge of the syntax and use of OpenCL to address a range of fundamental parallel algorithms. Designed to work on multiple platforms and with wide industry support, OpenCL will help you more effectively program for a heterogeneous future. Written by leaders in the parallel computing and OpenCL communities, Heterogeneous Computing with OpenCL explores memory spaces, optimization techniques, graphics interoperability, extensions, and debugging and profiling. It includes detailed examples throughout, plus additional online exercises and other supporting materials that can be downloaded at http://www.heterogeneouscompute.org/?page_id=7 This book will appeal to software engineers, programmers, hardware engineers, and students/advanced students. Explains principles and strategies to learn parallel programming with OpenCL, from understanding the four abstraction models to thoroughly testing and debugging complete applications. Covers image processing, web plugins, particle simulations, video editing, performance optimization, and more. Shows how OpenCL maps to an example target architecture and explains some of the tradeoffs associated with mapping to various architectures Addresses a range of fundamental programming techniques, with multiple examples and case studies that demonstrate OpenCL extensions for a variety of hardware platforms

OpenCL Programming by Example

Author : Ravishekhar Banger,Koushik Bhattacharyya
Publisher : Packt Publishing Ltd
Page : 437 pages
File Size : 51,6 Mb
Release : 2013-12-23
Category : Computers
ISBN : 9781849692359

Get Book

OpenCL Programming by Example by Ravishekhar Banger,Koushik Bhattacharyya Pdf

This book follows an example-driven, simplified, and practical approach to using OpenCL for general purpose GPU programming. If you are a beginner in parallel programming and would like to quickly accelerate your algorithms using OpenCL, this book is perfect for you! You will find the diverse topics and case studies in this book interesting and informative. You will only require a good knowledge of C programming for this book, and an understanding of parallel implementations will be useful, but not necessary.

Heterogeneous Computing with OpenCL 2.0

Author : David R. Kaeli,Perhaad Mistry,Dana Schaa,Dong Ping Zhang
Publisher : Morgan Kaufmann
Page : 330 pages
File Size : 53,5 Mb
Release : 2015-06-18
Category : Computers
ISBN : 9780128016497

Get Book

Heterogeneous Computing with OpenCL 2.0 by David R. Kaeli,Perhaad Mistry,Dana Schaa,Dong Ping Zhang Pdf

Heterogeneous Computing with OpenCL 2.0 teaches OpenCL and parallel programming for complex systems that may include a variety of device architectures: multi-core CPUs, GPUs, and fully-integrated Accelerated Processing Units (APUs). This fully-revised edition includes the latest enhancements in OpenCL 2.0 including: • Shared virtual memory to increase programming flexibility and reduce data transfers that consume resources • Dynamic parallelism which reduces processor load and avoids bottlenecks • Improved imaging support and integration with OpenGL Designed to work on multiple platforms, OpenCL will help you more effectively program for a heterogeneous future. Written by leaders in the parallel computing and OpenCL communities, this book explores memory spaces, optimization techniques, extensions, debugging and profiling. Multiple case studies and examples illustrate high-performance algorithms, distributing work across heterogeneous systems, embedded domain-specific languages, and will give you hands-on OpenCL experience to address a range of fundamental parallel algorithms. Updated content to cover the latest developments in OpenCL 2.0, including improvements in memory handling, parallelism, and imaging support Explanations of principles and strategies to learn parallel programming with OpenCL, from understanding the abstraction models to thoroughly testing and debugging complete applications Example code covering image analytics, web plugins, particle simulations, video editing, performance optimization, and more

WebGL Programming Guide

Author : Kouichi Matsuda,Rodger Lea
Publisher : Addison-Wesley
Page : 547 pages
File Size : 54,7 Mb
Release : 2013-07-04
Category : Computers
ISBN : 9780133364927

Get Book

WebGL Programming Guide by Kouichi Matsuda,Rodger Lea Pdf

Using WebGL®, you can create sophisticated interactive 3D graphics inside web browsers, without plug-ins. WebGL makes it possible to build a new generation of 3D web games, user interfaces, and information visualization solutions that will run on any standard web browser, and on PCs, smartphones, tablets, game consoles, or other devices. WebGL Programming Guide will help you get started quickly with interactive WebGL 3D programming, even if you have no prior knowledge of HTML5, JavaScript, 3D graphics, mathematics, or OpenGL. You’ll learn step-by-step, through realistic examples, building your skills as you move from simple to complex solutions for building visually appealing web pages and 3D applications with WebGL. Media, 3D graphics, and WebGL pioneers Dr. Kouichi Matsuda and Dr. Rodger Lea offer easy-to-understand tutorials on key aspects of WebGL, plus 100 downloadable sample programs, each demonstrating a specific WebGL topic. You’ll move from basic techniques such as rendering, animating, and texturing triangles, all the way to advanced techniques such as fogging, shadowing, shader switching, and displaying 3D models generated by Blender or other authoring tools. This book won’t just teach you WebGL best practices, it will give you a library of code to jumpstart your own projects. Coverage includes: • WebGL’s origin, core concepts, features, advantages, and integration with other web standards • How and basic WebGL functions work together to deliver 3D graphics • Shader development with OpenGL ES Shading Language (GLSL ES) • 3D scene drawing: representing user views, controlling space volume, clipping, object creation, and perspective • Achieving greater realism through lighting and hierarchical objects • Advanced techniques: object manipulation, heads-up displays, alpha blending, shader switching, and more • Valuable reference appendixes covering key issues ranging from coordinate systems to matrices and shader loading to web browser settings This is the newest text in the OpenGL Technical Library, Addison-Wesley’s definitive collection of programming guides an reference manuals for OpenGL and its related technologies. The Library enables programmers to gain a practical understanding of OpenGL and the other Khronos application-programming libraries including OpenGL ES and OpenCL. All of the technologies in the OpenGL Technical Library evolve under the auspices of the Khronos Group, the industry consortium guiding the evolution of modern, open-standards media APIs.

OpenVX Programming Guide

Author : Frank Brill,Victor Erukhimov,Radha Giduthuru,Stephen Ramm
Publisher : Academic Press
Page : 372 pages
File Size : 51,8 Mb
Release : 2020-05-22
Category : Computers
ISBN : 9780128166192

Get Book

OpenVX Programming Guide by Frank Brill,Victor Erukhimov,Radha Giduthuru,Stephen Ramm Pdf

OpenVX is the computer vision API adopted by many high-performance processor vendors. It is quickly becoming the preferred way to write fast and power-efficient code on embedded systems. OpenVX Programming Guidebook presents definitive information on OpenVX 1.2 and 1.3, the Neural Network, and other extensions as well as the OpenVX Safety Critical standard. This book gives a high-level overview of the OpenVX standard, its design principles, and overall structure. It covers computer vision functions and the graph API, providing examples of usage for the majority of the functions. It is intended both for the first-time user of OpenVX and as a reference for experienced OpenVX developers. Get to grips with the OpenVX standard and gain insight why various options were chosen Start developing efficient OpenVX code instantly Understand design principles and use them to create robust code Develop consumer and industrial products that use computer vision to understand and interact with the real world

Vulkan Programming Guide

Author : Graham Sellers,John Kessenich
Publisher : Addison-Wesley Professional
Page : 1032 pages
File Size : 51,9 Mb
Release : 2016-11-07
Category : Computers
ISBN : 9780134464688

Get Book

Vulkan Programming Guide by Graham Sellers,John Kessenich Pdf

The Definitive VulkanTM Developer’s Guide and Reference: Master the Next-Generation Specification for Cross-Platform Graphics The next generation of the OpenGL specification, Vulkan, has been redesigned from the ground up, giving applications direct control over GPU acceleration for unprecedented performance and predictability. VulkanTM Programming Guide is the essential, authoritative reference to this new standard for experienced graphics programmers in all Vulkan environments. Vulkan API lead Graham Sellers (with contributions from language lead John Kessenich) presents example-rich introductions to the portable Vulkan API and the new SPIR-V shading language. The author introduces Vulkan, its goals, and the key concepts framing its API, and presents a complex rendering system that demonstrates both Vulkan’s uniqueness and its exceptional power. You’ll find authoritative coverage of topics ranging from drawing to memory, and threading to compute shaders. The author especially shows how to handle tasks such as synchronization, scheduling, and memory management that are now the developer’s responsibility. VulkanTM Programming Guide introduces powerful 3D development techniques for fields ranging from video games to medical imaging, and state-of-the-art approaches to solving challenging scientific compute problems. Whether you’re upgrading from OpenGL or moving to open-standard graphics APIs for the first time, this guide will help you get the results and performance you’re looking for. Coverage includes Extensively tested code examples to demonstrate Vulkan’s capabilities and show how it differs from OpenGL Expert guidance on getting started and working with Vulkan’s new memory system Thorough discussion of queues, commands, moving data, and presentation Full explanations of the SPIR-V binary shading language and compute/graphics pipelines Detailed discussions of drawing commands, geometry and fragment processing, synchronization primitives, and reading Vulkan data into applications A complete case study application: deferred rendering using complex multi-pass architecture and multiple processing queues Appendixes presenting Vulkan functions and SPIR-V opcodes, as well as a complete Vulkan glossary Example code can be found here: Example code can be found here: https://github.com/vulkanprogrammingguide/examples

CUDA Programming

Author : Shane Cook
Publisher : Newnes
Page : 592 pages
File Size : 46,7 Mb
Release : 2012-11-13
Category : Computers
ISBN : 9780124159334

Get Book

CUDA Programming by Shane Cook Pdf

'CUDA Programming' offers a detailed guide to CUDA with a grounding in parallel fundamentals. It starts by introducing CUDA and bringing you up to speed on GPU parallelism and hardware, then delving into CUDA installation.

OpenGL ES 3.0 Programming Guide

Author : Dan Ginsburg,Budirijanto Purnomo,Dave Shreiner,Aaftab Munshi
Publisher : Addison-Wesley Professional
Page : 570 pages
File Size : 52,6 Mb
Release : 2014-02-28
Category : Computers
ISBN : 9780133440126

Get Book

OpenGL ES 3.0 Programming Guide by Dan Ginsburg,Budirijanto Purnomo,Dave Shreiner,Aaftab Munshi Pdf

OpenGL ® ES TM is the industry’s leading software interface and graphics library for rendering sophisticated 3D graphics on handheld and embedded devices. The newest version, OpenGL ES 3.0, makes it possible to create stunning visuals for new games and apps, without compromising device performance or battery life. In the OpenGL® ESTM 3.0 Programming Guide, Second Edition, the authors cover the entire API and Shading Language. They carefully introduce OpenGL ES 3.0 features such as shadow mapping, instancing, multiple render targets, uniform buffer objects, texture compression, program binaries, and transform feedback. Through detailed, downloadable C-based code examples, you’ll learn how to set up and program every aspect of the graphics pipeline. Step by step, you’ll move from introductory techniques all the way to advanced per-pixel lighting and particle systems. Throughout, you’ll find cutting-edge tips for optimizing performance, maximizing efficiency with both the API and hardware, and fully leveraging OpenGL ES 3.0 in a wide spectrum of applications. All code has been built and tested on iOS 7, Android 4.3, Windows (OpenGL ES 3.0 Emulation), and Ubuntu Linux, and the authors demonstrate how to build OpenGL ES code for each platform. Coverage includes EGL API: communicating with the native windowing system, choosing configurations, and creating rendering contexts and surfaces Shaders: creating and attaching shader objects; compiling shaders; checking for compile errors; creating, linking, and querying program objects; and using source shaders and program binaries OpenGL ES Shading Language: variables, types, constructors, structures, arrays, attributes, uniform blocks, I/O variables, precision qualifiers, and invariance Geometry, vertices, and primitives: inputting geometry into the pipeline, and assembling it into primitives 2D/3D, Cubemap, Array texturing: creation, loading, and rendering; texture wrap modes, filtering, and formats; compressed textures, sampler objects, immutable textures, pixel unpack buffer objects, and mipmapping Fragment shaders: multitexturing, fog, alpha test, and user clip planes Fragment operations: scissor, stencil, and depth tests; multisampling, blending, and dithering Framebuffer objects: rendering to offscreen surfaces for advanced effects Advanced rendering: per-pixel lighting, environment mapping, particle systems, image post-processing, procedural textures, shadow mapping, terrain, and projective texturing Sync objects and fences: synchronizing within host application and GPU execution This edition of the book includes a color insert of the OpenGL ES 3.0 API and OpenGL ES Shading Language 3.0 Reference Cards created by Khronos. The reference cards contain a complete list of all of the functions in OpenGL ES 3.0 along with all of the types, operators, qualifiers, built-ins, and functions in the OpenGL ES Shading Language.

CUDA by Example

Author : Jason Sanders,Edward Kandrot
Publisher : Addison-Wesley Professional
Page : 523 pages
File Size : 50,6 Mb
Release : 2010-07-19
Category : Computers
ISBN : 9780132180139

Get Book

CUDA by Example by Jason Sanders,Edward Kandrot Pdf

CUDA is a computing architecture designed to facilitate the development of parallel programs. In conjunction with a comprehensive software platform, the CUDA Architecture enables programmers to draw on the immense power of graphics processing units (GPUs) when building high-performance applications. GPUs, of course, have long been available for demanding graphics and game applications. CUDA now brings this valuable resource to programmers working on applications in other domains, including science, engineering, and finance. No knowledge of graphics programming is required—just the ability to program in a modestly extended version of C. CUDA by Example, written by two senior members of the CUDA software platform team, shows programmers how to employ this new technology. The authors introduce each area of CUDA development through working examples. After a concise introduction to the CUDA platform and architecture, as well as a quick-start guide to CUDA C, the book details the techniques and trade-offs associated with each key CUDA feature. You’ll discover when to use each CUDA C extension and how to write CUDA software that delivers truly outstanding performance. Major topics covered include Parallel programming Thread cooperation Constant memory and events Texture memory Graphics interoperability Atomics Streams CUDA C on multiple GPUs Advanced atomics Additional CUDA resources All the CUDA software tools you’ll need are freely available for download from NVIDIA. http://developer.nvidia.com/object/cuda-by-example.html

Professional CUDA C Programming

Author : John Cheng,Max Grossman,Ty McKercher
Publisher : John Wiley & Sons
Page : 528 pages
File Size : 43,8 Mb
Release : 2014-09-09
Category : Computers
ISBN : 9781118739327

Get Book

Professional CUDA C Programming by John Cheng,Max Grossman,Ty McKercher Pdf

Break into the powerful world of parallel GPU programming with this down-to-earth, practical guide Designed for professionals across multiple industrial sectors, Professional CUDA C Programming presents CUDA -- a parallel computing platform and programming model designed to ease the development of GPU programming -- fundamentals in an easy-to-follow format, and teaches readers how to think in parallel and implement parallel algorithms on GPUs. Each chapter covers a specific topic, and includes workable examples that demonstrate the development process, allowing readers to explore both the "hard" and "soft" aspects of GPU programming. Computing architectures are experiencing a fundamental shift toward scalable parallel computing motivated by application requirements in industry and science. This book demonstrates the challenges of efficiently utilizing compute resources at peak performance, presents modern techniques for tackling these challenges, while increasing accessibility for professionals who are not necessarily parallel programming experts. The CUDA programming model and tools empower developers to write high-performance applications on a scalable, parallel computing platform: the GPU. However, CUDA itself can be difficult to learn without extensive programming experience. Recognized CUDA authorities John Cheng, Max Grossman, and Ty McKercher guide readers through essential GPU programming skills and best practices in Professional CUDA C Programming, including: CUDA Programming Model GPU Execution Model GPU Memory model Streams, Event and Concurrency Multi-GPU Programming CUDA Domain-Specific Libraries Profiling and Performance Tuning The book makes complex CUDA concepts easy to understand for anyone with knowledge of basic software development with exercises designed to be both readable and high-performance. For the professional seeking entrance to parallel computing and the high-performance computing community, Professional CUDA C Programming is an invaluable resource, with the most current information available on the market.

Parallel Programming with OpenACC

Author : Rob Farber
Publisher : Newnes
Page : 326 pages
File Size : 51,7 Mb
Release : 2016-10-14
Category : Computers
ISBN : 9780124104594

Get Book

Parallel Programming with OpenACC by Rob Farber Pdf

Parallel Programming with OpenACC is a modern, practical guide to implementing dependable computing systems. The book explains how anyone can use OpenACC to quickly ramp-up application performance using high-level code directives called pragmas. The OpenACC directive-based programming model is designed to provide a simple, yet powerful, approach to accelerators without significant programming effort. Author Rob Farber, working with a team of expert contributors, demonstrates how to turn existing applications into portable GPU accelerated programs that demonstrate immediate speedups. The book also helps users get the most from the latest NVIDIA and AMD GPU plus multicore CPU architectures (and soon for Intel® Xeon PhiTM as well). Downloadable example codes provide hands-on OpenACC experience for common problems in scientific, commercial, big-data, and real-time systems. Topics include writing reusable code, asynchronous capabilities, using libraries, multicore clusters, and much more. Each chapter explains how a specific aspect of OpenACC technology fits, how it works, and the pitfalls to avoid. Throughout, the book demonstrates how the use of simple working examples that can be adapted to solve application needs. Presents the simplest way to leverage GPUs to achieve application speedups Shows how OpenACC works, including working examples that can be adapted for application needs Allows readers to download source code and slides from the book's companion web page

OpenGL Programming Guide

Author : Dave Shreiner,Graham Sellers,John Kessenich,Bill Licea-Kane
Publisher : Addison-Wesley
Page : 1489 pages
File Size : 45,7 Mb
Release : 2013-03-19
Category : Computers
ISBN : 9780132748438

Get Book

OpenGL Programming Guide by Dave Shreiner,Graham Sellers,John Kessenich,Bill Licea-Kane Pdf

Includes Complete Coverage of the OpenGL® Shading Language! Today’s OpenGL software interface enables programmers to produce extraordinarily high-quality computer-generated images and interactive applications using 2D and 3D objects, color images, and programmable shaders. OpenGL® Programming Guide: The Official Guide to Learning OpenGL®, Version 4.3, Eighth Edition, has been almost completely rewritten and provides definitive, comprehensive information on OpenGL and the OpenGL Shading Language. This edition of the best-selling “Red Book” describes the features through OpenGL version 4.3. It also includes updated information and techniques formerly covered in OpenGL® Shading Language (the “Orange Book”). For the first time, this guide completely integrates shader techniques, alongside classic, functioncentric techniques. Extensive new text and code are presented, demonstrating the latest in OpenGL programming techniques. OpenGL® Programming Guide, Eighth Edition, provides clear explanations of OpenGL functionality and techniques, including processing geometric objects with vertex, tessellation, and geometry shaders using geometric transformations and viewing matrices; working with pixels and texture maps through fragment shaders; and advanced data techniques using framebuffer objects and compute shaders. New OpenGL features covered in this edition include Best practices and sample code for taking full advantage of shaders and the entire shading pipeline (including geometry and tessellation shaders) Integration of general computation into the rendering pipeline via compute shaders Techniques for binding multiple shader programs at once during application execution Latest GLSL features for doing advanced shading techniques Additional new techniques for optimizing graphics program performance