summaryrefslogtreecommitdiffstats
path: root/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_sync_point.txt
blob: bc8665a306494e70d28f3cbe6d38746cb684aeb2 (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
68
69
70
71
72
73
Name

    CHROMIUM_sync_point

Name Strings

    GL_CHROMIUM_sync_point

Version

    Last Modifed Date: February 25, 2013

Dependencies

    OpenGL ES 2.0 is required.

Overview

    This extension allows a client to order operations between contexts.

    This extension implements a small subset of ARB_sync, with weaker
    guarantees. In particular it doesn't ensure commands are actually executed
    by the server, it only guarantees submission order.

    It does however guarantee operation order with respect to
    ConsumeTextureCHROMIUM and ProduceTextureCHROMIUM from
    CHROMIUM_texture_mailbox, if present.

Issues

    None

New Tokens

    None

New Procedures and Functions

    The command

        uint InsertSyncPointCHROMIUM()

    creates a sync point and inserts it into the stream of commands for the
    current context.  The sync point acts as a fence, which is signaled when
    previous commands have been submitted to the server, or when the context is
    destroyed, whichever happens first. The sync point name is returned. The
    sync point is implicitly deleted when it becomes signaled. The sync point
    namespace is shared between all contexts on the same server, including other
    context groups.


    The command

        void WaitSyncPointCHROMIUM(uint sync_point)

    causes the current context to stop submitting commands until the specified
    sync point becomes signaled. This is implemented as a server-side wait.
    <sync_point> is the name of the sync point to wait for. If <sync_point>
    isn't a valid sync point returned by InsertSyncPointCHROMIUM, or if the sync
    point has already been deleted, the command is equivalent to a no-op and no
    error is generated.

Errors

    None.

New State

    None.

Revision History

    2/25/2013    Documented the extension