Home
last modified time | relevance | path

Searched refs:framebuffer (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dnode_context_pool_manager_gles.cpp433 … BindToFbo(drawBuffers[idx], images[ci], framebuffer.width, framebuffer.height, views, in GenerateSubPassFBO()
459 …indToFboMultisampled(bindType, images[original], images[di], framebuffer.width, framebuffer.height… in GenerateSubPassFBO()
468 framebuffer.width, framebuffer.height, sb.colorAttachmentCount, sb.depthAttachmentCount, in GenerateSubPassFBO()
500 framebuffer.width = desc.width; in GenerateResolveFBO()
501 framebuffer.height = desc.height; in GenerateResolveFBO()
522 BindToFbo(drawBuffers[idx], images[ci], framebuffer.width, framebuffer.height, views, in GenerateResolveFBO()
535 BindToFbo(BindType(image), images[ci], framebuffer.width, framebuffer.height, views, in GenerateResolveFBO()
554 framebuffer.width = desc.width; in ProcessSubPass()
555 framebuffer.height = desc.height; in ProcessSubPass()
569 const auto resolveResult = GenerateResolveFBO(device, framebuffer, sb, images); in ProcessSubPass()
[all …]
H A Drender_backend_gles.cpp373 void Invalidate(GLenum framebuffer, int32_t count, const GLenum invalidate[], const RenderPassDesc&… in Invalidate() argument
379 glInvalidateFramebuffer(framebuffer, static_cast<GLsizei>(count), invalidate); in Invalidate()
387 … glInvalidateSubFramebuffer(framebuffer, static_cast<GLsizei>(count), invalidate, X, Y, W, H); in Invalidate()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample/
H A Dshadow_demo.js298 let framebuffer, texture, depthBuffer;
300 if (framebuffer) {
301 gl.deleteFramebuffer(framebuffer);
311 framebuffer = gl.createFramebuffer();
312 if (!framebuffer) {
331 gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);
338 framebuffer.texture = texture;
342 return framebuffer;
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/webgl/entry/src/main/js/MainAbility/pages/index/sample2/
H A Dshadow2_demo.js300 let framebuffer, texture, depthBuffer;
302 if (framebuffer) {
303 gl.deleteFramebuffer(framebuffer);
313 framebuffer = gl.createFramebuffer();
314 if (!framebuffer) {
333 gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);
340 framebuffer.texture = texture;
344 return framebuffer;
/ohos5.0/drivers/liteos/
H A DREADME_zh.md22 - video相关实现是framebuffer驱动框架,用户需要实现初始化接口完成驱动注册,通过文件系统接口操作framebuffer驱动。
51 **函数功能:** 加载framebuffer驱动,注册设备节点/dev/fb0;若成功则返回0, 否则返回相应的错误码。
82 **函数功能:** 卸载framebuffer驱动;若成功则返回0, 否则返回相应的错误码。
108 …**函数功能:** 初始化framebuffer驱动,这个接口需要用户通过调用fb\_register注册设备节点来实现,以提供framebuffer硬件驱动功能;若成功则返回0,否则返回相应的错…
134 **函数功能:** 卸载framebuffer硬件驱动,这个接口需要用户通过调用fb\_unregister注销设备节点来实现;无返回值。
160 **函数功能:** 获取framebuffer硬件驱动的句柄,这个接口需要用户实现;若成功则返回有效指针,否则返回NULL。
220 - 以framebuffer驱动操作为例:
225 //具体代码逻辑由用户实现,提供framebuffer硬件驱动能力;
H A DREADME.md22 …* indicates the framebuffer driver framework. You need to initialize APIs, register the framebuff…
51 …**Function description:** Loads the framebuffer driver and registers the **/dev/fb0** device no…
82 …**Function description:** Uninstalls the framebuffer driver. If the operation is successful, **0…
108 …the framebuffer driver. This function needs your implementation by calling **fb\_register** to r…
134 …**Function description:** Uninstalls the framebuffer driver. This function needs your implementat…
160 …**Function description:** Obtains a framebuffer driver handle, which needs your implementation. I…
220 - The following uses the framebuffer driver as an example:
225 …// Provide framebuffer hardware driver capabilities. The specific code logic needs your implementa…
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/opengl/test_glFramebufferTexture3DOES/entry/src/main/cpp/
H A Dtest_glFramebufferTexture3DOES.cpp85 GLuint framebuffer; in GLCopyTexSubImage3D() local
86 glGenFramebuffers(CREAT_NUM_ONE, &framebuffer); in GLCopyTexSubImage3D()
87 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in GLCopyTexSubImage3D()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dnode_context_pool_manager_vk.cpp197 VkFramebuffer framebuffer = VK_NULL_HANDLE; in CreateFramebuffer() local
214 &framebuffer)); // pFramebuffer in CreateFramebuffer()
217 return framebuffer; in CreateFramebuffer()
480 renderPassData.framebuffer = iter->second.frameBuffer; in GetRenderPassData()
482 renderPassData.framebuffer = in GetRenderPassData()
484 … cache.hashToElement[renderPassData.frameBufferHash] = { frameCount, renderPassData.framebuffer }; in GetRenderPassData()
487 VulkanHandleCast<uint64_t>(renderPassData.framebuffer), in GetRenderPassData()
H A Dpipeline_create_functions_vk.h63 VkFramebuffer framebuffer { VK_NULL_HANDLE };
H A Drender_backend_vk.cpp1332 (stateCache.lowLevelRenderPassData.framebuffer != VK_NULL_HANDLE); in RenderCommand()
1405 stateCache.lowLevelRenderPassData.framebuffer, // framebuffer in RenderCommand()
2563 stateCache.lowLevelRenderPassData.framebuffer, // framebuffer in RenderCommand()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_framebuffer.h84 void SetFramebuffer(unsigned int framebuffer) in SetFramebuffer() argument
86 framebuffer_ = framebuffer; in SetFramebuffer()
/ohos5.0/drivers/peripheral/display/hal/default/
H A Ddisplay_layer.c264 uint32_t *framebuffer = (uint32_t *)priv->fbAddr; in SetBackground() local
267 framebuffer[i + j * priv->width] = 0xFF; // Blue background in SetBackground()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/vulkan/
H A Dintf_device_vk.h101 VkFramebuffer framebuffer { VK_NULL_HANDLE };
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dgl2_entries.in13 HOOK_API_ENTRY(void, glBindFramebuffer, GLenum target, GLuint framebuffer)
14 CALL_HOOK_API(glBindFramebuffer, target, framebuffer)
250 HOOK_API_ENTRY(GLboolean, glIsFramebuffer, GLuint framebuffer)
251 CALL_HOOK_API_RET(glIsFramebuffer, framebuffer)
H A Dgl1ext_entries.in184 HOOK_API_ENTRY(GLboolean, glIsFramebufferOES, GLuint framebuffer)
185 CALL_HOOK_API_RET(glIsFramebufferOES, framebuffer)
187 HOOK_API_ENTRY(void, glBindFramebufferOES, GLenum target, GLuint framebuffer)
188 CALL_HOOK_API(glBindFramebufferOES, target, framebuffer)
H A Dgl32_entries.in13 HOOK_API_ENTRY(void, glBindFramebuffer, GLenum target, GLuint framebuffer)
14 CALL_HOOK_API(glBindFramebuffer, target, framebuffer)
250 HOOK_API_ENTRY(GLboolean, glIsFramebuffer, GLuint framebuffer)
251 CALL_HOOK_API_RET(glIsFramebuffer, framebuffer)
H A Dgl2ext_entries.in1426 HOOK_API_ENTRY(void, glNamedFramebufferSampleLocationsfvNV, GLuint framebuffer, GLuint start, GLsiz…
1427 CALL_HOOK_API(glNamedFramebufferSampleLocationsfvNV, framebuffer, start, count, v)
1567 HOOK_API_ENTRY(void, glFramebufferFoveationConfigQCOM, GLuint framebuffer, GLuint numLayers, GLuint…
1568 CALL_HOOK_API(glFramebufferFoveationConfigQCOM, framebuffer, numLayers, focalPointsPerLayer, reques…
1570 HOOK_API_ENTRY(void, glFramebufferFoveationParametersQCOM, GLuint framebuffer, GLuint layer, GLuint…
1571 CALL_HOOK_API(glFramebufferFoveationParametersQCOM, framebuffer, layer, focalPoint, focalX, focalY,…
/ohos5.0/drivers/interface/display/composer/v1_2/
H A DDisplayComposerType.idl64 HBM_USE_DRM_REDRAW = (1ULL << 24), /**< For DRM redraw framebuffer allocate */
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-overview.md133 │ └── video # framebuffer驱动框架
/ohos5.0/docs/zh-cn/device-dev/porting/
H A Dporting-yangfan-on_standard-demo.md810 执行结果:输入u 报错:ERROR:main test:cannot open framebuffer /dev/fb0 file node
826 ERROR:main test:cannot open framebuffer /dev/fb0 file node
843 需把v4l2_main可执行程序中的dev/fb0改为dev/graphics/fb0。此处fb0为framebuffer,作用是在屏幕上显示预览画面。
859 - CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/fb0");
860 + CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/graphics/fb0");
875 - CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/fb0");
876 + CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/graphics/fb0");
913 继续执行v4l2_main结果后无framebuffer报错,说明该问题已解决。(另一种思路:分析fb0为何在/dev/graphics/fb0而不是常规的/dev/fb0,然后修改为/dev/fb…
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-yangfan-on_standard-demo.md810 Execution result: After you enter **u**, error message **ERROR:main test:cannot open framebuffer /d…
826 ERROR:main test:cannot open framebuffer /dev/fb0 file node
843 …able program **v4l2_main** to **dev/graphics/fb0**. Here, **fb0** is **framebuffer**, which is use…
859 - CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/fb0");
860 + CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/graphics/fb0");
875 - CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/fb0");
876 + CAMERA_LOGE("main test:cannot open framebuffer %s file node\n", "/dev/graphics/fb0");
913 Continue to execute **v4l2_main**. If no **framebuffer** error is reported, the issue has been reso…
/ohos5.0/docs/zh-cn/readme/
H A D内核子系统.md136 │ └── video # framebuffer驱动框架
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-overview.md110 │ └── video # Framework of the framebuffer driver
/ohos5.0/docs/en/readme/
H A Dkernel.md120 │ └── video # Framework of the framebuffer driver
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md436 | webgl | WebGLRenderingContextBase | isFramebuffer(framebuffer: WebGLFramebuffer \| null): GLboole…
480 | webgl | WebGLRenderingContextBase | deleteFramebuffer(framebuffer: WebGLFramebuffer \| null): voi…
505 | webgl | WebGLRenderingContextBase | bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer…

12