summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_enable_feature.txt
blob: 100cf0c541dfb7e0e8d0d83403bf3efdaade5162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Name

    CHROMIUM_enable_feature

Name Strings

    GL_CHROMIUM_enable_feature

Version

    Last Modifed Date: August 11, 2011

Dependencies

    OpenGL ES 2.0 is required.

Overview

    This extension allows certain optional features to be turned on in
    the Chromium OpenGL ES 2.0 implementation.

Issues


New Tokens

    None

New Procedures and Functions

    CommandBufferEnableCHROMIUM(const GLchar *feature)

    <feature> is a null terminated string of the feature you wish to enable.
    The requestable feature strings are as follows:

    Note: If used this function MUST be called before any other GL commands
    except GetString. Calling any other functions first will result in
    undefined behavior.

    pepper3d_allow_buffers_on_mulitple_targets

    OpenGL ES 2.0 allows a single buffer to be bound to both the ARRAY_BUFFER
    and ELEMENT_ARRAY_BUFFER bind points. By default Chromium does not allow
    this.

    This feature is only provided for full OpenGL ES 2.0 compatibility. It is
    expensive to use and should generally be avoided.

    pepper3d_support_fixed_attribs

    Turns on support for the type GL_FIXED. By default this feature is off in
    Chromium.

    This feature is only provided for full OpenGL ES 2.0 compatibility. It is
    expensive to use and should generally be avoided.

Errors

    None.

New State

    None.

Revision History

    8/11/2011    Documented the extension