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

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

Issue 617693003: gpu: Add CHROMIUM_gpu_memory_buffer_image extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@map-image-rename
Patch Set: include WebGraphicsContext3DImpl changes Created 6 years, 2 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 | « no previous file | 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_gpu_memory_buffer_image
4
5 Name Strings
6
7 GL_CHROMIUM_gpu_memory_buffer_image
8
9 Version
10
11 Last Modifed Date: Sep 29, 2014
12
13 Dependencies
14
15 OpenGL ES 2.0 is required.
16
17 GL_CHROMIUM_image is required.
18
19 Overview
20
21 This extension provide a mechanism for creating a GpuMemoryBuffer
22 backed image resource.
23
24 Issues
25
26 None
27
28 New Tokens
29
30 Accepted by the <usage> parameter of CreateGpuMemoryBufferImageCHROMIUM:
31
32 MAP_CHROMIUM 0x78F1
33 SCANOUT_CHROMIUM 0x78F2
34
35 New Procedures and Functions
36
37 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
38 GLsizei height,
39 GLenum internalformat,
40 GLenum usage)
41
42 Create a GpuMemoryBuffer backed image with width equal to <width>
43 and height equal to <height> and format equal to <internalformat>.
44
45 Returns a unique identifier for the image that could be used in
46 subsequent operations.
47
48 INVALID_VALUE is generated if <width> or <height> is nonpositive.
49
50 INVALID_ENUM is generated if <internalformat> is not one of
51 RGB or RGBA.
52
53 INVALID_ENUM is generated if <usage> is not one of
54 MAP_CHROMIUM or SCANOUT_CHROMIUM.
55
56 Errors
57
58 None.
59
60 New State
61
62 None.
63
64 Revision History
65
66 9/29/2014 Documented the extension.
OLDNEW
« no previous file with comments | « no previous file | gpu/GLES2/gl2chromium_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698