/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | OutputLayer.h | 29 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 …]
|
D | Output.h | 26 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 …]
|
D | Display.h | 26 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&&);
|
D | RenderSurface.h | 29 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&&);
|
D | Layer.h | 26 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&&);
|
D | CompositionEngine.h | 21 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();
|
D | DisplayColorProfile.h | 27 namespace android::compositionengine { 34 class DisplayColorProfile : public compositionengine::DisplayColorProfile { 91 std::unique_ptr<compositionengine::DisplayColorProfile> createDisplayColorProfile(
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | Output.h | 28 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>));
|
D | OutputLayer.h | 27 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&());
|
D | Display.h | 28 namespace android::compositionengine::mock { 30 class Display : public compositionengine::mock::Output, public compositionengine::Display {
|
D | LayerFE.h | 24 namespace android::compositionengine::mock { 28 class LayerFE : public compositionengine::LayerFE {
|
D | Layer.h | 24 namespace android::compositionengine::mock { 26 class Layer : public compositionengine::Layer {
|
D | DisplaySurface.h | 23 namespace android::compositionengine::mock { 25 class DisplaySurface : public compositionengine::DisplaySurface {
|
D | CompositionEngine.h | 27 namespace android::compositionengine::mock { 29 class CompositionEngine : public compositionengine::CompositionEngine {
|
D | DisplayColorProfile.h | 23 namespace android::compositionengine::mock { 25 class DisplayColorProfile : public compositionengine::DisplayColorProfile {
|
D | RenderSurface.h | 24 namespace android::compositionengine::mock { 26 class RenderSurface : public compositionengine::RenderSurface {
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | CompositionEngine.cpp | 24 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()
|
D | Output.cpp | 26 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 …]
|
D | Display.cpp | 28 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()
|
D | Layer.cpp | 23 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()
|
D | OutputLayer.cpp | 29 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()
|
D | RenderSurface.cpp | 37 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/ |
D | Output.h | 31 namespace android::compositionengine { 48 using OutputLayers = std::vector<std::unique_ptr<compositionengine::OutputLayer>>; 91 using OutputCompositionState = compositionengine::impl::OutputCompositionState;
|
D | OutputLayer.h | 28 namespace compositionengine { 55 using CompositionState = compositionengine::impl::OutputLayerCompositionState;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 28 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()
|