glViewportArray(3G)


NAME

   glViewportArray - set multiple viewports

C SPECIFICATION

   void glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v);

PARAMETERS

   first
       Specify the first viewport to set.

   count
       Specify the number of viewports to set.

   v
       Specify the address of an array containing the viewport parameters.

DESCRIPTION

   glViewportArrayv specifies the parameters for multiple viewports
   simulataneously.  first specifies the index of the first viewport to
   modify and count specifies the number of viewports to modify.  first
   must be less than the value of GL_MAX_VIEWPORTS, and first + count must
   be less than or equal to the value of GL_MAX_VIEWPORTS. Viewports whose
   indices lie outside the range [first, first + count) are not modified.
   v contains the address of an array of floating point values specifying
   the left (x), bottom (y), width (w), and height (h) of each viewport,
   in that order.  x and y give the location of the viewport's lower left
   corner, and w and h give the width and height of the viewport,
   respectively. The viewport specifies the affine transformation of x and
   y from normalized device coordinates to window coordinates. Let x nd y
   nd be normalized device coordinates. Then the window coordinates x w y
   w are computed as follows:

   x w = x nd + 1  width 2 + x

   y w = y nd + 1  height 2 + y

   The location of the viewport's bottom left corner, given by (x, y) is
   clamped to be within the implementaiton-dependent viewport bounds
   range. The viewport bounds range [min, max] can be determined by
   calling glGet() with argument GL_VIEWPORT_BOUNDS_RANGE. Viewport width
   and height are silently clamped to a range that depends on the
   implementation. To query this range, call glGet() with argument
   GL_MAX_VIEWPORT_DIMS.

   The precision with which the GL interprets the floating point viewport
   bounds is implementation-dependent and may be determined by querying
   the impementation-defined constant GL_VIEWPORT_SUBPIXEL_BITS.

ERRORS

   GL_INVALID_VALUE is generated if first is greater than or equal to the
   value of GL_MAX_VIEWPORTS.

   GL_INVALID_VALUE is generated if first + count is greater than or equal
   to the value of GL_MAX_VIEWPORTS.

   GL_INVALID_VALUE is generated if either width or height is negative.

ASSOCIATED GETS

   glGet() with argument GL_VIEWPORT

   glGet() with argument GL_MAX_VIEWPORT_DIMS

   glGet() with argument GL_VIEWPORT_BOUNDS_RANGE

   glGet() with argument GL_VIEWPORT_SUBPIXEL_BITS

VERSION SUPPORT

   
                                    OpenGL Version                                         
   
   Function          2.0  2.1  3.0  3.1  3.2  3.3  4.0  4.1  4.2  4.3  4.4  4.5 
   /                                                                            
   Feature                                                                      
   Name                                                                         
   
   glViewportArrayv   -    -    -    -    -    -    -                      
   

SEE ALSO

   glDepthRange(), glViewport(), glViewportIndexed()

COPYRIGHT

   Copyright  2010-2014 Khronos Group. This material may be distributed
   subject to the terms and conditions set forth in the Open Publication
   License, v 1.0, 8 June 1999.  http://opencontent.org/openpub/.

COPYRIGHT

   Copyright  2010-2014 Khronos Group

[FIXME: source]                   07/22/2015               GLVIEWPORTARRAY(3G)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.