Searched refs:mBufferArea (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestBuffer.cpp | 359 if (mBufferArea.width == bufferArea.width in updateBufferArea() 360 && mBufferArea.height == bufferArea.height) in updateBufferArea() 363 mBufferArea.width = bufferArea.width; in updateBufferArea() 364 mBufferArea.height = bufferArea.height; in updateBufferArea() 374 if (mBufferArea.width == -1 || mBufferArea.height == -1) in get() 398 mGraphicBuffer = new GraphicBuffer(mBufferArea.width, mBufferArea.height, in generateBuffer() 416 for (int32_t y = 0; y < mBufferArea.height; y++) { in generateBuffer() 425 if (y < mBufferArea.height * 1.0 / 3.0) { in generateBuffer() 427 } else if (y >= mBufferArea.height * 2.0 / 3.0) { in generateBuffer() 434 for (; x < mBufferArea.width / 3; x++) { in generateBuffer() [all …]
|
D | Hwc2TestProperties.cpp | 471 mBufferArea(bufferArea) in Hwc2TestSourceCrop() 488 mBufferArea = bufferArea; in updateBufferArea() 496 if (mBufferArea.width == 0 && mBufferArea.height == 0) { in update() 503 frectScalar.left * mBufferArea.width, in update() 504 frectScalar.top * mBufferArea.height, in update() 505 frectScalar.right * mBufferArea.width, in update() 506 frectScalar.bottom * mBufferArea.height}); in update() 560 mBufferArea = bufferArea; in updateBufferArea() 568 if (mBufferArea.width == 0 && mBufferArea.height == 0) { in update() 586 rects[i].left = regionScalar[i].left * mBufferArea.width; in update() [all …]
|
D | Hwc2TestLayer.cpp | 38 mBufferArea(getCoverage(Hwc2TestPropertyName::BufferArea, coverage, in Hwc2TestLayer() 57 mBufferArea.setDependent(&mBuffer); in Hwc2TestLayer() 58 mBufferArea.setDependent(&mSourceCrop); in Hwc2TestLayer() 59 mBufferArea.setDependent(&mSurfaceDamage); in Hwc2TestLayer() 130 return mBufferArea.get(); in getBufferArea() 196 return mBufferArea.advance(); in advanceBufferArea()
|
D | Hwc2TestClientTarget.cpp | 53 : mBufferArea(coverage, displayArea), in Hwc2TestClientTargetSupport() 57 mBufferArea.setDependent(&mSurfaceDamage); in Hwc2TestClientTargetSupport() 91 return mBufferArea.get(); in getBufferArea()
|
D | Hwc2TestClientTarget.h | 61 &mDataspace, &mSurfaceDamage, &mBufferArea 64 Hwc2TestBufferArea mBufferArea; variable
|
D | Hwc2TestLayer.h | 82 &mSurfaceDamage, &mBlendMode, &mBufferArea, &mDisplayFrame, 89 Hwc2TestBufferArea mBufferArea; variable
|
D | Hwc2TestBuffer.h | 48 Area mBufferArea = {-1, -1}; variable
|
D | Hwc2TestProperties.h | 321 Area mBufferArea; variable 347 Area mBufferArea = {0, 0}; variable
|