OSDN Git Service

add the ability to reject buffers in SurfaceTexture::updateTexImage
authorMathias Agopian <mathias@google.com>
Thu, 24 May 2012 00:56:42 +0000 (17:56 -0700)
committerMathias Agopian <mathias@google.com>
Thu, 24 May 2012 01:01:33 +0000 (18:01 -0700)
commit2c8207e9627fe6c7a90e31fae8d71ae49df56845
tree7a03095f78529e8b9f519530effce170b4921715
parent702634a4dad85cfc292618ac91eda6c00f42b7c5
add the ability to reject buffers in SurfaceTexture::updateTexImage

SurfaceFlinger is using this new feature to reject buffers that
don't have the right size.

Bug: 6498869
Change-Id: I8a7250a47db6c082a357b703feb3b9d0fc8d3443
include/gui/SurfaceTexture.h
libs/gui/SurfaceTexture.cpp
services/surfaceflinger/Layer.cpp