Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp359 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 …]
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 …]
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()
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
DHwc2TestLayer.h82 &mSurfaceDamage, &mBlendMode, &mBufferArea, &mDisplayFrame,
89 Hwc2TestBufferArea mBufferArea; variable
DHwc2TestBuffer.h48 Area mBufferArea = {-1, -1}; variable
DHwc2TestProperties.h321 Area mBufferArea; variable
347 Area mBufferArea = {0, 0}; variable