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

gpu / GLES2 / extensions / CHROMIUM / CHROMIUM_lose_context.txt [blame]

Name

    CHROMIUM_lose_context

Name Strings

    GL_CHROMIUM_lose_context

Version

    Last Modifed Date: December 17, 2012

Dependencies

    OpenGL ES 2.0 is required.

Overview

    This extension allows an application to force a lost context event.
    This is useful for debugging that an app can correctly handle the context
    becoming lost.

Issues

    None

New Tokens

    None

New Procedures and Functions

    void LoseContextCHROMIUM (GLenum current, GLenum other)

    Causes the current context and all other contexts in the same share group
    to become lost. <current> and <other> can each be one of:

        GL_GUILTY_CONTEXT_RESET_EXT
        GL_INNOCENT_CONTEXT_RESET_EXT
        GL_UNKNOWN_CONTEXT_RESET_EXT

    INVALID_ENUM is generated if <current> or <other> is not one of the values
    mentioned above.

Errors

    None.

New State

    None.

Revision History

    12/17/2012    Documented the extension