Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: gpu/GLES2/extensions/CHROMIUM/CHROMIUM_set_draw_rectangle.txt

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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.
OLDNEW
« no previous file with comments | « gpu/BUILD.gn ('k') | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698