File: EGL_ANDROID_front_buffer_auto_refresh.txt

package info (click to toggle)
android-platform-frameworks-native 1%3A7.0.0%2Br33-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,036 kB
  • sloc: cpp: 126,962; xml: 48,615; ansic: 18,880; java: 4,991; python: 1,324; sh: 187; asm: 105; perl: 74; makefile: 28
file content (70 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download | duplicates (19)
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
Name

    ANDROID_front_buffer_auto_refresh

Name Strings

    EGL_ANDROID_front_buffer_auto_refresh

Contributors

    Pablo Ceballos

Contact

    Pablo Ceballos, Google Inc. (pceballos 'at' google.com)

Status

    Draft

Version

    Version 1, February 3, 2016

Number

    EGL Extension #XXX

Dependencies

    Requires EGL 1.2

    This extension is written against the wording of the EGL 1.5 Specification

Overview

    This extension is intended for latency-sensitive applications that are doing
    front-buffer rendering. It allows them to indicate to the Android compositor
    that it should perform composition every time the display refreshes. This
    removes the overhead of having to notify the compositor that the window
    surface has been updated, but it comes at the cost of doing potentially
    unneeded composition work if the window surface has not been updated.

New Types

    None

New Procedures and Functions

    None

New Tokens

    EGL_FRONT_BUFFER_AUTO_REFRESH_ANDROID 0x314C

Add to the list of supported tokens for eglSurfaceAttrib in section 3.5.6
"Surface Attributes", page 43:

    If attribute is EGL_ANDROID_front_buffer_auto_refresh, then value specifies
    whether to enable or disable auto-refresh in the Android compositor when
    doing front-buffer rendering.

Issues

    None

Revision History

#1 (Pablo Ceballos, February 3, 2016)
    - Initial draft.