Home
last modified time | relevance | path

Searched refs:layerWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/
DLayer.cpp38 Layer::Layer(Type layerType, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight) in Layer() argument
49 texture.mWidth = layerWidth; in Layer()
71 uint32_t Layer::computeIdealWidth(uint32_t layerWidth) { in computeIdealWidth() argument
72 return uint32_t(ceilf(layerWidth / float(LAYER_SIZE)) * LAYER_SIZE); in computeIdealWidth()
DLayerCache.h103 LayerEntry(const uint32_t layerWidth, const uint32_t layerHeight): mLayer(nullptr) { in LayerEntry()
104 mWidth = Layer::computeIdealWidth(layerWidth); in LayerEntry()
DFrameBuilder.cpp803 void FrameBuilder::saveForLayer(uint32_t layerWidth, uint32_t layerHeight, in saveForLayer() argument
809 mCanvasState.writableSnapshot()->initializeViewport(layerWidth, layerHeight); in saveForLayer()
819 auto newFbo = mAllocator.create<LayerBuilder>(layerWidth, layerHeight, in saveForLayer()
833 uint32_t layerWidth = (uint32_t) op.unmappedBounds.getWidth(); in deferBeginLayerOp() local
852 Rect saveLayerBounds(layerWidth, layerHeight); in deferBeginLayerOp()
860 saveLayerBounds.doIntersect(Rect(layerWidth, layerHeight)); in deferBeginLayerOp()
864 layerWidth = saveLayerBounds.getWidth(); in deferBeginLayerOp()
870 saveForLayer(layerWidth, layerHeight, in deferBeginLayerOp()
872 Rect(layerWidth, layerHeight), in deferBeginLayerOp()
887 uint32_t layerWidth = (uint32_t) beginLayerOp.unmappedBounds.getWidth(); in deferEndLayerOp() local
[all …]
DLayer.h76 Layer(Type type, RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight);
79 static uint32_t computeIdealWidth(uint32_t layerWidth);
DFrameBuilder.h175 void saveForLayer(uint32_t layerWidth, uint32_t layerHeight,
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.h125 Entry(const uint32_t layerWidth, const uint32_t layerHeight) in Entry()
126 : width(OffscreenBuffer::computeIdealDimension(layerWidth)) in Entry()
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp2058 uint32_t layerWidth = 0; member
2083 mOutData->layerWidth = width; in testSaveLayerAlphaClip()
2139 EXPECT_EQ(190u, observedData.layerWidth); in RENDERTHREAD_TEST()
2165 EXPECT_EQ(142u, observedData.layerWidth); in RENDERTHREAD_TEST()
2179 EXPECT_EQ(100u, observedData.layerWidth); in RENDERTHREAD_TEST()