GPU-based two-dimension situation image processing method and device
A two-dimensional situation and image processing technology, applied in image data processing, details related to image processing hardware, 2D image generation, etc., can solve the problems of comparable efficiency, insufficient flexibility, and low efficiency, so as to improve efficiency and improve The effect on overall performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] according to figure 1 The description of the rendering process and the specific way of software implementation are as follows:
[0034] 1) Create a frame buffer, corresponding to data classification processing, which can be considered as dividing layers and assigning data to the graphics card.
[0035] glGenFramebuffersEXT(1, &targetId._FBOID);
[0036] glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, targetId._FBOID);
[0037] glGenRenderbuffersEXT(1, &targetId._RBOID);
[0038] glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, targetId._RBOID);
[0039] glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT,
[0040] GL_DEPTH_COMPONENT, width, height);
[0041] glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, 0);
[0042] glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT,
[0043] GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, targetId._RBOID);
[0044] 2) After creation, in order to draw data on it, it is necessary to bind a texture to it, which can be visually understood as a picture, and th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
