Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 25 of 50) sorted by relevance

12

/hardware/google/gfxstream/host/
DRenderControl.cpp278 FrameBuffer *fb = FrameBuffer::getFB(); in rcGetEGLVersion() local
279 if (!fb) { in rcGetEGLVersion()
282 fb->getEmulationGl().getEglVersion(major, minor); in rcGetEGLVersion()
289 FrameBuffer *fb = FrameBuffer::getFB(); in rcQueryEGLString() local
290 if (!fb) { in rcQueryEGLString()
294 const char* str = gl::s_egl.eglQueryString(fb->getDisplay(), name); in rcQueryEGLString()
300 if ((fb->getMaxGLESVersion() >= GLES_DISPATCH_MAX_VERSION_3_0) && in rcQueryEGLString()
301 fb->getFeatures().GlesDynamicVersion.enabled && in rcQueryEGLString()
452 FrameBuffer* fb = FrameBuffer::getFB(); in rcGetGLString() local
454 const gfxstream::host::FeatureSet& features = fb->getFeatures(); in rcGetGLString()
[all …]
DRenderThreadInfoGl.cpp90 FrameBuffer* fb = FrameBuffer::getFB(); in onLoad() local
91 assert(fb); in onLoad()
99 fb->lock(); in onLoad()
100 currContext = fb->getContext_locked(ctxHndl); in onLoad()
101 currDrawSurf = fb->getWindowSurface_locked(drawSurf); in onLoad()
102 currReadSurf = fb->getWindowSurface_locked(readSurf); in onLoad()
103 fb->unlock(); in onLoad()
121 FrameBuffer* fb = FrameBuffer::getFB(); in postLoadRefreshCurrentContextSurfacePtrs() local
122 assert(fb); in postLoadRefreshCurrentContextSurfacePtrs()
124 fb->lock(); in postLoadRefreshCurrentContextSurfacePtrs()
[all …]
DRenderWindow.cpp143 FrameBuffer* fb; in process() local
169 fb = FrameBuffer::getFB(); in process()
170 if (fb) { in process()
171 fb->setPostCallback(msg.set_post_callback.on_post, in process()
200 fb = FrameBuffer::getFB(); in process()
201 if (fb) { in process()
213 fb = FrameBuffer::getFB(); in process()
214 if (fb) { in process()
215 result = fb->removeSubWindow(); in process()
222 fb = FrameBuffer::getFB(); in process()
[all …]
DRenderLibImpl.cpp113 FrameBuffer* fb = FrameBuffer::getFB(); in getOpt() local
114 if (fb == nullptr) { in getOpt()
119 opt->display = fb->getDisplay(); in getOpt()
120 opt->surface = fb->getWindowSurface(); in getOpt()
121 opt->config = fb->getConfig(); in getOpt()
142 FrameBuffer* fb = FrameBuffer::getFB(); in impl_onLastCbRef() local
143 if (fb) in impl_onLastCbRef()
144 fb->onLastColorBufferRef(handle); in impl_onLastCbRef()
DRendererImpl.cpp166 if (const auto fb = FrameBuffer::getFB()) { in stop() local
167 fb->setShuttingDown(); in stop()
365 auto fb = FrameBuffer::getFB(); in save() local
366 assert(fb); in save()
367 fb->onSave(stream, textureSaver); in save()
390 auto fb = FrameBuffer::getFB(); in load() local
391 assert(fb); in load()
395 res = fb->onLoad(stream, textureLoader); in load()
404 auto fb = FrameBuffer::getFB(); in fillGLESUsages() local
406 if (fb) fb->fillGLESUsages(usages); in fillGLESUsages()
[all …]
DFrameBuffer.cpp282 std::unique_ptr<FrameBuffer> fb(new FrameBuffer(width, height, features, useSubWindow)); in initialize() local
283 if (!fb) { in initialize()
297 fb->m_renderDoc = emugl::RenderDoc::create(renderdocLib); in initialize()
298 if (fb->m_renderDoc) { in initialize()
301 std::make_unique<emugl::RenderDocWithMultipleVkInstances>(*fb->m_renderDoc); in initialize()
317 if (fb->m_features.Vulkan.enabled) { in initialize()
319 vkEmu = vk::createGlobalVkEmulation(vkDispatch, fb->m_features); in initialize()
323 fb->m_emulationVk = vkEmu; in initialize()
326 fb->m_vulkanEnabled = true; in initialize()
327 if (fb->m_features.VulkanNativeSwapchain.enabled) { in initialize()
[all …]
Dgfxstream_unittest.cpp133 auto fb = std::make_unique<uint32_t[]>(width * height); in TEST_F() local
134 EXPECT_NE(fb, nullptr); in TEST_F()
163 auto fb = std::make_unique<uint32_t[]>(width * height); in TEST_F() local
164 EXPECT_NE(fb, nullptr); in TEST_F()
DPostWorker.cpp73 PostWorker::PostWorker(bool mainThreadPostingOnly, FrameBuffer* fb, Compositor* compositor) in PostWorker() argument
74 : mFb(fb), in PostWorker()
DPostWorkerGl.h37 PostWorkerGl(bool mainThreadPostingOnly, FrameBuffer* fb, Compositor* compositor,
DPostWorker.h40 PostWorker(bool mainThreadPostingOnly, FrameBuffer* fb, Compositor* compositor);
/hardware/qcom/display/msm8909/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
18 fb/hw_device.cpp \
19 fb/hw_primary.cpp \
20 fb/hw_hdmi.cpp \
21 fb/hw_virtual.cpp \
22 fb/hw_color_manager.cpp \
23 fb/hw_scale.cpp \
24 fb/hw_events.cpp
/hardware/qcom/display/msm8998/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
18 fb/hw_device.cpp \
19 fb/hw_primary.cpp \
20 fb/hw_hdmi.cpp \
21 fb/hw_virtual.cpp \
22 fb/hw_color_manager.cpp \
23 fb/hw_scale.cpp \
24 fb/hw_events.cpp
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
DMakefile.am17 fb/hw_info.cpp \
18 fb/hw_device.cpp \
19 fb/hw_primary.cpp \
20 fb/hw_hdmi.cpp \
21 fb/hw_virtual.cpp \
22 fb/hw_color_manager.cpp \
23 fb/hw_scale.cpp \
24 fb/hw_events.cpp
/hardware/qcom/sm8150/display/sdm/libs/core/
DMakefile.am24 fb/hw_info.cpp \
25 fb/hw_device.cpp \
26 fb/hw_primary.cpp \
27 fb/hw_hdmi.cpp \
28 fb/hw_virtual.cpp \
29 fb/hw_color_manager.cpp \
30 fb/hw_scale.cpp \
31 fb/hw_events.cpp
/hardware/google/gfxstream/host/tests/
DGLSnapshotTestDispatch.cpp51 FrameBuffer* fb = FrameBuffer::getFB(); in saveSnapshot() local
52 if (!fb) { in saveSnapshot()
67 fb->onSave(a_stream, m_texture_saver); in saveSnapshot()
81 FrameBuffer* fb = FrameBuffer::getFB(); in loadSnapshot() local
82 if (!fb) { in loadSnapshot()
87 fb->bindContext(0, 0, 0); in loadSnapshot()
95 fb->onLoad(m_stream.get(), m_texture_loader); in loadSnapshot()
101 fb->bindContext( in loadSnapshot()
121 FrameBuffer* fb = FrameBuffer::getFB(); in testDraw() local
122 if (!fb) { in testDraw()
[all …]
/hardware/libhardware/tests/hwc/
Dcnativewindow.c60 framebuffer_device_t *fb; member
126 if (win->fb && win->fb->setSwapInterval) in cnw_set_swap_interval()
127 return win->fb->setSwapInterval(win->fb, interval); in cnw_set_swap_interval()
234 if (win->fb) { in cnw_queue_buffer1()
235 res = win->fb->post(win->fb, buffer->handle); in cnw_queue_buffer1()
463 framebuffer_device_t *fb = NULL; in cnw_init() local
480 err = framebuffer_open(module, &fb); in cnw_init()
485 win->width = fb->width; in cnw_init()
486 win->height = fb->height; in cnw_init()
487 win->format = fb->format; in cnw_init()
[all …]
/hardware/google/gfxstream/host/gl/
DTextureResize.cpp186 static void attachShaders(TextureResize::Framebuffer* fb, const char* factorDefine, in attachShaders() argument
203 if (!fb->program) { in attachShaders()
204 fb->program = s_gles2.glCreateProgram(); in attachShaders()
206 s_gles2.glAttachShader(fb->program, vShader); in attachShaders()
207 s_gles2.glAttachShader(fb->program, fShader); in attachShaders()
208 s_gles2.glLinkProgram(fb->program); in attachShaders()
212 fb->aPosition = s_gles2.glGetAttribLocation(fb->program, "aPosition"); in attachShaders()
213 fb->uTexture = s_gles2.glGetUniformLocation(fb->program, "uTexture"); in attachShaders()
/hardware/google/gfxstream/host/vulkan/
DPostWorkerVk.cpp32 PostWorkerVk::PostWorkerVk(FrameBuffer* fb, Compositor* compositor, vk::DisplayVk* displayVk) in PostWorkerVk() argument
33 : PostWorker(false, fb, compositor), m_displayVk(displayVk) {} in PostWorkerVk()
DPostWorkerVk.h31 PostWorkerVk(FrameBuffer* fb, Compositor* compositor, vk::DisplayVk* displayGl);
/hardware/google/pixel/power-libperfmgr/aidl/
DGpuCalculationHelpers.cpp35 auto const fb = duration_cast<duration<float, std::nano>>(b); in lerp() local
36 return duration_cast<duration<R, P>>(fa + (fb - fa) * t); in lerp()
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dfusion_9axis.h29 inv_error_t inv_9x_fusion_set_mag_fb(double fb);
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dfusion_9axis.h29 inv_error_t inv_9x_fusion_set_mag_fb(double fb);
/hardware/google/graphics/common/libv4l2/
Dmedia.h79 } fb; member
/hardware/google/gchips/include/
Dmedia.h79 } fb; member
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLEScontext.h349 void setFramebufferBinding(GLenum target, GLuint fb) { in setFramebufferBinding() argument
352 m_readFramebuffer = fb; in setFramebufferBinding()
355 m_drawFramebuffer = fb; in setFramebufferBinding()
358 m_readFramebuffer = fb; in setFramebufferBinding()
359 m_drawFramebuffer = fb; in setFramebufferBinding()
362 m_drawFramebuffer = fb; in setFramebufferBinding()

12