CPC G06F 3/1438 (2013.01) [G09G 5/363 (2013.01); G09G 2360/06 (2013.01)] | 7 Claims |
1. A method for game screen rendering based on multiple graphics cards, the method comprising:
recognizing M physical graphics cards on a physical host, wherein M is an integer greater than 1;
determining a rendering task and segmenting it into at least one rendering part, wherein:
when the rendering task is a game screen rendering task of a single user, the rendering task is segmented into at least one rendering part, in which each rendering part is a frame of the game screen of the user or a part of a frame of the game screen of the user; and
when the rendering task is a game screen rendering task of multiple users, the rendering task is segmented into multiple rendering parts, in which each rendering part is a frame of a game screen of one user or a part of a frame of the game screen of one user;
determining a target physical graphics card according to the at least one rendering part, wherein the target physical graphics card is one or more of the M physical graphics cards, including:
when the rendering task is a game screen rendering task of a single user and the rendering task is segmented into one rendering part, determining one physical graphics card of the M physical graphics cards as the target physical graphics card; and
when the rendering task is a game screen rendering task of a single user and the rendering task is segmented into multiple rendering parts, or when the rendering task is a game screen rendering task of multiple users, determining N physical graphics cards among the M physical graphics cards as the target physical graphics cards, wherein N is an integer greater than 1 and less than or equal to M;
rendering the at least one rendering part through the target physical graphics card; and
outputting a rendering result through an output device.
|