993772a60a
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
|
||
---|---|---|
.. | ||
Android.mk | ||
BufferQueue_test.cpp | ||
CpuConsumer_test.cpp | ||
DisconnectWaiter.h | ||
FillBuffer.cpp | ||
FillBuffer.h | ||
FrameWaiter.h | ||
GLTest.cpp | ||
GLTest.h | ||
IGraphicBufferProducer_test.cpp | ||
MultiTextureConsumer_test.cpp | ||
SRGB_test.cpp | ||
StreamSplitter_test.cpp | ||
Surface_test.cpp | ||
SurfaceTextureClient_test.cpp | ||
SurfaceTextureFBO_test.cpp | ||
SurfaceTextureFBO.h | ||
SurfaceTextureGL_test.cpp | ||
SurfaceTextureGL.h | ||
SurfaceTextureGLThreadToGL_test.cpp | ||
SurfaceTextureGLThreadToGL.h | ||
SurfaceTextureGLToGL_test.cpp | ||
SurfaceTextureGLToGL.h | ||
SurfaceTextureMultiContextGL_test.cpp | ||
SurfaceTextureMultiContextGL.h | ||
TextureRenderer.cpp | ||
TextureRenderer.h |