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

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

Issue 2648893002: Remove remaining traces of CreateGpuMemoryBufferImageCHROMIUM (Closed)
Patch Set: Rebase, but don't pull in extra changes... Created 3 years, 10 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
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 READ_WRITE_CHROMIUM 0x78F2
33
34 New Procedures and Functions
35
36 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
37 GLsizei height,
38 GLenum internalformat,
39 GLenum usage)
40
41 Create a GpuMemoryBuffer backed image with width equal to <width>
42 and height equal to <height> and format equal to <internalformat>.
43
44 Returns a unique identifier for the image that could be used in
45 subsequent operations.
46
47 INVALID_VALUE is generated if <width> or <height> is nonpositive.
48
49 INVALID_ENUM is generated if <internalformat> is not one of
50 RGB or RGBA.
51
52 INVALID_ENUM is generated if <usage> is not READ_WRTIE_CHROMIUM.
53
54 On OS X, driver bugs prevent the usage of memory buffers with RGB internal
55 format. As a workaround, the created GpuMemoryBuffer will always have
56 internal format RGBA. The caller is responsible for handling this
57 appropriately. The only support provided by this extension is that calls
58 that require parameter validation (such as copyTexImage2D and
59 copyTexSubImage2D) will perform paramter validation as if the internal
60 format were RGB.
61
62 Errors
63
64 None.
65
66 New State
67
68 None.
69
70 Revision History
71
72 9/29/2014 Documented the extension.
73 4/12/2016 Added details of OS X RGB workaround.
OLDNEW
« no previous file with comments | « components/display_compositor/buffer_queue.h ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_ycbcr_420v_image.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698