IP Library Granted Patent US 11,222,391
Granted Patent B2
US 11,222,391 · App. 15/160,991 · Granted Jan 11, 2022

Method and device for displaying graphic layers

Inventors: Yanjie Wang (Shanghai, CN); Qian Wang (Shanghai, CN); Chenyang Zhu (Shanghai, CN)
Assignee: Glenfly Tech Co., Ltd.
G06T1/20G06T11/40
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,222,391
App. No.
15/160,991
Granted
Jan 11, 2022
Kind
B2
Abstract

A method for displaying graphic layers is provided. The method includes: receiving a plurality of graphic layers; assigning sequence numbers to the graphic layers according to an overlay order; and displaying the graphic layers in a sequence order according to the sequence numbers.

Claims (50)

1. A method for displaying graphic layers, comprising:

receiving a plurality of graphic layers;

assigning sequence numbers to the graphic layers according to an overlay order; and

displaying the graphic layers in a sequence order according to the sequence numbers,

wherein the step of assigning the sequence numbers to the graphic layers according to the overlay order further comprises:

judging whether a current graphic layer overlays any other graphic layer;

assigning an initial sequence number to the current graphic layer when the current graphic layer does not overlay at least one graphic layer, wherein the initial sequence number is a minimum sequence number; and

assigning a first sequence number to the current graphic layer when the current graphic layer overlays the at least one graphic layer, wherein the first sequence number is a next sequence number after a maximum sequence number between sequence numbers of the at least one graphic layer overlaid by the current graphic layer;

wherein the method further comprises:

classifying the graphic layers into a plurality of groups according to the sequence numbers;

assigning a weight value to each graphic layer in each group;

establishing a layer order according to the sequence numbers and the weight values;

when the layer number is greater than the number of streams supported by a display interface unit, finding at least one pair of adjacent graphic layers according to the weight values and the layer order and merging the at least one pair of adjacent graphic layers according to the layer order; and

displaying the graphic layers of each group in an order of the weight values.

2. The method for displaying graphic layers as claimed in claim 1 , wherein the sequence numbers are assigned in ascending order.

3. The method for displaying graphic layers as claimed in claim 1 , further comprising:

generating a group list corresponding to each group.

4. The method for displaying graphic layers as claimed in claim 1 , wherein the step of assigning a weight value to each graphic layer in each group further comprises:

using a bit-block transfer (BLIT) performance to assign the weight value to each graphic layer in each group.

5. The method for displaying graphic layers as claimed in claim 4 , wherein the step of assigning a weight value to each graphic layer in each group further comprises:

the lower the BLIT performance of the graphic layer, and the higher the weight value is.

6. The method for displaying graphic layers as claimed in claim 1 , wherein the graphic layers in the same group have the same sequence number.

7. The method for displaying graphic layers as claimed in claim 1 , wherein the graphic layers of each group are displayed according to a result of the reordering.

8. A device for displaying graphic layers, comprising:

a control circuit;

a processor installed in the control circuit; and

a memory installed in the control circuit and operatively coupled to the processor;

wherein the processor is configured to execute a program code stored in the memory to instruct a hardware composer to:

receive a plurality of graphic layers;

assign sequence numbers to the graphic layers according to an overlay order; and

display the graphic layers in a sequence order according to the sequence numbers,

wherein the step in which the hardware composer assigns the sequence numbers to the graphic layers according to the overlay order further comprises:

judging whether a current graphic layer overlays any other graphic layer;

assigning an initial sequence number to the current graphic layer when the current graphic layer does not overlay at least one graphic layer, wherein the initial sequence number is a minimum sequence number; and

assigning a first sequence number to the current graphic layer when the current graphic layer overlays the at least one graphic layer, wherein the first sequence number is a next sequence number after a maximum sequence number between sequence numbers of the at least one graphic layer overlaid by the current graphic layer;

wherein the hardware composer further executes:

classifying the graphic layers into a plurality of groups according to the sequence numbers;

assigning a weight value to each graphic layer in each group;

establishing a layer order according to the sequence numbers and the weight values;

when the layer number is greater than the number of streams supported by a display interface unit, finding at least one pair of adjacent graphic layers according to the weight values and the layer order and merging the at least one pair of adjacent graphic layers according to the layer order; and

displaying the graphic layers of each group in an order of the weight values.

9. The device for displaying graphic layers as claimed in claim 8 , wherein the sequence numbers are assigned in ascending order.

10. The device for displaying graphic layers as claimed in claim 8 , wherein the processor further executes the program code to instruct the hardware composer to:

generate a group list corresponding to each group.

11. The device for displaying graphic layers as claimed in claim 8 , wherein the step of assigning a weight value to each graphic layer in each group further comprises:

using a bit-block transfer (BLIT) performance to assign the weight value to each graphic layer in each group.

12. The device for displaying graphic layers as claimed in claim 11 , wherein the step of assigning a weight value to each graphic layer in each group further comprises:

the lower the BLIT performance of the graphic layer, and the higher the weight value is.

13. The device for displaying graphic layers as claimed in claim 8 , wherein the graphic layers in each the same group have the same sequence number.

14. The device for displaying graphic layers as claimed in claim 8 , wherein the graphic layers of each group are displayed according to a result of the reordering.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2021
From: SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD.
To: GLENFLY TECH CO., LTD.
Reel/Frame 058965/0042 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2016
From: WANG, YANJIE; WANG, QIAN; ZHU, CHENYANG
To: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
Reel/Frame 038662/0254 →
Priority Claims (1)
CN 201510868966.1 · Dec 1, 2015 · national
Continuity (1)
Related Publication 20170154449A1 · Jun 1, 2017