Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for filling graph

A graphics and graphics processor technology, applied in the direction of filling planes with attributes, which can solve problems such as reducing CPU utilization, increasing CPU burden, and reducing system performance.

Active Publication Date: 2017-11-21
LOONGSON TECH CORP
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, if the CPU is required to execute every time the circle or ellipse is filled, it will increase the burden on the CPU, reduce the utilization rate of the CPU, and greatly reduce the system performance when the CPU is busy.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for filling graph
  • Method and device for filling graph
  • Method and device for filling graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0021] The method and device for filling graphics provided by the embodiments of the present invention are mainly applied to the environment where the vxWorks operating system based on the MIPS processor adopts the SIS display chip environment, and solves the technical problem that the CPU utilization rate is low when filling a circle or an el...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for filling a graph. The method for filling the graph comprises the steps of obtaining coordinates of two most distant key points on a graph along a pixel arrangement direction; starting from one key point until the other key point and calculating end point coordinates of each line segment formed by the intersection of the graph with each pixel row, the pixel rows being perpendicular to the pixel arrangement direction; and starting from the one key point until the other key point and calling a line drawing interface function of a graphics processing unit (GPU) so that the GPU fills the graph according to the end point coordinates of the line segment. The provided method for filling the graphic by the invention can reduce the load on a central processing unit (CPU) and improve the utilization rate of the GPU, thereby improving the system performance.

Description

technical field [0001] The invention relates to the technical field of computer graphics processing, in particular to a method and device for filling graphics. Background technique [0002] In the computer system, through the graphics processing software or other application software that comes with the computer system, different patterns can be designed and drawn. Among them, the most basic patterns include: points, straight lines, curves, triangles, rectangles, circles and ellipses , etc., and the pattern can be further processed by software, for example, the pattern can be filled. [0003] Currently, in the vxWorks operating system based on the Microprocessor without interlocked piped stages (MIPS) architecture, when the display chip is a SiS technology (also called SIS) display chip, there is no The implementation interface for filling a circle or an ellipse. Therefore, when a circle or an ellipse needs to be filled, the central processing unit (Central Processing Unit,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T11/40
CPCG06T11/40
Inventor 王洪虎胡佳林
Owner LOONGSON TECH CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More