/device/generic/vulkan-cereal/stream-servers/tests/ |
D | FrameBuffer_unittest.cpp | 86 mFb = FrameBuffer::getFB(); in SetUp() 87 EXPECT_NE(nullptr, mFb); in SetUp() 89 mFb->setupSubWindow( in SetUp() 102 mFb = FrameBuffer::getFB(); in SetUp() 103 ASSERT_NE(nullptr, mFb); in SetUp() 118 if (mFb) { in TearDown() 119 delete mFb; // destructor calls finalize in TearDown() 132 mFb->onSave(m_stream.get(), m_texture_saver); in saveSnapshot() 140 mFb->bindContext(0, 0, 0); in loadSnapshot() 147 mFb->onLoad(m_stream.get(), m_texture_loader); in loadSnapshot() [all …]
|
D | SampleApplication.cpp | 253 mFb.reset(FrameBuffer::getFB()); in SampleApplication() 256 mFb->setupSubWindow( in SampleApplication() 267 mColorBuffer = mFb->createColorBuffer(mWidth, mHeight, GL_RGBA, FRAMEWORK_FORMAT_GL_COMPATIBLE); in SampleApplication() 268 mContext = mFb->createRenderContext(0, 0, glVersion); in SampleApplication() 269 mSurface = mFb->createWindowSurface(0, mWidth, mHeight); in SampleApplication() 271 mFb->bindContext(mContext, mSurface, mSurface); in SampleApplication() 272 mFb->setWindowSurfaceColorBuffer(mSurface, mColorBuffer); in SampleApplication() 275 mTargetCb = mFb->createColorBuffer(mFb->getWidth(), in SampleApplication() 276 mFb->getHeight(), in SampleApplication() 279 mFb->openColorBuffer(mTargetCb); in SampleApplication() [all …]
|
D | Vulkan_unittest.cpp | 487 mFb = FrameBuffer::getFB(); in SetUp() 488 ASSERT_NE(nullptr, mFb); in SetUp() 494 if (mFb) { delete mFb; mFb = nullptr; } in TearDown() 498 FrameBuffer* mFb = nullptr; member in emugl::VulkanFrameBufferTest 507 HandleType colorBuffer = mFb->createColorBuffer( in TEST_F() 515 mFb->closeColorBuffer(colorBuffer); in TEST_F() 577 HandleType colorBuffer = mFb->createColorBuffer( in TEST_F() 588 mFb->closeColorBuffer(colorBuffer); in TEST_F()
|
D | DefaultFramebufferBlit_unittest.cpp | 53 mFb->disableFastBlit(); in ClearColor() 55 mFb->closeColorBuffer(mColorBuffer); in ClearColor() 56 mColorBuffer = mFb->createColorBuffer( in ClearColor() 58 mFb->setWindowSurfaceColorBuffer(mSurface, mColorBuffer); in ClearColor() 149 mFb->readColorBuffer( in verifySwappedColor()
|
D | GLSnapshotRendering_unittest.cpp | 47 mFb->flushWindowSurfaceColorBuffer(mSurface); in drawLoop() 49 mFb->post(mColorBuffer); in drawLoop()
|
D | SampleApplication.h | 99 std::unique_ptr<FrameBuffer> mFb = {}; variable
|
/device/generic/vulkan-cereal/stream-servers/ |
D | PostWorker.cpp | 62 : mFb(FrameBuffer::getFB()), in PostWorker() 109 float dpr = mFb->getDpr(); in postImpl() 110 int windowWidth = mFb->windowWidth(); in postImpl() 111 int windowHeight = mFb->windowHeight(); in postImpl() 112 float px = mFb->getPx(); in postImpl() 113 float py = mFb->getPy(); in postImpl() 114 int zRot = mFb->getZrot(); in postImpl() 133 mFb->getTextureDraw()->prepareForDrawLayer(); in postImpl() 144 ColorBuffer* multiDisplayCb = id == 0 ? cb : mFb->findColorBuffer(c).get(); in postImpl() 162 mFb->getTextureDraw()->cleanupForDrawLayer(); in postImpl() [all …]
|
D | ReadbackWorker.cpp | 35 mFb = FrameBuffer::getFB(); in initGL() 36 mFb->createSharedTrivialContext(&mContext, &mSurf); in initGL() 37 mFb->createSharedTrivialContext(&mFlushContext, &mFlushSurf); in initGL() 38 s_egl.eglMakeCurrent(mFb->getDisplay(), mFlushSurf, mFlushSurf, mFlushContext); in initGL() 47 s_egl.eglMakeCurrent(mFb->getDisplay(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in ~ReadbackWorker() 48 mFb->destroySharedTrivialContext(mContext, mSurf); in ~ReadbackWorker() 49 mFb->destroySharedTrivialContext(mFlushContext, mFlushSurf); in ~ReadbackWorker() 152 mFb->doPostCallback(fbImage, r.mDisplayId); in doNextReadback() 171 s_egl.eglMakeCurrent(mFb->getDisplay(), mFlushSurf, mFlushSurf, mFlushContext); in flushPipeline() 179 s_egl.eglMakeCurrent(mFb->getDisplay(), EGL_NO_SURFACE, EGL_NO_SURFACE, in flushPipeline() [all …]
|
D | ReadbackWorker.h | 92 FrameBuffer* mFb; variable
|
D | PostWorker.h | 108 FrameBuffer* mFb; variable
|
D | FrameBuffer.cpp | 83 ColorBufferHelper(FrameBuffer* fb) : mFb(fb) {} in ColorBufferHelper() 86 mIsBound = mFb->bind_locked(); in setupContext() 91 mFb->unbind_locked(); in teardownContext() 96 return mFb->getTextureDraw(); in getTextureDraw() 102 FrameBuffer* mFb; member in __anon169bbcf70111::ColorBufferHelper
|