summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-06-02 15:45:22 -0700
committerDan Stoza <stoza@google.com>2015-06-08 11:18:16 -0700
commit993772a60ac43e458f16b08c27e1f97dcfcfe3e1 (patch)
tree6ca05f9c5e88b4fa777e971fb7c97916a414cce9 /opengl/tests/gl_basic/gl_basic.cpp
parentc19fdee38a4715b0d642fc8673687715766307cc (diff)
libgui: Add generation numbers to BufferQueue
This change allows producers to set a generation number on a BufferQueue. This number will be embedded in any new GraphicBuffers created in that BufferQueue, and attempts to attach buffers which have a different generation number will fail. It also plumbs the setGenerationNumber method through Surface, with the additional effect that any buffers attached to the Surface after setting a new generation number will automatically be updated with the new number (as opposed to failing, as would happen on through IGBP). Bug: 20923096 Change-Id: I32bf726b035f99c3e5834beaf76afb9f01adcbc2 (cherry picked from commit 812ed0644f8f8f71ca403f4e5793f0dbc1fcf9b2)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions