OLD | NEW |
(Empty) | |
| 1 Name |
| 2 |
| 3 CHROMIUM_set_draw_rectangle |
| 4 |
| 5 Name Strings |
| 6 |
| 7 GL_CHROMIUM_set_draw_rectangle |
| 8 |
| 9 Version |
| 10 |
| 11 Last Modified Date: Jan 23, 2017 |
| 12 |
| 13 Dependencies |
| 14 |
| 15 OpenGL ES 2.0 is required. |
| 16 |
| 17 Overview |
| 18 |
| 19 This extension allows a client to indicate what area is going to be drawn to
. |
| 20 |
| 21 Issues |
| 22 |
| 23 None |
| 24 |
| 25 New Tokens |
| 26 |
| 27 None |
| 28 |
| 29 New Procedures and Functions |
| 30 |
| 31 The command |
| 32 |
| 33 glSetDrawRectangleCHROMIUM (GLint x, GLint y, GLint width, GLint height)
; |
| 34 |
| 35 indicates that the client will fill in the entire rectangle specified of |
| 36 the default framebuffer. This command can only be specified once per swap. |
| 37 If the extension is supported, this function must be called before any |
| 38 drawing to the default framebuffer. The contents of the framebuffer are |
| 39 undefined after this command and must be filled in completely before a |
| 40 swap happens. Rendering outside this rectangle causes undefined behavior, |
| 41 and the scissor test must be enabled when drawing. |
| 42 |
| 43 For the first call to this, and the first call after a resize, the |
| 44 rectangle must be equal to the size of the entire buffer. |
| 45 |
| 46 Errors |
| 47 |
| 48 None. |
| 49 |
| 50 New State |
| 51 |
| 52 None. |
OLD | NEW |