Home
last modified time | relevance | path

Searched refs:DisplaySurface (Results 1 – 18 of 18) sorted by relevance

/hardware/google/gfxstream/host/
DDisplaySurface.cpp26 DisplaySurface::DisplaySurface(uint32_t width, in DisplaySurface() function in gfxstream::DisplaySurface
33 DisplaySurface::~DisplaySurface() { in ~DisplaySurface()
40 uint32_t DisplaySurface::getWidth() const { in getWidth()
45 uint32_t DisplaySurface::getHeight() const { in getHeight()
50 void DisplaySurface::updateSize(uint32_t newWidth, uint32_t newHeight) { in updateSize()
63 void DisplaySurface::registerUser(DisplaySurfaceUser* user) { in registerUser()
67 void DisplaySurface::unregisterUser(DisplaySurfaceUser* user) { in unregisterUser()
DDisplaySurfaceUser.h23 class DisplaySurface; variable
31 void bindToSurface(DisplaySurface* surface);
36 virtual void bindToSurfaceImpl(DisplaySurface* surface) = 0;
38 virtual void surfaceUpdated(DisplaySurface* surface) = 0;
42 const DisplaySurface* getBoundSurface() const { return mBoundSurface; } in getBoundSurface()
48 friend class DisplaySurface;
49 DisplaySurface* mBoundSurface = nullptr;
DDisplaySurface.h24 class DisplaySurface; variable
34 class DisplaySurface {
36 DisplaySurface(uint32_t width,
39 ~DisplaySurface();
41 DisplaySurface(const DisplaySurface&) = delete;
42 DisplaySurface& operator=(const DisplaySurface&) = delete;
DPostWorkerGl.h50 void bindToSurfaceImpl(gfxstream::DisplaySurface* surface) override {} in bindToSurfaceImpl()
51 void surfaceUpdated(gfxstream::DisplaySurface* surface) override {} in surfaceUpdated()
67 std::unique_ptr<gfxstream::DisplaySurface> mFakeWindowSurface = nullptr;
DDisplaySurfaceUser.cpp35 void DisplaySurfaceUser::bindToSurface(DisplaySurface* surface) { in bindToSurface()
DAndroid.bp92 "DisplaySurface.cpp",
DBUILD.bazel74 "DisplaySurface.cpp",
Dmeson.build167 'DisplaySurface.cpp',
DCMakeLists.txt32 DisplaySurface.cpp
DFrameBuffer.h867 std::unique_ptr<DisplaySurface> m_displaySurface;
/hardware/google/gfxstream/host/gl/
DDisplayGl.h70 void bindToSurfaceImpl(gfxstream::DisplaySurface* surface) override {} in bindToSurfaceImpl()
71 void surfaceUpdated(gfxstream::DisplaySurface* surface) override {} in surfaceUpdated()
DEmulationGl.h89 std::unique_ptr<DisplaySurface> createWindowSurface(uint32_t width,
144 std::unique_ptr<gfxstream::DisplaySurface> createFakeWindowSurface();
167 std::unique_ptr<gfxstream::DisplaySurface> mPbufferSurface;
170 std::unique_ptr<gfxstream::DisplaySurface> mWindowSurface;
DEmulationGl.cpp360 emulationGl->mPbufferSurface = std::make_unique<gfxstream::DisplaySurface>( in create()
523 std::unique_ptr<gfxstream::DisplaySurface> EmulationGl::createFakeWindowSurface() { in createFakeWindowSurface()
524 return std::make_unique<gfxstream::DisplaySurface>( in createFakeWindowSurface()
595 std::unique_ptr<DisplaySurface> EmulationGl::createWindowSurface( in createWindowSurface()
609 return std::make_unique<DisplaySurface>(width, in createWindowSurface()
/hardware/google/gfxstream/host/vulkan/
DDisplayVk.h41 void bindToSurfaceImpl(gfxstream::DisplaySurface* surface) override;
42 void surfaceUpdated(gfxstream::DisplaySurface* surface) override;
DDisplayVk.cpp107 void DisplayVk::bindToSurfaceImpl(gfxstream::DisplaySurface* surface) { in bindToSurfaceImpl()
111 void DisplayVk::surfaceUpdated(gfxstream::DisplaySurface* surface) { in surfaceUpdated()
DVkCommonOperations.h448 std::unique_ptr<gfxstream::DisplaySurface> createDisplaySurface(FBNativeWindowType window,
DVkCommonOperations.cpp1417 std::unique_ptr<gfxstream::DisplaySurface> createDisplaySurface(FBNativeWindowType window, in createDisplaySurface()
1429 return std::make_unique<gfxstream::DisplaySurface>(width, height, std::move(surfaceVk)); in createDisplaySurface()
/hardware/google/gfxstream/host/tests/
DDisplayVk_unittest.cpp13 using gfxstream::DisplaySurface;
50 m_displaySurface = std::make_unique<gfxstream::DisplaySurface>( in SetUp()
104 std::unique_ptr<DisplaySurface> m_displaySurface = nullptr;