Home
last modified time | relevance | path

Searched refs:compositionengine (Results 1 – 25 of 88) sorted by relevance

1234

/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutputLayer.h29 namespace android::compositionengine::impl {
31 class OutputLayer : public compositionengine::OutputLayer {
33 OutputLayer(const compositionengine::Output&, std::shared_ptr<compositionengine::Layer>,
34 sp<compositionengine::LayerFE>);
39 const compositionengine::Output& getOutput() const override;
40 compositionengine::Layer& getLayer() const override;
41 compositionengine::LayerFE& getLayerFE() const override;
58 const compositionengine::Output& mOutput;
59 std::shared_ptr<compositionengine::Layer> mLayer;
60 sp<compositionengine::LayerFE> mLayerFE;
[all …]
DOutput.h26 namespace android::compositionengine {
34 class Output : public virtual compositionengine::Output {
55 compositionengine::DisplayColorProfile* getDisplayColorProfile() const override;
56 void setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile>) override;
58 compositionengine::RenderSurface* getRenderSurface() const override;
59 void setRenderSurface(std::unique_ptr<compositionengine::RenderSurface>) override;
67 compositionengine::OutputLayer* getOutputLayerForLayer(
68 compositionengine::Layer*) const override;
69 std::unique_ptr<compositionengine::OutputLayer> getOrCreateOutputLayer(
70 std::optional<DisplayId>, std::shared_ptr<compositionengine::Layer>,
[all …]
DDisplay.h26 namespace android::compositionengine {
34 class Display : public compositionengine::impl::Output, public compositionengine::Display {
36 Display(const CompositionEngine&, compositionengine::DisplayCreationArgs&&);
49 void createDisplayColorProfile(compositionengine::DisplayColorProfileCreationArgs&&) override;
50 void createRenderSurface(compositionengine::RenderSurfaceCreationArgs&&) override;
57 std::shared_ptr<compositionengine::Display> createDisplay(
58 const compositionengine::CompositionEngine&, compositionengine::DisplayCreationArgs&&);
DRenderSurface.h29 namespace compositionengine {
39 class RenderSurface : public compositionengine::RenderSurface {
41 RenderSurface(const CompositionEngine&, compositionengine::Display&,
42 compositionengine::RenderSurfaceCreationArgs&&);
73 const compositionengine::CompositionEngine& mCompositionEngine;
74 const compositionengine::Display& mDisplay;
86 std::unique_ptr<compositionengine::RenderSurface> createRenderSurface(
87 const compositionengine::CompositionEngine&, compositionengine::Display&,
88 compositionengine::RenderSurfaceCreationArgs&&);
DLayer.h26 namespace android::compositionengine {
37 class Layer : public compositionengine::Layer {
39 Layer(const CompositionEngine&, compositionengine::LayerCreationArgs&&);
50 const compositionengine::CompositionEngine& mCompositionEngine;
56 std::shared_ptr<compositionengine::Layer> createLayer(const compositionengine::CompositionEngine&,
57 compositionengine::LayerCreationArgs&&);
DCompositionEngine.h21 namespace android::compositionengine::impl {
23 class CompositionEngine : public compositionengine::CompositionEngine {
28 std::shared_ptr<compositionengine::Display> createDisplay(
29 compositionengine::DisplayCreationArgs&&) override;
30 std::shared_ptr<compositionengine::Layer> createLayer(
31 compositionengine::LayerCreationArgs&&) override;
44 std::unique_ptr<compositionengine::CompositionEngine> createCompositionEngine();
DDisplayColorProfile.h27 namespace android::compositionengine {
34 class DisplayColorProfile : public compositionengine::DisplayColorProfile {
91 std::unique_ptr<compositionengine::DisplayColorProfile> createDisplayColorProfile(
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DOutput.h28 namespace android::compositionengine::mock {
30 class Output : public virtual compositionengine::Output {
63 compositionengine::OutputLayer*(compositionengine::Layer*));
65 std::unique_ptr<compositionengine::OutputLayer>(
66 std::optional<DisplayId>, std::shared_ptr<compositionengine::Layer>,
67 sp<compositionengine::LayerFE>));
DOutputLayer.h27 namespace android::compositionengine::mock {
29 class OutputLayer : public compositionengine::OutputLayer {
34 MOCK_CONST_METHOD0(getOutput, const compositionengine::Output&());
35 MOCK_CONST_METHOD0(getLayer, compositionengine::Layer&());
36 MOCK_CONST_METHOD0(getLayerFE, compositionengine::LayerFE&());
DDisplay.h28 namespace android::compositionengine::mock {
30 class Display : public compositionengine::mock::Output, public compositionengine::Display {
DLayerFE.h24 namespace android::compositionengine::mock {
28 class LayerFE : public compositionengine::LayerFE {
DLayer.h24 namespace android::compositionengine::mock {
26 class Layer : public compositionengine::Layer {
DDisplaySurface.h23 namespace android::compositionengine::mock {
25 class DisplaySurface : public compositionengine::DisplaySurface {
DCompositionEngine.h27 namespace android::compositionengine::mock {
29 class CompositionEngine : public compositionengine::CompositionEngine {
DDisplayColorProfile.h23 namespace android::compositionengine::mock {
25 class DisplayColorProfile : public compositionengine::DisplayColorProfile {
DRenderSurface.h24 namespace android::compositionengine::mock {
26 class RenderSurface : public compositionengine::RenderSurface {
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DCompositionEngine.cpp24 namespace android::compositionengine { namespace
30 std::unique_ptr<compositionengine::CompositionEngine> createCompositionEngine() { in createCompositionEngine()
37 std::shared_ptr<compositionengine::Display> CompositionEngine::createDisplay( in createDisplay()
39 return compositionengine::impl::createDisplay(*this, std::move(args)); in createDisplay()
42 std::shared_ptr<compositionengine::Layer> CompositionEngine::createLayer(LayerCreationArgs&& args) { in createLayer()
43 return compositionengine::impl::createLayer(*this, std::move(args)); in createLayer()
DOutput.cpp26 namespace android::compositionengine { namespace
160 compositionengine::DisplayColorProfile* Output::getDisplayColorProfile() const { in getDisplayColorProfile()
164 void Output::setDisplayColorProfile(std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfile()
169 std::unique_ptr<compositionengine::DisplayColorProfile> mode) { in setDisplayColorProfileForTest()
173 compositionengine::RenderSurface* Output::getRenderSurface() const { in getRenderSurface()
177 void Output::setRenderSurface(std::unique_ptr<compositionengine::RenderSurface> surface) { in setRenderSurface()
184 void Output::setRenderSurfaceForTest(std::unique_ptr<compositionengine::RenderSurface> surface) { in setRenderSurfaceForTest()
210 compositionengine::OutputLayer* Output::getOutputLayerForLayer( in getOutputLayerForLayer()
211 compositionengine::Layer* layer) const { in getOutputLayerForLayer()
220 std::unique_ptr<compositionengine::OutputLayer> Output::getOrCreateOutputLayer( in getOrCreateOutputLayer()
[all …]
DDisplay.cpp28 namespace android::compositionengine::impl { namespace
30 std::shared_ptr<compositionengine::Display> createDisplay( in createDisplay()
31 const compositionengine::CompositionEngine& compositionEngine, in createDisplay()
32 compositionengine::DisplayCreationArgs&& args) { in createDisplay()
37 : compositionengine::impl::Output(compositionEngine), in Display()
114 setDisplayColorProfile(compositionengine::impl::createDisplayColorProfile(std::move(args))); in createDisplayColorProfile()
118 setRenderSurface(compositionengine::impl::createRenderSurface(getCompositionEngine(), *this, in createRenderSurface()
DLayer.cpp23 namespace android::compositionengine { namespace
29 std::shared_ptr<compositionengine::Layer> createLayer( in createLayer()
30 const compositionengine::CompositionEngine& compositionEngine, in createLayer()
31 compositionengine::LayerCreationArgs&& args) { in createLayer()
DOutputLayer.cpp29 namespace android::compositionengine { namespace
47 std::unique_ptr<compositionengine::OutputLayer> createOutputLayer( in createOutputLayer()
49 const compositionengine::Output& output, std::shared_ptr<compositionengine::Layer> layer, in createOutputLayer()
50 sp<compositionengine::LayerFE> layerFE) { in createOutputLayer()
75 const compositionengine::Output& OutputLayer::getOutput() const { in getOutput()
79 compositionengine::Layer& OutputLayer::getLayer() const { in getLayer()
83 compositionengine::LayerFE& OutputLayer::getLayerFE() const { in getLayerFE()
DRenderSurface.cpp37 namespace android::compositionengine { namespace
43 std::unique_ptr<compositionengine::RenderSurface> createRenderSurface( in createRenderSurface()
44 const compositionengine::CompositionEngine& compositionEngine, in createRenderSurface()
45 compositionengine::Display& display, compositionengine::RenderSurfaceCreationArgs&& args) { in createRenderSurface()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h31 namespace android::compositionengine {
48 using OutputLayers = std::vector<std::unique_ptr<compositionengine::OutputLayer>>;
91 using OutputCompositionState = compositionengine::impl::OutputCompositionState;
DOutputLayer.h28 namespace compositionengine {
55 using CompositionState = compositionengine::impl::OutputLayerCompositionState;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp28 namespace android::compositionengine { namespace
59 compositionengine::mock::Output mOutput;
60 std::shared_ptr<compositionengine::mock::Layer> mLayer{
61 new StrictMock<compositionengine::mock::Layer>()};
62 sp<compositionengine::mock::LayerFE> mLayerFE{
63 new StrictMock<compositionengine::mock::LayerFE>()};
81 StrictMock<compositionengine::mock::CompositionEngine> compositionEngine; in TEST_F()
89 StrictMock<compositionengine::mock::CompositionEngine> compositionEngine; in TEST_F()

1234