Home
last modified time | relevance | path

Searched refs:mBufferArea (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp362 if (mBufferArea.width == bufferArea.width in updateBufferArea()
363 && mBufferArea.height == bufferArea.height) in updateBufferArea()
366 mBufferArea.width = bufferArea.width; in updateBufferArea()
367 mBufferArea.height = bufferArea.height; in updateBufferArea()
377 if (mBufferArea.width == -1 || mBufferArea.height == -1) in get()
401 mGraphicBuffer = new GraphicBuffer(mBufferArea.width, mBufferArea.height, in generateBuffer()
421 for (int32_t y = 0; y < mBufferArea.height; y++) { in generateBuffer()
430 if (y < mBufferArea.height * 1.0 / 3.0) { in generateBuffer()
432 } else if (y >= mBufferArea.height * 2.0 / 3.0) { in generateBuffer()
439 for (; x < mBufferArea.width / 3; x++) { in generateBuffer()
[all …]
DHwc2TestLayer.cpp38 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()
DHwc2TestProperties.cpp471 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 …]
DHwc2TestClientTarget.cpp53 : mBufferArea(coverage, displayArea), in Hwc2TestClientTargetSupport()
57 mBufferArea.setDependent(&mSurfaceDamage); in Hwc2TestClientTargetSupport()
91 return mBufferArea.get(); in getBufferArea()
DHwc2TestClientTarget.h61 &mDataspace, &mSurfaceDamage, &mBufferArea
64 Hwc2TestBufferArea mBufferArea; variable
DHwc2TestBuffer.h48 Area mBufferArea = {-1, -1}; variable
89 Area mBufferArea = {-1, -1}; variable
DHwc2TestLayer.h82 &mSurfaceDamage, &mBlendMode, &mBufferArea, &mDisplayFrame,
89 Hwc2TestBufferArea mBufferArea; variable
DHwc2TestProperties.h323 Area mBufferArea; variable
349 Area mBufferArea = {0, 0}; variable