WO2018214779A1 - Rendering method and device - Google Patents

Rendering method and device Download PDF

Info

Publication number
WO2018214779A1
WO2018214779A1 PCT/CN2018/086784 CN2018086784W WO2018214779A1 WO 2018214779 A1 WO2018214779 A1 WO 2018214779A1 CN 2018086784 W CN2018086784 W CN 2018086784W WO 2018214779 A1 WO2018214779 A1 WO 2018214779A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
texture data
drawn
data
dimension
Prior art date
Application number
PCT/CN2018/086784
Other languages
French (fr)
Chinese (zh)
Inventor
李利民
郑剑杰
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2018214779A1 publication Critical patent/WO2018214779A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics

Abstract

A rendering method and device are disclosed in the present application. An electronic device provided in the present application comprises a first processor and a second processor. A first processor obtains images that are used for interface display; from among said images, the first processor converts the 2D texture data of images that have like properties into corresponding 3D texture data; and, sends the 3D texture data to a second processor. On the basis of an image to be rendered, the second processor obtains from the 3D texture data 2D texture data of the image to be rendered and, on the basis of the obtained 2D texture data, renders the image to be rendered. The present application allows for batch process-rendering of images, thereby increasing rendering efficiency.

Description

一种绘制方法及装置Drawing method and device
本申请要求2017年05月24日递交的申请号为201710374000.1、发明名称为“一种绘制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Japanese Patent Application Serial No. PCT Application No. No. No. No. No. No. No. No. No.
技术领域Technical field
本申请涉及计算机图像处理技术领域,尤其涉及一种绘制方法及装置。The present application relates to the field of computer image processing technologies, and in particular, to a drawing method and apparatus.
背景技术Background technique
为了保证智能电视界面的绘制性能和界面的清晰度,智能电视的界面绘制通常由智能电视中专用于图像处理的图形处理器(Graphics Processing Unit,GPU)来进行。GPU基于开放式图形库(Open Graphics Library,OpenGL)进行界面绘制,OpenGL提供了多种图形处理函数,图形处理软件通过调用这些函数可实现界面绘制。In order to ensure the rendering performance of the smart TV interface and the clarity of the interface, the interface drawing of the smart TV is usually performed by a graphics processing unit (GPU) dedicated to image processing in the smart television. The GPU is based on the Open Graphics Library (OpenGL) for interface rendering. OpenGL provides a variety of graphics processing functions. The graphics processing software can implement interface rendering by calling these functions.
界面中通常包括多个显示对象,一个显示对象占用一定的显示区域。以用于展示电影列表的界面为例,其中可包括多个电影的宣传用图片,每个图片即为一个显示对象。在进行界面绘制时,需要针对每个图片分别进行绘制。针对一个图片的绘制过程一般包括:智能电视中的CPU从网络侧获取到用于在电影列表界面中展示的图片,基于获取到的图片以及预先设置的界面布局生成用于进行图片绘制的基本数据,并将这些基本数据传输给智能电视中的GPU;GPU依据图形处理软件提供的绘制逻辑,通过调用OpenGL使用这些基本数据绘制出电影列表界面。上述过程称为一次绘制过程。其中,用于进行图片绘制的基本数据可包括图片所在显示区域在所在界面中的顶点数据、图片所在区域的纹理坐标数据、图片的纹理数据,还可进一步包括光照数据、场景矩阵等。The interface usually includes a plurality of display objects, and one display object occupies a certain display area. For example, an interface for displaying a movie list may include a publicity picture of a plurality of movies, and each picture is a display object. When drawing the interface, you need to draw separately for each image. The drawing process for a picture generally includes: the CPU in the smart TV acquires a picture for displaying in the movie list interface from the network side, and generates basic data for performing picture drawing based on the acquired picture and a preset interface layout. And transfer the basic data to the GPU in the smart TV; the GPU draws the movie list interface by calling the basic data by calling OpenGL according to the drawing logic provided by the graphics processing software. The above process is called a drawing process. The basic data used for image drawing may include vertex data of the display area where the image is located, texture coordinate data of the area where the image is located, and texture data of the image, and may further include illumination data, a scene matrix, and the like.
每一次绘制过程都需要CPU将基本数据传输给GPU。由于CPU与GPU之间的数据传输带宽有限,使GPU无法发挥其应有的处理性能,成为界面绘制的瓶颈。为此,现有技术提出了批处理方案:针对多个基本数据相同(顶点数据和纹理坐标数据除外)的显示对象,CPU将该多个显示对象的基本数据一次传输给GPU,使得GPU将多次绘制过程进行合并,从而降低了CPU与GPU之间的数据传输带宽对绘制效率的影响。Every drawing process requires the CPU to transfer basic data to the GPU. Due to the limited data transmission bandwidth between the CPU and the GPU, the GPU cannot perform its proper processing performance and becomes a bottleneck for interface rendering. To this end, the prior art proposes a batch processing scheme: for a display object in which a plurality of basic data are the same (except vertex data and texture coordinate data), the CPU transmits the basic data of the plurality of display objects to the GPU at a time, so that the GPU will be more The secondary rendering process is combined to reduce the impact of the data transfer bandwidth between the CPU and the GPU on rendering efficiency.
但是,上述批处理方案需要满足特定条件,即除了顶点数据和纹理坐标数据之外的其他基本数据均相同才能对多个显示对象的绘制过程进行合并。在一些应用场景中,多数情况下无法满足上述条件(比如在智能电视应用场景中,一个界面中的每个图片的纹理各不相同),因此无法采用上述批处理方案。However, the above batch scheme needs to meet certain conditions, that is, the basic data except the vertex data and the texture coordinate data are the same to merge the drawing processes of the plurality of display objects. In some application scenarios, the above conditions cannot be met in most cases (for example, in a smart TV application scenario, the texture of each picture in an interface is different), so the above batch scheme cannot be adopted.
由此可见,如何提高绘制效率是目前亟需解决的技术问题。It can be seen that how to improve the drawing efficiency is a technical problem that needs to be solved at present.
发明内容Summary of the invention
本申请实施例提供了一种绘制方法及装置,用以提高绘制效率。The embodiment of the present application provides a drawing method and device for improving drawing efficiency.
第一方面,提供一种电子设备,包括:In a first aspect, an electronic device is provided, comprising:
第一处理器,获取用于界面展示的图片,将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据,将所述3D纹理数据发送给第二处理器;第二处理器,根据待绘制图片,从所述3D纹理数据中获取所述待绘制图片的2D纹理数据,根据获取到的2D纹理数据绘制所述待绘制图片。The first processor obtains a picture for the interface display, converts the 2D texture data of the attribute-related picture in the picture for the interface display into corresponding 3D texture data, and sends the 3D texture data to the second process. The second processor obtains 2D texture data of the to-be-drawn picture from the 3D texture data according to the picture to be drawn, and draws the picture to be drawn according to the acquired 2D texture data.
第二方面,提供一种处理装置,包括:In a second aspect, a processing apparatus is provided, comprising:
获取单元,获取用于界面展示的图片;数据处理单元,将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据;发送单元,发送所述3D纹理数据。Obtaining a unit, acquiring a picture for displaying the interface; and a data processing unit, converting the 2D texture data of the attribute-related picture in the picture for displaying the interface into corresponding 3D texture data; and sending, sending the 3D texture data .
第三方面,提供一种处理装置,包括:In a third aspect, a processing apparatus is provided, comprising:
接收单元,接收属性相关的图片的3D纹理数据,所述3D纹理数据由所述属性相关的图片的2D纹理数据变换得到;数据处理单元,根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据;绘制单元,根据获取到的2D纹理数据绘制所述待绘制图片。a receiving unit that receives 3D texture data of an attribute-related image, where the 3D texture data is transformed by 2D texture data of the attribute-related picture; and a data processing unit that acquires the 3D texture data according to the picture to be drawn 2D texture data of the picture to be drawn; a drawing unit that draws the picture to be drawn according to the acquired 2D texture data.
第四方面,提供一种绘制方法,包括:In a fourth aspect, a method of drawing is provided, including:
获取用于界面展示的图片;将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据;发送所述3D纹理数据。Obtaining a picture for the interface display; converting the 2D texture data of the attribute-related picture in the picture for the interface display into corresponding 3D texture data; and transmitting the 3D texture data.
第五方面,提供一种绘制方法,包括:In a fifth aspect, a method of drawing is provided, including:
接收属性相关的图片的3D纹理数据,所述3D纹理数据由所述属性相关的图片的2D纹理数据变换得到;根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据;根据获取到的2D纹理数据绘制所述待绘制图片。Receiving 3D texture data of the attribute-related picture, the 3D texture data being transformed by the 2D texture data of the attribute-related picture; acquiring 2D texture data of the to-be-drawn picture in the 3D texture data according to the picture to be drawn And drawing the picture to be drawn according to the acquired 2D texture data.
第六方面,提供一种电子设备,包括:In a sixth aspect, an electronic device is provided, including:
第一处理器,获取用于界面展示的图片,将所述用于界面展示的图片中属性相关的图片的第一维度纹理数据变换为对应的第二维度纹理数据,将所述第二维度纹理数据发送给第二处理器;第二处理器,根据待绘制图片,从所述第二维度纹理数据中获取所述待绘制图片的第一维度纹理数据,根据获取到的第一维度纹理数据绘制所述待绘制图片。The first processor obtains a picture for the interface display, and transforms the first dimension texture data of the attribute-related picture in the picture for the interface display into the corresponding second dimension texture data, and the second dimension texture The data is sent to the second processor, and the second processor obtains the first dimension texture data of the to-be-drawn picture from the second dimension texture data according to the picture to be drawn, and draws the first dimension texture data according to the acquired The picture to be drawn.
第七方面,提供一种绘制方法,包括:In a seventh aspect, a method of drawing is provided, comprising:
获取单元,获取用于界面展示的图片;数据处理单元,将所述用于界面展示的图片中属性相关的图片的第一维度纹理数据变换为对应的第二维度纹理数据;发送单元,发送所述第二维度纹理数据。Obtaining a unit, acquiring a picture for displaying the interface; and a data processing unit, converting the first dimension texture data of the attribute-related picture in the picture for displaying the interface into the corresponding second dimension texture data; sending unit, sending station The second dimension texture data.
第八方面,提供一种处理装置,包括:In an eighth aspect, a processing apparatus is provided, comprising:
接收单元,接收属性相关的图片的第二维度纹理数据,所述第二维度纹理数据由所述属性相关的图片的第一维度纹理数据变换得到;数据处理单元,根据待绘制图片,获取所述第二维度纹理数据中所述待绘制图片的第一维度纹理数据;绘制单元,根据获取到的第一维度纹理数据绘制所述待绘制图片。a receiving unit, configured to receive second dimension texture data of the attribute-related image, where the second dimension texture data is transformed by the first dimension texture data of the attribute-related image; and the data processing unit acquires the image according to the image to be drawn a first dimension texture data of the to-be-drawn picture in the second dimension texture data; a rendering unit that draws the to-be-drawn picture according to the acquired first dimension texture data.
第九方面,提供一种绘制方法,包括:In a ninth aspect, a drawing method is provided, comprising:
获取用于界面展示的图片;将所述用于界面展示的图片中属性相关的图片的第一维度纹理数据变换为对应的第二维度纹理数据;发送所述第二维度纹理数据。Obtaining a picture for the interface display; converting the first dimension texture data of the attribute-related picture in the picture for the interface display to the corresponding second dimension texture data; and transmitting the second dimension texture data.
第十方面,提供一种绘制方法,包括:In a tenth aspect, a drawing method is provided, comprising:
接收属性相关的图片的第二维度纹理数据,所述第二维度纹理数据由所述属性相关的图片的第一维度纹理数据变换得到;根据待绘制图片,获取所述第二维度纹理数据中所述待绘制图片的第一维度纹理数据;根据获取到的第一维度纹理数据绘制所述待绘制图片。Receiving second dimension texture data of the attribute-related picture, the second dimension texture data being transformed by the first dimension texture data of the attribute-related picture; acquiring the second dimension texture data according to the picture to be drawn Depicting the first dimension texture data of the picture; and drawing the picture to be drawn according to the acquired first dimension texture data.
第十一方面,提供一个或多个计算机可读介质,所述可读介质上存储有指令,所述指令被一个或多个处理器执行时,使得电子设备执行上述第四方面或第九方面提供的方法。In an eleventh aspect, there is provided one or more computer readable medium having stored thereon instructions that, when executed by one or more processors, cause an electronic device to perform the fourth or ninth aspect described above The method provided.
第十二方面,提供一个或多个计算机可读介质,所述可读介质上存储有指令,所述指令被一个或多个处理器执行时,使得电子设备执行上述第五方面或第十方面提供的方法。In a twelfth aspect, there is provided one or more computer readable medium having stored thereon instructions that, when executed by one or more processors, cause an electronic device to perform the fifth or tenth aspect described above The method provided.
本申请的上述实施例中,一方面,第一处理器将用于界面展示的属性相关的图片的2D纹理数据变换为对应的3D纹理数据,比如在所述3D纹理数据中新增加一个维度用于标识图片,从而使所述属性相关的图片具有相同的3D纹理数据,满足了批处理方案的要求,因此可采用批处理方案,从而提高绘制效率。In the foregoing embodiment of the present application, in one aspect, the first processor transforms the 2D texture data of the attribute-related picture for the interface display into the corresponding 3D texture data, such as adding a new dimension to the 3D texture data. In order to identify the picture, so that the attribute-related pictures have the same 3D texture data, which satisfies the requirements of the batch processing scheme, a batch processing scheme can be adopted, thereby improving the drawing efficiency.
附图说明DRAWINGS
本申请的实施例通过示例而非限制的方式示出在所附附图中,类似的附图标记表示 类似的元素。The embodiments of the present application are illustrated by way of example and not limitation, and the
图1示例性地示出了本申请实施例所适用的系统架构示意图;FIG. 1 exemplarily shows a schematic diagram of a system architecture to which an embodiment of the present application is applied;
图2示例性地示出了本申请实施例所适用的另一系统架构示意图;FIG. 2 exemplarily shows another system architecture diagram applicable to the embodiment of the present application;
图3A示例性地示出了本申请中的界面示意图;FIG. 3A exemplarily shows an interface diagram in the present application;
图3B示例性地示出了本申请中的另一界面示意图;FIG. 3B exemplarily shows another interface diagram in the present application;
图3C示例性地示出了本申请中的又一界面示意图;FIG. 3C exemplarily shows another interface diagram in the present application;
图3D示例性地示出了本申请中的又一界面示意图;FIG. 3D exemplarily shows another interface diagram in the present application;
图3E示例性地示出了本申请中的又一界面示意图;FIG. 3E exemplarily shows another interface diagram in the present application; FIG.
图3F示例性地示出了本申请中的又一界面示意图;FIG. 3F exemplarily shows another interface diagram in the present application; FIG.
图3G示例性地示出了本申请中的又一界面示意图;FIG. 3G exemplarily shows another interface diagram in the present application;
图4示例性地示出了本申请实施例提供的电视设备原理结构图;FIG. 4 is a schematic structural diagram of a television apparatus according to an embodiment of the present application;
图5示例性地示出了本申请实施例的电视设备的结构示意图;FIG. 5 is a schematic structural diagram of a television apparatus according to an embodiment of the present application;
图6示例性地示出了本申请实施例提供的处理装置的结构示意图;FIG. 6 is a schematic structural diagram of a processing apparatus provided by an embodiment of the present application;
图7示例性地示出了本申请实施例提供的处理装置的另一结构示意图;FIG. 7 is a schematic diagram showing another structure of a processing apparatus provided by an embodiment of the present application;
图8示例性地示出了本申请实施例提供的界面绘制流程示意图;FIG. 8 is a schematic diagram showing an interface drawing process provided by an embodiment of the present application;
图9示例性地示出了本申请实施例中3D纹理数据的原理示意图。FIG. 9 exemplarily shows a schematic diagram of the principle of 3D texture data in the embodiment of the present application.
具体实施方式detailed description
虽然本申请的概念易于进行各种修改和替代形式,但是其具体实施例已经通过附图中的示例示出并且将在本文中详细描述。然而,应当理解,没有意图将本申请的概念限制为所公开的特定形式,而是相反,意图是覆盖与本申请以及所附权利要求一致的所有修改、等同物和替代物。While the concept of the present application is susceptible to various modifications and alternatives, the specific embodiments thereof are illustrated by the examples in the drawings and will be described in detail herein. It should be understood, however, that the invention is not intended to be limited to the details of the invention.
说明书中对“一个实施例”、“实施例”、“说明性实施例”等的引用,指示所描述的实施例可包括特定特征、结构或特性,但是每个实施例可以或可以不必包括特定特征、结构或特性。此外,这样的短语不一定指的是相同的实施例。进一步地,认为在本领域技术人员的知识范围内,当结合实施例描述特定特征、结构或特性时,结合无论是否明确描述的其它实施例影响这样的特征,结构或特性。另外,应当理解,以“A,B和C中的至少一个”的形式包括在列表中的项目可以表示(A);(B);(C);(A和B);(A和C);(B和C);或(A,B和C)。类似地,以“A,B或C中的至少一个”的形式列出的项目可以表示(A);(B);(C);(A和B);(A和C);(B和C)或(A,B 和C)。References to "an embodiment", "an embodiment", "an illustrative embodiment" or the like in the specification are intended to mean that the described embodiments may include specific features, structures, or characteristics, but each embodiment may or may not necessarily include a particular Feature, structure or characteristic. Moreover, such phrases are not necessarily referring to the same embodiments. Further, it is to be understood that the specific features, structures, or characteristics may be combined with other embodiments, whether explicitly described or not, in conjunction with the embodiments. In addition, it should be understood that items included in the list in the form of "at least one of A, B, and C" may represent (A); (B); (C); (A and B); (A and C) ; (B and C); or (A, B and C). Similarly, items listed in the form of "at least one of A, B or C" may represent (A); (B); (C); (A and B); (A and C); (B and C) or (A, B and C).
在一些情况下,所公开的实施例可以在硬件、固件、软件或其任何组合中实现。所公开的实施例还可以被实现为由一个或多个暂时性或非暂时性机器可读(例如,计算机可读)存储介质携带或存储的指令,其可以由一个或多个处理器读取和执行。机器可读存储介质可以体现为用于以机器可读形式(例如,易失性或非易失性存储器、介质盘或其他介质)存储或传输信息的任何存储设备,机制或其他物理结构的设备)。In some cases, the disclosed embodiments can be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments can also be implemented as instructions carried or stored by one or more transitory or non-transitory machine readable (eg, computer readable) storage media, which can be read by one or more processors And execution. A machine-readable storage medium may be embodied in any storage device, mechanism or other physical structure for storing or transmitting information in a machine readable form (eg, a volatile or nonvolatile memory, media disk or other medium). ).
在附图中,一些结构或方法特征可以以特定布置和/或顺序示出。然而,应当理解,可能不需要这样的具体布置和/或排序。相反,在一些实施例中,这些特征可以以与说明性附图中所示不同的方式和/或顺序来布置。另外,在特定图中包括结构或方法特征并不意味着暗示这种特征在所有实施例中都是需要的,并且在一些实施例中可以不包括或可以与其他特征组合。In the figures, some structural or method features may be shown in a particular arrangement and/or order. However, it should be understood that such specific arrangements and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different and/or sequential manner than shown in the illustrative figures. In addition, the inclusion of structural or method features in a particular figure is not meant to imply that such a feature is required in all embodiments, and may not include or be combined with other features in some embodiments.
如背景技术所述,在进行对象绘制时采用批处理方案可提高绘制效率。但是采用批处理需要满足一定的条件,即除了顶点数据和纹理坐标数据之外的其他数据均相同的情况下才能将多个对象的绘制过程进行合并,这就要求待绘制的对象除了位置不同以外,其他的数据(比如纹理数据、场景矩阵等)均要相同。在一些场景下,尤其在智能电视领域中,智能电视所展示的界面(比如资源列表界面)中,除不同区域所展示的图片不同以外,不同区域的其他属性均相同。但正是由于不同区域展示的图片不同,因此不同区域的OpenGL纹理数据不同,进而无法采用上述批处理方案,也就是说每一个区域中的图片的绘制过程都需要一次从CPU到GPU的数据传输,界面中每一帧中的每一个显示区域内的图片都需要进行一次从CPU到GPU的数据传输,导致绘制效率较低。As described in the background art, a batch processing scheme can be used to improve drawing efficiency when performing object drawing. However, the batch processing needs to meet certain conditions, that is, the drawing process of multiple objects can be combined except that the data other than the vertex data and the texture coordinate data are the same, which requires the objects to be drawn to be different except for the position. Other data (such as texture data, scene matrix, etc.) must be the same. In some scenarios, especially in the field of smart TV, in the interface displayed by the smart TV (such as the resource list interface), other attributes of different areas are the same except for the pictures displayed in different areas. However, because the images displayed in different regions are different, the OpenGL texture data of different regions is different, and the above batch processing scheme cannot be adopted. That is to say, the drawing process of each region requires a data transmission from the CPU to the GPU. The picture in each display area in each frame of the interface needs to perform data transmission from the CPU to the GPU, resulting in low rendering efficiency.
为此,本申请实施例通过将一种维度的纹理数据(为方便起见称为第一维度纹理数据)变换为另一种维度的纹理数据(为方便起见称为第二维度纹理数据),使得转换后得到的第二维度纹理数据满足批处理要求,从而可采用批处理技术来提高绘制效率。To this end, the embodiment of the present application transforms texture data of one dimension (referred to as first dimension texture data for convenience) into texture data of another dimension (referred to as second dimension texture data for convenience), so that The second dimensional texture data obtained after the conversion satisfies the batch processing requirements, so that batch processing technology can be used to improve the drawing efficiency.
不失一般性地,第二维度纹理数据与第一维度纹理数据相比,其维度更高,新增加的维度可用来对图片进行标识。例如,第一维度纹理数据可以是2维纹理数据(2D纹理数据),第二维度纹理数据可以是3D纹理数据。通过将2维纹理数据(2D纹理数据)变换为3维纹理数据(3D纹理数据),新增加的维度用于标识图片,这样可将多个属性相关(比如尺寸相同)但纹理数据不同的图片,将其纹理数据统一为该组图片对应的3D纹理数据,使其满足批处理要求,从而可采用批处理技术进行绘制,进而提高了绘制效率。当然,第一维度纹理数据和第二维度纹理数据不仅仅限于上述的2D纹理数据和3D 纹理数据,也可以是其他维度的纹理数据,只要将第一维度纹理数据变换为第二维度纹理数据后,可以满足批处理要求,使用批处理技术以提高绘制效率,均在本申请的保护范围内。Without loss of generality, the second dimension texture data has a higher dimension than the first dimension texture data, and the newly added dimension can be used to identify the image. For example, the first dimensional texture data may be 2D texture data (2D texture data), and the second dimensional texture data may be 3D texture data. By transforming 2-dimensional texture data (2D texture data) into 3-dimensional texture data (3D texture data), the newly added dimension is used to identify the image, so that multiple attributes can be correlated (such as the same size) but the texture data is different. The texture data is unified into the 3D texture data corresponding to the set of pictures, so that it meets the batch processing requirements, so that the batch processing technology can be used for drawing, thereby improving the drawing efficiency. Of course, the first dimension texture data and the second dimension texture data are not limited to the above 2D texture data and 3D texture data, and may also be texture data of other dimensions, as long as the first dimension texture data is transformed into the second dimension texture data. , can meet the batch processing requirements, use batch processing technology to improve the drawing efficiency, are within the protection scope of this application.
下面结合附图对本申请实施例进行详细描述。在不特别声明的情况下,以下实施例中的2D纹理数据可替换为上述第一维度纹理数据,3D纹理数据可替换为上述第二纹理数据。The embodiments of the present application are described in detail below with reference to the accompanying drawings. The 2D texture data in the following embodiments may be replaced with the above-described first dimensional texture data, and the 3D texture data may be replaced with the above second texture data, unless otherwise stated.
图1示例性地示出了本申请实施例所适用的系统架构。如图所示,该架构中可包括:电视设备101、服务器103。电视设备101和服务器103可通过网络104进行信息交互。FIG. 1 exemplarily shows a system architecture to which the embodiment of the present application is applied. As shown in the figure, the architecture may include: a television device 101 and a server 103. Television device 101 and server 103 can communicate information over network 104.
电视设备101可以是具有数字信号处理功能的智能电视,且支持3D纹理处理能力,比如支持OpenGL ES 3.0版本或更高版本的OpenGL技术。用户可通过遥控器对电视设备101进行控制操作,用户也直接通过电视设备101提供的功能键对电视设备进行控制操作。服务器103中存储有资源列表(比如电子节目指南),可向电视设备101提供资源列表,以使电视设备101根据资源列表绘制界面,以供用户根据该界面选择需要收看的节目。The television device 101 can be a smart TV with digital signal processing capabilities and supports 3D texture processing capabilities, such as OpenGL technology that supports OpenGL ES version 3.0 or higher. The user can control the television device 101 through the remote controller, and the user also directly controls the television device through the function keys provided by the television device 101. The server 103 stores a resource list (such as an electronic program guide), and the TV device 101 can be provided with a resource list to cause the television device 101 to draw an interface according to the resource list for the user to select a program to be viewed according to the interface.
考虑到有些电视设备不具备数字信号编解码功能,需要通过数字视频变换盒(Set Top Box,简称STB,通常称作机顶盒或机上盒,是一种连接电视机与外部信号源的设备)接收数字内容(比如可包括电子节目指南、因特网网页、字幕等等),进行解码后传输给电视设备进行界面绘制和显示,还可将用户的交互信息发送给网络侧,实现交互式业务。图2示例性地示出了本申请实施例所适用的包含数字视频变换盒的系统架构。该架构中,电视设备101’与数字视频变换盒102连接,数字视频变换盒102通过网络104与服务器103连接。数字视频变换盒也可将接收到的视频数字信号转换为模拟信号并传输给电视设备进行播放。Considering that some TV devices do not have digital signal encoding and decoding functions, they need to receive numbers through a Digital Video Converter (STB, commonly referred to as a set-top box or set-top box, which is a device that connects a TV to an external source). The content (for example, may include an electronic program guide, an Internet webpage, a subtitle, etc.), is decoded and transmitted to a television device for interface drawing and display, and may also send user interaction information to the network side to implement an interactive service. FIG. 2 exemplarily shows a system architecture including a digital video conversion box to which the embodiment of the present application is applied. In this architecture, the television device 101' is connected to the digital video conversion box 102, and the digital video conversion box 102 is connected to the server 103 via the network 104. The digital video converter box can also convert the received video digital signal into an analog signal and transmit it to the television device for playback.
需要说明的是,上述图1和图2是以电视设备为例描述的,上述电视设备可被替换为任何其他具有类似功能的电子设备。It should be noted that the above FIG. 1 and FIG. 2 are described by taking a television device as an example, and the above television device can be replaced with any other electronic device having similar functions.
以图1所示的系统架构为例,在一种应用场景中,用户通过遥控器请求获取资源列表,比如电影列表。电视设备101接收到该请求后,通过网络104从服务器103获取电影列表(该电影列表中包括电影图片等内容),并根据获得的电影列表进行界面绘制,所绘制的界面中包括电影图片。电视设备101将绘制得到的包含有电影图片的界面显示在电视设备101的屏幕上,供用户从中选择需要播放的电影。Taking the system architecture shown in FIG. 1 as an example, in an application scenario, a user requests a list of resources, such as a movie list, through a remote controller. After receiving the request, the television device 101 acquires a movie list from the server 103 via the network 104 (the movie list includes content such as a movie picture), and performs interface rendering according to the obtained movie list, and the drawn interface includes a movie picture. The television device 101 displays the drawn interface containing the movie picture on the screen of the television device 101 for the user to select the movie to be played.
目前,电视设备所显示的资源列表界面中,各资源对应的图片在排列方式上比较有 规律,比如尺寸基本相同、排列上较为整齐、分类较为清晰。图3A至图3G分别示例性地示出了几种目前智能电视采用的界面形式。以图3A所示的界面为例,界面中包括9个对象显示区域(对象显示区域1至对象显示区域9),对象显示区域1和对象显示区域2中的显示对象尺寸相同,对象显示区域4至对象显示区域9中分别显示有图片(图片1至图片7),且图片的尺寸相同。图片1至图片7与对象显示区域之间的对应关系可预先设置。At present, in the resource list interface displayed by the television device, the pictures corresponding to the resources are arranged in a regular manner, for example, the sizes are basically the same, the arrangement is relatively neat, and the classification is relatively clear. 3A to 3G exemplarily show several interface forms adopted by current smart televisions. Taking the interface shown in FIG. 3A as an example, the interface includes nine object display areas (object display area 1 to object display area 9), and the object display area 1 and the object display area 2 have the same display object size, and the object display area 4 Pictures (picture 1 to picture 7) are respectively displayed in the object display area 9, and the pictures are the same size. The correspondence between the pictures 1 to 7 and the object display area can be set in advance.
这几种界面形式基本涵盖了当前智能电视界面的显示风格。本申请实施例可适用于上述各种形式界面的绘制过程。These kinds of interface forms basically cover the display style of the current smart TV interface. The embodiments of the present application are applicable to the drawing process of the above various forms of interfaces.
图4示例性地示出了电视设备中与本申请实施例相关的结构示意图。如前所述,该电视设备也可被替换为其他具有类似功能的电子设备。以下仅以电视设备为例进行描述。FIG. 4 exemplarily shows a schematic structural diagram of a television device related to an embodiment of the present application. As mentioned previously, the television device can also be replaced with other electronic devices having similar functions. The following is only a description of a television device.
图4所示的电视设备中包括至少2个处理器,具体如图中所示的第一处理器401和第二处理器402。进一步地,该电视设备还可包括显示装置。The television device shown in FIG. 4 includes at least two processors, specifically a first processor 401 and a second processor 402 as shown in the figure. Further, the television device may further include a display device.
第一处理器401主要用于进行逻辑控制,可向第二处理器402发送用于界面绘制的数据,并可控制第二处理器进行界面绘制。第二处理器可进行界面绘制。绘制的界面可输出到显示装置进行显示。The first processor 401 is mainly used for logic control, and can send data for interface rendering to the second processor 402, and can control the second processor to perform interface rendering. The second processor can perform interface drawing. The drawn interface can be output to the display device for display.
具体地,第一处理器401用于获取服务器发送的用于界面展示的图片,将用于界面展示的图片属性相关的图片的2D纹理数据变换为对应的3D纹理数据,将该3D纹理数据发送给第二处理器402。第二处理器402用于根据待绘制图片,从所述3D纹理数据中获取所述待绘制图片的2D纹理数据,根据获取到的2D纹理数据绘制所述待绘制图片。Specifically, the first processor 401 is configured to acquire a picture for interface display sent by the server, convert 2D texture data of the picture related to the picture attribute for the interface display into corresponding 3D texture data, and send the 3D texture data. The second processor 402 is provided. The second processor 402 is configured to acquire 2D texture data of the to-be-drawn picture from the 3D texture data according to the picture to be drawn, and draw the picture to be drawn according to the acquired 2D texture data.
其中,所述属性相关的图片可以是尺寸大小相同的一组图片,当然也可以是其他属性相同或相关的一组图片。所述3D纹理数据中的一个维度可以用于标识图片。The image related to the attribute may be a group of pictures of the same size, and may also be a group of pictures with the same or related attributes. One dimension in the 3D texture data can be used to identify a picture.
其中,第一处理器可以是CPU,第二处理器可以是GPU。以第一处理器为CPU、第二处理器为GPU为例,CPU中运行OpenGL主程序以控制界面绘制过程,GPU中运行着色器程序以实现界面绘制过程。The first processor may be a CPU, and the second processor may be a GPU. Taking the first processor as the CPU and the second processor as the GPU, the CPU runs the OpenGL main program to control the interface drawing process, and the GPU runs the shader program to implement the interface drawing process.
基于图4所示的原理,图5示例性地示出了一种电子设备(比如电视设备)的结构。该电子设备中可包括至少2个处理器。此例子中以2个处理器(5021,5022)为例描述,其中第一处理器5021可以是CPU,第二处理器5022可以是GPU。系统控制逻辑501耦合于至少一个处理器(5021,5022),非易失性存储器(non-volatile memory,NMV)/存储器504耦合于系统控制逻辑501,网络模块或网络接口506耦合于系统控制逻辑501。Based on the principle shown in FIG. 4, FIG. 5 exemplarily shows the structure of an electronic device such as a television device. At least 2 processors may be included in the electronic device. In this example, two processors (5021, 5022) are taken as an example, wherein the first processor 5021 may be a CPU, and the second processor 5022 may be a GPU. System control logic 501 is coupled to at least one processor (5021, 5022), non-volatile memory (NMV)/memory 504 is coupled to system control logic 501, and network module or network interface 506 is coupled to system control logic 501.
一个实施例中的系统控制逻辑501,可包括任何适当的接口控制器,以提供到第一 处理器5021或第二处理器5022中的至少一个的任何合适的接口,和/或提供到与系统控制逻辑501通信的任何合适的设备或组件的任何合适的接口。 System control logic 501 in one embodiment may include any suitable interface controller to provide any suitable interface to at least one of first processor 5021 or second processor 5022, and/or to the system Any suitable interface of any suitable device or component that controls logic 501 to communicate.
一个实施例中的系统控制逻辑501,可包括一个或多个内存控制器,以提供到系统内存503的接口。系统内存503用来加载以及存储数据和/或指令。例如,对应该电子设备,在一个实施例中,系统内存503可包括任何合适的易失性存储器。 System control logic 501 in one embodiment may include one or more memory controllers to provide an interface to system memory 503. System memory 503 is used to load and store data and/or instructions. For example, in response to an electronic device, in one embodiment, system memory 503 can include any suitable volatile memory.
NVM/存储器504可包括一个或多个有形的非暂时的计算机可读介质,用于存储数据和/或指令。例如,NVM/存储器504可包括任何合适的非易失性存储装置,如一个或多个硬盘(hard disk device,HDD),一个或多个光盘(compact disk,CD),和/或一个或多个数字通用盘(digital versatile disk,DVD)。NVM/memory 504 can include one or more tangible, non-transitory computer readable media for storing data and/or instructions. For example, NVM/memory 504 can include any suitable non-volatile storage device, such as one or more hard disk devices (HDDs), one or more compact disks (CDs), and/or one or more Digital versatile disk (DVD).
NVM/存储器504可包括存储资源,该存储资源物理上是该系统所安装的或者可以被访问的设备的一部分,但不一定是设备的一部分。例如,NVM/存储器504可经由网络模块或网络接口506被网络访问。The NVM/memory 504 can include a storage resource that is physically part of the device that the system is installed on or can be accessed, but is not necessarily part of the device. For example, NVM/memory 504 can be accessed by the network via a network module or network interface 506.
系统内存503以及NVM/存储器504可分别包括临时的或持久的指令510的副本。指令510可包括当由第一处理器5021或第二处理器5022中的至少一个执行时导致该电子设备实现本申请实施例描述的方法之一或组合的指令。各实施例中,指令510或硬件、固件,和/或软件组件可另外地/可替换地被置于系统控制逻辑501,网络模块或网络接口506和/或处理器(5021,5022)。System memory 503 and NVM/memory 504 can each include a copy of temporary or persistent instructions 510. The instructions 510 can include instructions that, when executed by at least one of the first processor 5021 or the second processor 5022, cause the electronic device to implement one or a combination of the methods described in the embodiments of the present application. In various embodiments, instructions 510 or hardware, firmware, and/or software components may additionally/alternatively be placed in system control logic 501, network module or network interface 506 and/or processor (5021, 5022).
网络模块或网络接口506可包括一个接收器来为该电子设备提供无线接口来与一个或多个网络和/或任何合适的设备进行通信。网络模块或网络接口506可包括任何合适的硬件和/或固件。网络模块或网络接口506可包括多个天线来提供多输入多输出无线接口。在一个实施例中,网络模块或网络接口506可包括一个网络适配器、一个无线网络适配器、一个电话调制解调器,和/或无线调制解调器。The network module or network interface 506 can include a receiver to provide a wireless interface for the electronic device to communicate with one or more networks and/or any suitable device. Network module or network interface 506 can include any suitable hardware and/or firmware. The network module or network interface 506 can include multiple antennas to provide a multiple input multiple output wireless interface. In one embodiment, the network module or network interface 506 can include a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
在一个实施例中,处理器(5021,5022)中的至少一个可以与用于系统控制逻辑的一个或多个控制器的逻辑一起封装。在一个实施例中,处理器中的至少一个可以与用于系统控制逻辑的一个或多个控制器的逻辑一起封装以形成系统级封装。在一个实施例中,处理器中的至少一个可以与用于系统控制逻辑的一个或多个控制器的逻辑集成在相同的管芯上。在一个实施例中,处理器中的至少一个可以与用于系统控制逻辑的一个或多个控制器的逻辑集成在相同的管芯上以形成系统芯片。In one embodiment, at least one of the processors (5021, 5022) may be packaged with logic for one or more controllers of the system control logic. In one embodiment, at least one of the processors may be packaged with logic for one or more controllers of system control logic to form a system level package. In one embodiment, at least one of the processors can be integrated on the same die as the logic of one or more controllers for system control logic. In one embodiment, at least one of the processors can be integrated on the same die as the logic of one or more controllers for system control logic to form a system chip.
该电子设备可进一步包括输入/输出装置505。输入/输出装置505可包括用户接口旨在使用户与该电子设备进行交互,可包括外围组件接口,其被设计为使得外围组件能够 与系统交互,和/或,可包括传感器,旨在确定环境条件和/或有关电子设备的位置信息。The electronic device can further include an input/output device 505. Input/output device 505 can include a user interface intended to enable a user to interact with the electronic device, can include a peripheral component interface designed to enable peripheral components to interact with the system, and/or can include sensors for determining an environment Conditions and/or location information about the electronic device.
基于图4或图5所示的结构,图6示例性地示出了一种处理装置的结构。该处理装置可以是应用于第一处理器的应用程序。如图所示,该处理装置可包括:获取单元601、数据处理单元602、发送单元603。Based on the structure shown in FIG. 4 or FIG. 5, FIG. 6 exemplarily shows the structure of a processing apparatus. The processing device can be an application applied to the first processor. As shown, the processing device may include an obtaining unit 601, a data processing unit 602, and a transmitting unit 603.
获取单元601用于获取用于界面展示的图片,数据处理单元602用于将用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据。发送单元603用于发送所述3D纹理数据,具体地,可将所述3D纹理数据发送给第二处理器。The obtaining unit 601 is configured to acquire a picture for interface display, and the data processing unit 602 is configured to transform the 2D texture data of the attribute-related picture in the picture for the interface display into the corresponding 3D texture data. The sending unit 603 is configured to send the 3D texture data, and specifically, the 3D texture data may be sent to the second processor.
基于图4或图5所示的结构,图7示例性地示出了另一种处理装置的结构。该处理装置可以是应用与第二处理器的应用程序。如图所示,该处理装置可包括:接收单元701、数据处理单元702、绘制单元703。Based on the structure shown in Fig. 4 or Fig. 5, Fig. 7 exemplarily shows the structure of another processing apparatus. The processing device can be an application that is applied to the second processor. As shown, the processing device may include a receiving unit 701, a data processing unit 702, and a rendering unit 703.
接收单元701用于接收属性相关的图片的3D纹理数据,该3D纹理数据由所述属性相关的图片的2D纹理数据变换得到,其中,该3D纹理数据中的一个维度可用于标识图片。数据处理单元702用于根据待绘制图片,获取该3D纹理数据中所述待绘制图片的2D纹理数据。绘制单元703用于根据获取到的2D纹理数据绘制所述待绘制图片。The receiving unit 701 is configured to receive 3D texture data of an attribute-related picture, where the 3D texture data is transformed by 2D texture data of the attribute-related picture, wherein one dimension of the 3D texture data can be used to identify a picture. The data processing unit 702 is configured to acquire 2D texture data of the to-be-drawn picture in the 3D texture data according to the picture to be drawn. The drawing unit 703 is configured to draw the picture to be drawn according to the acquired 2D texture data.
图8示例性地示出了本申请实施例提供的界面绘制流程。如图所示,当电视设备启动后,可从网络侧的服务器获取用于界面展示的图片,并进行界面绘制,将绘制的界面进行展示。电视设备启动后所展示的界面一般称为桌面,其中可包括多个对象显示区域,一个对象显示区域可显示一个图片,每个对象显示区域被触发后,可执行对应的功能。比如,以图3A所示的界面为例,当对象显示区域中的对象(本例子中为图片)被触发后(比如用户通过遥控器选择该显示区域中的图片),播放该对象所对应的电影。FIG. 8 exemplarily shows an interface drawing process provided by an embodiment of the present application. As shown in the figure, after the television device is started, a picture for the interface display can be obtained from the server on the network side, and the interface is drawn, and the drawn interface is displayed. The interface displayed after the TV device is started is generally referred to as a desktop, and may include a plurality of object display areas, and an object display area may display a picture, and each object display area may be triggered to perform a corresponding function. For example, taking the interface shown in FIG. 3A as an example, when an object in the object display area (a picture in this example) is triggered (for example, the user selects a picture in the display area through a remote controller), playing the object corresponding to the object the film.
如图8所示,上述界面绘制过程可包括:As shown in FIG. 8, the above interface drawing process may include:
S801:第一处理器获取用于界面展示的图片。S801: The first processor acquires a picture for displaying the interface.
在电视设备启动的场景下,在基于图1所示架构的一些实施例中,第一处理器中运行的OpenGL主程序通过电视设备的网络模块与网络侧的服务器建立连接,并请求服务器发送用于界面展示的图片。在基于图2所示架构的一些实施例中,数字视频变换盒与网络侧服务器建立连接,将网络侧服务器发送的用于界面展示的图片发送给电视设备中的第一处理器。In a scenario in which the television device is booted, in some embodiments based on the architecture shown in FIG. 1, the OpenGL main program running in the first processor establishes a connection with the server on the network side through the network module of the television device, and requests the server to transmit The image displayed on the interface. In some embodiments based on the architecture shown in FIG. 2, the digital video transform box establishes a connection with the network side server, and sends the picture sent by the network side server for the interface display to the first processor in the television device.
通常情况下,电视设备所展示的界面可包含多页(用户可通过界面中的“上一页”“下一页”等翻页功能键进行翻页)。电视设备所展示的界面也可仅包含一页但其长度超过屏幕显示区域的高度,可通过滚动方式(比如用户可通过遥控器的“上/下”或“左 /右”移动键对界面内容进行前后滚动)进行显示。由于界面中可包含大量图片,网络侧服务器发送图片的过程会占用较多的网络资源开销,影响图片传输效率,另外,电视设备绘制界面的过程也会占用大量系统开销,耗时较长,影响用户感受。因此本申请实施例中,服务器可首先将用于界面展示的部分图片发送给电视设备,之后在用户请求其他界面或请求界面的其它部分时,再根据用户的请求将相应图片发送给电视设备。其中,服务器可首先将电视设备启动后默认显示的界面中的图片或该界面中显示顺序在前的N个(N为大于等于1的整数)图片发送给电视设备。其中,N的取值可预先设置,一般可根据电视设备的处理能力(比如绘制能力)进行设置。Usually, the interface displayed by the television device can include multiple pages (the user can page through the page turning function keys such as "previous page" and "next page" in the interface). The interface displayed by the TV device can also contain only one page but its length exceeds the height of the screen display area. It can be scrolled (for example, the user can move the key content through the “Up/Down” or “Left/Right” keys of the remote control. Scroll forward and backward to display. Since the interface can include a large number of pictures, the process of sending pictures by the network side server occupies more network resource overhead and affects the picture transmission efficiency. In addition, the process of drawing the interface by the television device also occupies a large amount of system overhead, which takes a long time and affects. User experience. Therefore, in the embodiment of the present application, the server may first send a part of the picture for the interface display to the television device, and then send the corresponding picture to the television device according to the request of the user when the user requests other interfaces or requests other parts of the interface. The server may first send a picture in the interface displayed by default after the television device is started or a N (N is an integer greater than or equal to 1) picture in the interface in the interface to the television device. The value of N can be preset, and can generally be set according to the processing capability of the television device (such as drawing capability).
第一处理器接收到服务器发送的用于界面展示的图片后,可将该图片和/或该图片的索引存储在第一处理器的内存中。其中,图片的索引用于唯一标识一个图片。After receiving the picture sent by the server for interface display, the first processor may store the picture and/or the index of the picture in the memory of the first processor. The index of the image is used to uniquely identify a picture.
上述S801具体可由第一处理器执行,或者由应用于第一处理器的处理装置(如应用程序)执行。更具体地,可由图6中的获取单元601执行。The above S801 may be specifically performed by the first processor or by a processing device (such as an application) applied to the first processor. More specifically, it can be performed by the acquisition unit 601 in FIG.
S802:第一处理器将用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据。S802: The first processor transforms the 2D texture data of the attribute-related picture in the picture for the interface display into the corresponding 3D texture data.
如前所述,所述属性相关的图片可以是一组尺寸大小相同的图片。可选地,第一处理器获取服务器发送的用于界面展示的图片后,可按照图片尺寸对获取到的图片进行分组,同一组中的图片的尺寸相同。第一处理器分别针对每个图片组,将该组图片的2D纹理数据变换为该组图片对应的3D纹理数据,并将每组图片对应的3D纹理数据发送给第二处理器。As mentioned before, the attribute related picture can be a set of pictures of the same size and size. Optionally, after the first processor obtains the image sent by the server for the interface display, the acquired image may be grouped according to the size of the image, and the size of the image in the same group is the same. The first processor converts the 2D texture data of the set of pictures into 3D texture data corresponding to the set of pictures for each picture group, and sends the 3D texture data corresponding to each set of pictures to the second processor.
可选地,为了避免一个图片组中的图片数量过多导致处理效率下降,可预先设置一个图片组中的最大图片数量,每个图片组的图片数量均不超过该最大图片数量。如果相同尺寸的图片的数量超过该最大图片数量,则将其分为多个图片组。Optionally, in order to prevent the processing efficiency from decreasing due to the excessive number of pictures in one picture group, the maximum number of pictures in one picture group may be preset, and the number of pictures in each picture group does not exceed the maximum picture number. If the number of pictures of the same size exceeds the maximum number of pictures, it is divided into multiple picture groups.
2D纹理数据实际上是二维数组,它的元素是一些颜色值。第一处理器可根据接收到的图片中各像素的颜色值生成该图片的2D纹理数据。S802中,转换得到的3D纹理数据中包括第一维度数据、第二维度数据和第三维度数据。其中,第三维度是在2D纹理数据的基础上新增加的一个维度,第三维度数据用于标识图片。例如,第三维度数据可以是图片的索引。转换得到的3D纹理数据中,与一个第三维度数据对应的第一维度数据和第二维度数据是该第三维度数据所标识的图片的2D纹理数据中的第一维度数据和第二维度数据。2D texture data is actually a two-dimensional array whose elements are some color values. The first processor may generate 2D texture data of the picture according to the color value of each pixel in the received picture. In S802, the converted 3D texture data includes first dimension data, second dimension data, and third dimension data. The third dimension is a newly added dimension based on the 2D texture data, and the third dimension data is used to identify the image. For example, the third dimension data can be an index of the picture. In the converted 3D texture data, the first dimension data and the second dimension data corresponding to one third dimension data are the first dimension data and the second dimension data in the 2D texture data of the image identified by the third dimension data. .
举例来说,图9示例性地示出了本申请实施例中从2D纹理数据转换得到3D纹理数 据的原理示意图。如图所示,图片1至图片8尺寸相同,每个图片的2D纹理数据包括s维度和t维度,s维度和t维度分别为图片在水平方向和垂直方向上的颜色值。根据图片1至图片8的2D纹理数据转换得到的3D纹理数据中增加了r维度,r维度的数据用于标识图片1至图片8,具体可以是图片的索引。For example, FIG. 9 exemplarily shows a schematic diagram of the principle of converting 3D texture data from 2D texture data in the embodiment of the present application. As shown in the figure, the pictures 1 to 8 are the same size, and the 2D texture data of each picture includes the s dimension and the t dimension, and the s dimension and the t dimension are the color values of the picture in the horizontal direction and the vertical direction, respectively. The r dimension is added to the 3D texture data converted from the 2D texture data of the picture 1 to the picture 8. The data of the r dimension is used to identify the picture 1 to the picture 8, and specifically may be an index of the picture.
通过将尺寸相同的一组图片的2D纹理数据转换为该组图片对应的3D纹理数据,使得该组图片对应于相同的3D纹理数据,这样,针对该组图片的绘制,则可以采用批处理技术实现。By converting the 2D texture data of the same set of pictures into the 3D texture data corresponding to the set of pictures, the set of pictures corresponds to the same 3D texture data, so that for the drawing of the set of pictures, batch processing technology can be adopted. achieve.
进一步地,第一处理器的内存中预先存储有界面布局相关信息,界面布局相关信息定义了界面的属性(比如大小、长宽比例)以及界面中各对象显示区域的位置,还可以定义界面中各对象显示区域内需要显示的对象。比如,以图3A所示的界面为例,该界面的界面布局相关信息定义了该界面中各对象显示区域(对象显示区域1至对象显示区域9)在该界面中的位置,以及各对象显示区域所显示的图片的索引。第一处理器可根据该界面布局相关信息获得界面中各对象显示区域的顶点数据(图3A中的对象显示区域为矩形,包括4个顶点)。Further, the interface layout related information is pre-stored in the memory of the first processor, and the interface layout related information defines the attributes of the interface (such as size, length and width ratio) and the position of each object display area in the interface, and may also define an interface. Each object displays an object that needs to be displayed in the area. For example, taking the interface shown in FIG. 3A as an example, the interface layout related information of the interface defines the position of each object display area (object display area 1 to object display area 9) in the interface, and the display of each object. The index of the image displayed by the area. The first processor may obtain vertex data of each object display area in the interface according to the interface layout related information (the object display area in FIG. 3A is a rectangle, including 4 vertices).
进一步地,第一处理器的内存中预先存储有界面中各对象显示区域的纹理坐标数据。纹理坐标简单地说就是纹理数据到目标图元表面映射。Further, texture coordinate data of each object display area in the interface is stored in advance in the memory of the first processor. The texture coordinates are simply the texture data to the target primitive surface map.
上述S801具体可由第一处理器执行,或者由应用于第一处理器的处理装置(如应用程序)执行。更具体地,可由图6中的数据处理单元602执行。The above S801 may be specifically performed by the first processor or by a processing device (such as an application) applied to the first processor. More specifically, it can be performed by data processing unit 602 in FIG.
S803:第一处理器将所述3D纹理数据发送给第二处理器。S803: The first processor sends the 3D texture data to the second processor.
该步骤中,第一处理器可将S802中处理得到的3D纹理数据,以及其他用于界面绘制的数据(比如各对象显示区域的顶点数据、纹理坐标数据、光照数据、场景矩阵等)进行合并,并根据与第二处理器之间的数据传输协议,将合并后的数据传输给第二处理器。其中,光照数据、场景矩阵等数据可预先设置在第一处理器的内存中。In this step, the first processor may combine the 3D texture data processed in S802 and other data used for interface drawing (such as vertex data, texture coordinate data, illumination data, scene matrix, etc. of each object display area). And transmitting the merged data to the second processor according to a data transfer protocol with the second processor. The data such as the illumination data and the scene matrix may be preset in the memory of the first processor.
上述S803具体可由第一处理器执行,或者由应用于第一处理器的处理装置(如应用程序)执行。更具体地,可由图6中的发送单元603执行。The above S803 may be specifically performed by the first processor or by a processing device (such as an application) applied to the first processor. More specifically, it can be performed by the transmitting unit 603 in FIG.
S804:第二处理器从第一处理器接收到3D纹理数据等用于界面绘制的数据后,根据待绘制图片,获取3D纹理数据中待绘制图片的2D纹理数据,并根据获取到的2D纹理数据绘制所述待绘制图片。S804: After receiving the data for interface rendering, such as 3D texture data, the second processor acquires 2D texture data of the image to be drawn in the 3D texture data according to the image to be drawn, and according to the acquired 2D texture. The data is drawn to the picture to be drawn.
可选地,具体实施时,第一处理器在将3D纹理数据等用于界面绘制的数据传输给第二处理器后,可向第二处理器发送绘制指令。通过绘制指令可指示第二处理器待展示 的界面或界面中待绘制的图片。绘制指令中可包括待展示界面中的待绘制图片的指示信息。第二处理器可根据绘制指令中的待绘制图片的指示信息确定该区域中需要绘制的图片。其中,待绘制图片的指示信息可以是待绘制图片的索引。待绘制图片的指示信息也可以是待绘制对象显示区域的索引,此种情况下,对象显示区域与图片的索引之间的对应关系可预先设置,这样,第二处理器可根据该待绘制对象显示区域的索引确定对应的图片的索引,根据该图片的索引查询上述3D纹理数据中的第三维度数据,获得该需要绘制的图片的第一维度数据和第二维度数据,即得到3D纹理数据中所述需要绘制图片的2D纹理数据。进一步地,第二处理器可根据需要显示的图片的2D纹理数据,并结合其他数据(比如待绘制对象显示区域的顶点数据、纹理坐标数据,以及光照数据、场景矩阵等)对该待绘制的对象显示区域中的图片进行绘制。Optionally, in a specific implementation, after transmitting, by the first processor, data for interface rendering, such as 3D texture data, to the second processor, the first processor may send a drawing instruction to the second processor. A picture to be drawn in the interface or interface to be displayed by the second processor may be indicated by a drawing instruction. The drawing instruction may include indication information of the picture to be drawn in the interface to be displayed. The second processor may determine a picture to be drawn in the area according to the indication information of the picture to be drawn in the drawing instruction. The indication information of the picture to be drawn may be an index of the picture to be drawn. The indication information of the image to be drawn may also be an index of the display area of the object to be drawn. In this case, the correspondence between the object display area and the index of the picture may be preset, so that the second processor may be based on the object to be drawn. The index of the display area determines the index of the corresponding picture, and the third dimension data in the 3D texture data is queried according to the index of the picture, and the first dimension data and the second dimension data of the picture to be drawn are obtained, that is, the 3D texture data is obtained. The 2D texture data of the picture needs to be drawn. Further, the second processor may be configured according to the 2D texture data of the image to be displayed, and combined with other data (such as vertex data of the object display area to be drawn, texture coordinate data, and illumination data, scene matrix, etc.) The image in the object display area is drawn.
以图3A所示的界面为例,由于图片2至图片7的尺寸相同,因此可根据图片2至图片7的2D纹理数据转换为该组图片对应的3D纹理数据,并将其发送给第二处理器,使得第二处理器可在一次绘制过程中基于该3D纹理数据在相应对象显示区域绘制图片2至图片7,即实现批处理。Taking the interface shown in FIG. 3A as an example, since the sizes of the pictures 2 to 7 are the same, the 2D texture data corresponding to the pictures 2 to 7 can be converted into the 3D texture data corresponding to the set of pictures, and sent to the second. The processor is configured to enable the second processor to draw the picture 2 to the picture 7 in the corresponding object display area based on the 3D texture data in one drawing process, that is, to implement batch processing.
可选地,如果第二处理器从第一处理器接收到多个图片组所对应的多个3D纹理数据,则可在对待绘制图片进行绘制时,确定待绘制图片所在的图片组,从待绘制图片所在的图片组所对应的3D纹理数据中获取该待绘制图片的2D纹理数据,从而实现图片绘制。Optionally, if the second processor receives the plurality of 3D texture data corresponding to the plurality of picture groups from the first processor, the picture group in which the picture to be drawn is located may be determined when the picture to be drawn is drawn. The 2D texture data of the picture to be drawn is obtained in the 3D texture data corresponding to the picture group in which the picture is located, thereby realizing picture drawing.
上述S804具体可由第二处理器执行,或者由应用于第一处理器的处理装置(如应用程序)执行。更具体地,可分别由图7中的接收单元701、数据处理单元702和绘制单元703执行。The above S804 may be specifically performed by the second processor or by a processing device (such as an application) applied to the first processor. More specifically, it can be performed by the receiving unit 701, the data processing unit 702, and the drawing unit 703 in FIG. 7, respectively.
通过上述流程,当电视设备启动后,可从服务器获取用于界面绘制的图片进行界面绘制,并将绘制得到的界面显示在电视设备的屏幕上。后续,如果用户发出了上下翻页的请求或前后滚动界面的请求,或者请求另外的界面,此时,电视设备可响应用户的上述请求,更新当前显示的内容。Through the above process, after the television device is started, a picture for interface drawing can be obtained from the server for interface drawing, and the drawn interface is displayed on the screen of the television device. Subsequently, if the user issues a request for page up or down or a request to scroll the interface, or requests another interface, the television device may update the currently displayed content in response to the user's request.
例如,以用户发出向下翻页的请求为例,第一处理器接收到向下翻页的请求后,可确定目标页面中包含的图片,针对目标页面中包含的图片,判断是否已经将相应图片的3D纹理数据发送给第二处理器;如果已经发送,则向第二处理器发送绘制指令,用于指示第二处理器绘制这些图片,否则,向服务器发送图片获取请求,以请求获取这些图片,并按照前述实施例的方式,将获取到的相同尺寸的图片的2D纹理数据转换为3D纹理数 据,并发送给第二处理器,并向第二处理器发送绘制指令,以指示第二处理器绘制目标页面。For example, in the case that the user issues a page-down request, the first processor may determine the image included in the target page after receiving the request for page-down, and determine whether the image is included in the target page. The 3D texture data of the picture is sent to the second processor; if it has been sent, sending a drawing instruction to the second processor for instructing the second processor to draw the pictures; otherwise, sending a picture acquisition request to the server to request to obtain the a picture, and converting the acquired 2D texture data of the same size picture into 3D texture data, and transmitting the same to the second processor, and sending a drawing instruction to the second processor to indicate the second The processor draws the target page.
再例如,在以请求新的界面为例,当前界面为电影列表界面,第一处理器接收到请求切换到电视剧列表界面的请求后,可针对所请求的界面确定用于该界面展示的图片是否已经从服务器获取得到。若判定为否,则向服务器发送图片获取请求,以请求获取所请求的界面中的图片;否则,向第二处理器发送绘制指令,该绘制指令用于指示第二处理器绘制所请求的界面。For example, in the case of requesting a new interface, the current interface is a movie list interface. After receiving the request for switching to the TV drama list interface, the first processor may determine, for the requested interface, whether the image for the interface display is It has been obtained from the server. If the determination is no, sending a picture acquisition request to the server to request to acquire a picture in the requested interface; otherwise, sending a drawing instruction to the second processor, the drawing instruction is used to instruct the second processor to draw the requested interface .
在有些情况下,网络侧的服务器对用于界面绘制的图片进行了更新,比如更新了电影列表界面中第一个电影图片,此种情况下,服务器将更新的图片发送给电视设备。电视设备中的第一处理器接收服务器发送的更新的图片,根据更新的图片的2D纹理数据更新该图片所在的图片组对应的3D纹理数据,将更新后的3D纹理数据发送给第二处理器。第一处理器可进一步向第二处理器发送绘制指令,该绘制指令中包括界面中待更新的图片的指示信息,以指示第二处理器更新相应图片。第二处理器可根据该绘制指令中的更新的图片的指示信息,从更新后的3D纹理数据中获取该图片的2D纹理数据,并根据该2D纹理数据对该图片进行绘制。In some cases, the server on the network side updates the picture used for interface drawing, such as updating the first movie picture in the movie list interface. In this case, the server sends the updated picture to the television device. The first processor in the television device receives the updated picture sent by the server, updates the 3D texture data corresponding to the picture group in which the picture is located according to the 2D texture data of the updated picture, and sends the updated 3D texture data to the second processor. . The first processor may further send a drawing instruction to the second processor, where the drawing instruction includes indication information of the picture to be updated in the interface, to instruct the second processor to update the corresponding picture. The second processor may obtain 2D texture data of the image from the updated 3D texture data according to the indication information of the updated picture in the drawing instruction, and draw the picture according to the 2D texture data.
基于相同的技术构思,本申请实施例还提供了一个或多个计算机可读介质,所述可读介质上存储有指令,所述指令被一个或多个处理器执行时,使得电子设备执行前述实施例中的绘制方法。比如,使得电子设备可执行前述实施例中第一处理器所执行的方法,或者执行第二处理器所执行的方法,或者执行第一处理器和第二处理器所执行的方法。Based on the same technical concept, the embodiment of the present application further provides one or more computer readable media having instructions stored thereon, when the instructions are executed by one or more processors, such that the electronic device performs the foregoing The drawing method in the embodiment. For example, the electronic device may be caused to execute the method performed by the first processor in the foregoing embodiment, or to perform the method performed by the second processor, or to execute the method performed by the first processor and the second processor.
通过以上描述可以看出,本申请的上述实施例中,一方面,第一处理器将用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据,从而满足了批处理方案的要求,因此可采用批处理方案,一次将与多个图片对应的3D纹理数据发送给第二处理器进行图片绘制。另一方面,第二处理器可根据待展示界面中的待绘制图片,获取所述3D纹理数据中所述待展示界面中的待绘制图片的2D纹理数据,根据获取到的2D纹理数据绘制所述待展示界面中的图片,实现了图片的批处理绘制,进而提高了绘制效率。As can be seen from the above description, in the above embodiment of the present application, on the one hand, the first processor transforms the 2D texture data of the attribute-related picture in the picture for the interface display into the corresponding 3D texture data, thereby satisfying the batch. The requirements of the processing scheme are adopted, so that the batch processing scheme can be adopted, and the 3D texture data corresponding to the multiple pictures is sent to the second processor for picture drawing at a time. On the other hand, the second processor may acquire 2D texture data of the to-be-drawn picture in the to-be-displayed interface in the 3D texture data according to the to-be-drawn picture in the interface to be displayed, and draw the 2D texture data according to the acquired 2D texture data. The picture in the display interface is described, and the batch drawing of the picture is realized, thereby improving the drawing efficiency.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置 所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various changes and modifications may be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (59)

  1. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    第一处理器,获取用于界面展示的图片,将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据,将所述3D纹理数据发送给第二处理器;The first processor obtains a picture for the interface display, converts the 2D texture data of the attribute-related picture in the picture for the interface display into corresponding 3D texture data, and sends the 3D texture data to the second process. Device
    第二处理器,根据待绘制图片,从所述3D纹理数据中获取所述待绘制图片的2D纹理数据,根据获取到的2D纹理数据绘制所述待绘制图片。The second processor obtains the 2D texture data of the to-be-drawn picture from the 3D texture data according to the picture to be drawn, and draws the picture to be drawn according to the acquired 2D texture data.
  2. 如权利要求1所述的电子设备,其特征在于,所述3D纹理数据中的一个维度用于标识图片。The electronic device of claim 1 wherein one dimension of said 3D texture data is used to identify a picture.
  3. 如权利要求2所述的电子设备,其特征在于,所述3D纹理数据中用于标识图片的维度为第三维度,第三维度数据为图片的索引,所述3D纹理数据中与一个第三维度数据对应的第一维度数据和第二维度数据是该第三维度数据所标识的图片的2D纹理数据中的第一维度数据和第二维度数据。The electronic device according to claim 2, wherein the dimension for identifying the picture in the 3D texture data is a third dimension, the third dimension data is an index of the picture, and the third dimension data is a third The first dimension data and the second dimension data corresponding to the dimension data are first dimension data and second dimension data in the 2D texture data of the image identified by the third dimension data.
  4. 如权利要求3所述的电子设备,其特征在于,所述第二处理器根据所述待绘制图片的索引查询所述3D纹理数据中的第三维度数据,获得与所述待绘制图片的索引对应的第一维度数据和第二维度数据,得到所述3D纹理数据中所述待绘制图片的2D纹理数据。The electronic device according to claim 3, wherein the second processor queries the third dimension data in the 3D texture data according to the index of the picture to be drawn, and obtains an index with the picture to be drawn Corresponding first dimension data and second dimension data, obtaining 2D texture data of the to-be-drawn picture in the 3D texture data.
  5. 如权利要求1所述的电子设备,其特征在于,所述属性相关的图片为一组尺寸大小相同的图片;The electronic device according to claim 1, wherein the attribute-related picture is a set of pictures of the same size and size;
    所述第一处理器获取用于界面展示的图片后,进一步按照图片尺寸对获取到的图片进行分组,同一组中的图片的尺寸相同;After acquiring the picture for the interface display, the first processor further groups the acquired pictures according to the picture size, and the pictures in the same group have the same size;
    所述第一处理器针对至少一组图片,将所述至少一组图片的2D纹理数据变换为所述至少一组图片对应的3D纹理数据,并将所述至少一组图片对应的3D纹理数据发送给第二处理器。Converting, by the first processor, 2D texture data of the at least one set of pictures to 3D texture data corresponding to the at least one set of pictures, and mapping the 3D texture data corresponding to the at least one set of pictures to the at least one set of pictures Send to the second processor.
  6. 如权利要求5所述的电子设备,其特征在于,所述第二处理器确定所述待绘制图片所在的图片组;从所述待绘制图片所在的图片组所对应的3D纹理数据中获取所述待绘制图片的2D纹理数据。The electronic device according to claim 5, wherein the second processor determines a group of pictures in which the picture to be drawn is located; and obtains from the 3D texture data corresponding to the picture group in which the picture to be drawn is located The 2D texture data of the drawn picture is described.
  7. 如权利要求1所述的电子设备,其特征在于,The electronic device of claim 1 wherein:
    所述第一处理器向第二处理器发送第一绘制指令,所述第一绘制指令中包括待展示界面中的待绘制图片的指示信息;The first processor sends a first drawing instruction to the second processor, where the first drawing instruction includes indication information of a picture to be drawn in the interface to be displayed;
    所述第二处理器根据所述第一绘制指令中的待绘制图片的指示信息,确定所述待绘 制图片。The second processor determines the to-be-drawn picture according to the indication information of the picture to be drawn in the first drawing instruction.
  8. 如权利要求7所述的电子设备,其特征在于,所述待绘制图片的指示信息包括:待绘制图片的索引,或者待绘制对象显示区域的索引;The electronic device according to claim 7, wherein the indication information of the picture to be drawn comprises: an index of the picture to be drawn, or an index of the display area of the object to be drawn;
    所述待绘制图片的指示信息为待绘制对象显示区域的索引时,所述第二处理器根据所述对象显示区域的索引,查询对象显示区域与图片的对应关系,得到与所述待绘制对象显示区域的索引对应的待绘制图片。When the indication information of the to-be-drawn picture is an index of the display area of the object to be drawn, the second processor queries the correspondence between the object display area and the image according to the index of the object display area, and obtains the object to be drawn The image to be drawn corresponding to the index of the display area.
  9. 如权利要求1所述的电子设备,其特征在于,第一处理器进一步接收更新的图片,根据所述更新的图片的2D纹理数据更新对应的3D纹理数据,将更新后的3D纹理数据发送给第二处理器。The electronic device according to claim 1, wherein the first processor further receives the updated picture, updates the corresponding 3D texture data according to the 2D texture data of the updated picture, and sends the updated 3D texture data to Second processor.
  10. 如权利要求9所述的电子设备,其特征在于,所述第一处理器进一步向第二处理器发送第二绘制指令,所述第二绘制指令中包括所述更新的图片的指示信息;The electronic device according to claim 9, wherein the first processor further sends a second drawing instruction to the second processor, where the second drawing instruction includes indication information of the updated picture;
    第二处理器进一步根据所述第二绘制指令中的所述更新的图片的指示信息,从所述更新后的3D纹理数据中获取所述更新的图片的2D纹理数据,根据获取到的2D纹理数据绘制所述更新的图片。The second processor further acquires 2D texture data of the updated picture from the updated 3D texture data according to the indication information of the updated picture in the second drawing instruction, according to the acquired 2D texture. The data is drawn to the updated picture.
  11. 如权利要求1所述的电子设备,其特征在于,所述第一处理器在所述电子设备启动后或在接收到界面请求后,向服务器发送图片获取请求;The electronic device according to claim 1, wherein the first processor sends a picture acquisition request to the server after the electronic device is started or after receiving the interface request;
    接收所述服务器根据所述图片获取请求发送的用于界面展示的图片。Receiving a picture for the interface display sent by the server according to the picture acquisition request.
  12. 如权利要求11所述的电子设备,其特征在于,所述第一处理器在接收到界面请求后,针对所请求的界面确定用于该界面展示的图片是否已经从服务器获取得到;The electronic device according to claim 11, wherein the first processor determines, after receiving the interface request, whether the picture for the interface display has been obtained from the server for the requested interface;
    若判定为否,则向服务器发送所述图片获取请求,所述图片获取请求用于请求获取所请求的界面中的图片;否则,向第二处理器发送第一绘制指令,所述第一绘制指令用于指示第二处理器绘制所请求的界面。If the determination is no, the image acquisition request is sent to the server, where the image acquisition request is used to request to acquire a picture in the requested interface; otherwise, the first drawing instruction is sent to the second processor, where the first drawing The instructions are for instructing the second processor to draw the requested interface.
  13. 如权利要求1至12中任一项所述的电子设备,其特征在于,所述第一处理器为中央处理器,所述第二处理器为图形处理器。The electronic device according to any one of claims 1 to 12, wherein the first processor is a central processor and the second processor is a graphics processor.
  14. 如权利要求1至12中任一项所述的电子设备,其特征在于,所述电子设备为电视设备。The electronic device according to any one of claims 1 to 12, wherein the electronic device is a television device.
  15. 一种处理装置,其特征在于,包括:A processing device, comprising:
    获取单元,获取用于界面展示的图片;Obtain a unit to obtain a picture for the interface display;
    数据处理单元,将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据;a data processing unit, converting the 2D texture data of the attribute-related picture in the picture for the interface display into corresponding 3D texture data;
    发送单元,发送所述3D纹理数据。a sending unit that transmits the 3D texture data.
  16. 如权利要求15所述的装置,其特征在于,所述3D纹理数据中的一个维度用于标识图片。The apparatus of claim 15 wherein one dimension of said 3D texture data is used to identify a picture.
  17. 如权利要求16所述的装置,其特征在于,所述3D纹理数据中用于标识图片的维度为第三维度,第三维度数据为图片的索引,所述3D纹理数据中与一个第三维度数据对应的第一维度数据和第二维度数据是该第三维度数据所标识的图片的2D纹理数据中的第一维度数据和第二维度数据。The device according to claim 16, wherein the dimension for identifying the picture in the 3D texture data is a third dimension, the third dimension data is an index of the picture, and the third dimension is in the 3D texture data. The first dimension data and the second dimension data corresponding to the data are the first dimension data and the second dimension data in the 2D texture data of the image identified by the third dimension data.
  18. 如权利要求15所述的装置,其特征在于,所述属性相关的图片为一组尺寸大小相同的图片;The device according to claim 15, wherein the attribute-related picture is a set of pictures of the same size and size;
    所述数据处理单元获取用于界面展示的图片后,进一步按照图片尺寸对获取到的图片进行分组,同一组中的图片的尺寸相同;以及,针对至少一组图片,将所述至少一组图片的2D纹理数据变换为所述至少一组图片对应的3D纹理数据;After obtaining the picture for the interface display, the data processing unit further groups the acquired pictures according to the picture size, and the pictures in the same group have the same size; and, for at least one set of pictures, the at least one set of pictures Transforming 2D texture data into 3D texture data corresponding to the at least one set of pictures;
    所述发送单元发送所述至少一组图片对应的3D纹理数据。The sending unit sends the 3D texture data corresponding to the at least one set of pictures.
  19. 如权利要求15所述的装置,其特征在于,所述发送单元进一步发送第一绘制指令,所述第一绘制指令中包括待绘制图片的指示信息。The apparatus according to claim 15, wherein the transmitting unit further transmits a first drawing instruction, wherein the first drawing instruction includes indication information of a picture to be drawn.
  20. 如权利要求19所述的装置,其特征在于,所述待绘制图片的指示信息包括:待绘制图片的索引,或者待绘制对象显示区域的索引。The device according to claim 19, wherein the indication information of the picture to be drawn comprises: an index of the picture to be drawn, or an index of the display area of the object to be drawn.
  21. 如权利要求15所述的装置,其特征在于,所述获取单元进一步接收更新的图片;The apparatus according to claim 15, wherein said obtaining unit further receives an updated picture;
    所述数据处理单元进一步根据所述更新的图片的2D纹理数据更新对应的3D纹理数据;The data processing unit further updates corresponding 3D texture data according to the 2D texture data of the updated picture;
    所述发送单元进一步发送更新后的3D纹理数据。The transmitting unit further transmits the updated 3D texture data.
  22. 如权利要求21所述的装置,其特征在于,所述发送单元进一步发送第二绘制指令,所述第二绘制指令中包括所述更新的图片的指示信息。The apparatus according to claim 21, wherein the transmitting unit further transmits a second drawing instruction, wherein the second drawing instruction includes indication information of the updated picture.
  23. 如权利要求15所述的装置,其特征在于,所述获取单元在电子设备启动后或在接收到界面请求后,向服务器发送图片获取请求;以及,接收所述服务器根据所述图片获取请求发送的用于界面展示的图片。The device according to claim 15, wherein the obtaining unit sends a picture acquisition request to the server after the electronic device is started or after receiving the interface request; and receiving the server to send according to the picture acquisition request The image used for the interface display.
  24. 如权利要求23所述的装置,其特征在于,所述获取单元在接收到界面请求后,针对所请求的界面确定用于该界面展示的图片是否已经从服务器获取得到;若判定为否,则向服务器发送所述图片获取请求,所述图片获取请求用于请求获取所请求的界面中的图片;否则,发送第一绘制指令,所述第一绘制指令用于指示绘制所请求的界面。The device according to claim 23, wherein the obtaining unit determines, after receiving the interface request, whether the picture for the interface display has been obtained from the server for the requested interface; if the determination is no, Sending the picture acquisition request to the server, the picture acquisition request is for requesting to acquire a picture in the requested interface; otherwise, sending a first drawing instruction, the first drawing instruction is used to indicate that the requested interface is drawn.
  25. 一种处理装置,其特征在于,包括:A processing device, comprising:
    接收单元,接收属性相关的图片的3D纹理数据,所述3D纹理数据由所述属性相关的图片的2D纹理数据变换得到;a receiving unit, which receives 3D texture data of an attribute-related picture, where the 3D texture data is transformed by 2D texture data of the attribute-related picture;
    数据处理单元,根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据;a data processing unit, configured to acquire 2D texture data of the to-be-drawn picture in the 3D texture data according to a picture to be drawn;
    绘制单元,根据获取到的2D纹理数据绘制所述待绘制图片。The drawing unit draws the to-be-drawn picture according to the acquired 2D texture data.
  26. 如权利要求25所述的装置,其特征在于,所述3D纹理数据中的一个维度用于标识图片。The apparatus of claim 25 wherein one dimension of said 3D texture data is used to identify a picture.
  27. 如权利要求26所述的装置,其特征在于,所述3D纹理数据中用于标识图片的维度为第三维度,第三维度数据为图片的索引,所述3D纹理数据中与一个第三维度数据对应的第一维度数据和第二维度数据是该第三维度数据所标识的图片的2D纹理数据中的第一维度数据和第二维度数据。The device according to claim 26, wherein the dimension for identifying the picture in the 3D texture data is a third dimension, the third dimension data is an index of the picture, and the third dimension is in the 3D texture data The first dimension data and the second dimension data corresponding to the data are the first dimension data and the second dimension data in the 2D texture data of the image identified by the third dimension data.
  28. 如权利要求27所述的装置,其特征在于,所述数据处理单元根据所述待绘制图片的索引查询所述3D纹理数据中的第三维度数据,获得与所述待绘制图片的索引对应的第一维度数据和第二维度数据,得到所述3D纹理数据中所述待绘制图片的2D纹理数据。The device according to claim 27, wherein the data processing unit queries the third dimension data in the 3D texture data according to the index of the picture to be drawn, and obtains an index corresponding to the index of the picture to be drawn. The first dimension data and the second dimension data obtain 2D texture data of the to-be-drawn picture in the 3D texture data.
  29. 如权利要求25所述的装置,其特征在于,所述属性相关的图片为属性相关的一组图片;The device according to claim 25, wherein the attribute-related picture is a set of pictures related to attributes;
    所述数据处理模块确定所述待绘制图片所在的图片组,从所述待绘制图片所在的图片组所对应的3D纹理数据中获取所述待绘制图片的2D纹理数据。The data processing module determines the group of pictures in which the picture to be drawn is located, and acquires 2D texture data of the picture to be drawn from the 3D texture data corresponding to the picture group in which the picture to be drawn is located.
  30. 如权利要求25所述的装置,其特征在于,所述接收单元进一步用于接收第一绘制指令,所述第一绘制指令中包括所述待绘制图片的指示信息;The device according to claim 25, wherein the receiving unit is further configured to receive a first drawing instruction, where the first drawing instruction includes indication information of the picture to be drawn;
    所述数据处理模块根据所述第一绘制指令中的待绘制图片的指示信息,确定所述待绘制图片。The data processing module determines the to-be-drawn picture according to the indication information of the picture to be drawn in the first drawing instruction.
  31. 如权利要求30所述的装置,其特征在于,所述待绘制图片的指示信息包括:待绘制图片的索引,或者待绘制对象显示区域的索引;The device according to claim 30, wherein the indication information of the picture to be drawn comprises: an index of the picture to be drawn, or an index of the display area of the object to be drawn;
    所述待绘制图片的指示信息为待绘制对象显示区域的索引时,所述数据处理模块根据所述对象显示区域的索引,查询对象显示区域与图片的对应关系,得到与所述待绘制对象显示区域的索引对应的待绘制图片。When the indication information of the to-be-drawn picture is an index of the display area of the object to be drawn, the data processing module queries the correspondence between the object display area and the image according to the index of the object display area, and obtains the display with the object to be drawn. The index of the area corresponds to the picture to be drawn.
  32. 如权利要求25所述的装置,其特征在于,所述接收单元进一步接收更新后的3D 纹理数据,所述更新后的3D纹理数据是根据所述属性相关的图片中更新的图片的2D纹理数据变换得到的。The apparatus according to claim 25, wherein said receiving unit further receives updated 3D texture data, said updated 3D texture data being 2D texture data of an updated picture according to said attribute-related picture Transformed.
  33. 如权利要求32所述的装置,其特征在于,所述接收单元进一步接收第二绘制指令,所述第二绘制指令中包括所述更新的图片的指示信息;The apparatus according to claim 32, wherein the receiving unit further receives a second drawing instruction, wherein the second drawing instruction includes indication information of the updated picture;
    所述数据处理单元进一步根据所述第二绘制指令中的所述更新的图片的指示信息,从所述更新后的3D纹理数据中获取所述更新的图片的2D纹理数据,根据获取到的2D纹理数据绘制所述更新的图片。The data processing unit further acquires 2D texture data of the updated picture from the updated 3D texture data according to the indication information of the updated picture in the second drawing instruction, according to the acquired 2D The texture data draws the updated picture.
  34. 如权利要求25至33中任一项所述的装置,其特征在于,所述属性相关的图片为一组尺寸大小相同的图片。The apparatus according to any one of claims 25 to 33, wherein the attribute-related picture is a set of pictures of the same size and size.
  35. 一种绘制方法,其特征在于,包括:A drawing method, comprising:
    获取用于界面展示的图片;Get the image for the interface display;
    将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据;Converting the 2D texture data of the attribute-related picture in the picture for the interface display into corresponding 3D texture data;
    发送所述3D纹理数据。Sending the 3D texture data.
  36. 如权利要求35所述的方法,其特征在于,所述3D纹理数据中的一个维度用于标识图片。The method of claim 35 wherein one of the 3D texture data is used to identify a picture.
  37. 如权利要求36所述的方法,其特征在于,所述3D纹理数据中用于标识图片的维度为第三维度,第三维度数据为图片的索引,所述3D纹理数据中与一个第三维度数据对应的第一维度数据和第二维度数据是该第三维度数据所标识的图片的2D纹理数据中的第一维度数据和第二维度数据。The method according to claim 36, wherein the dimension for identifying the picture in the 3D texture data is a third dimension, the third dimension data is an index of the picture, and the third dimension is in the 3D texture data The first dimension data and the second dimension data corresponding to the data are the first dimension data and the second dimension data in the 2D texture data of the image identified by the third dimension data.
  38. 如权利要求35所述的方法,其特征在于,所述属性相关的图片为一组尺寸大小相同的图片;The method according to claim 35, wherein the attribute-related picture is a set of pictures of the same size and size;
    所述将所述用于界面展示的图片中属性相关的图片的2D纹理数据变换为对应的3D纹理数据,包括:Converting the 2D texture data of the attribute-related picture in the picture for the interface display to the corresponding 3D texture data, including:
    获取用于界面展示的图片后,按照图片尺寸对获取到的图片进行分组,同一组中的图片的尺寸相同;以及,针对至少一组图片,将所述至少一组图片的2D纹理数据变换为所述至少一组图片对应的3D纹理数据;After obtaining the image for the interface display, the acquired images are grouped according to the image size, and the images in the same group are the same size; and, for at least one set of images, the 2D texture data of the at least one set of images is transformed into 3D texture data corresponding to the at least one set of pictures;
    所述发送所述3D纹理数据,包括:The sending the 3D texture data includes:
    发送所述至少一组图片对应的3D纹理数据。Sending 3D texture data corresponding to the at least one set of pictures.
  39. 如权利要求35所述的方法,其特征在于,还包括:The method of claim 35, further comprising:
    发送第一绘制指令,所述第一绘制指令中包括待绘制图片的指示信息。Sending a first drawing instruction, where the first drawing instruction includes indication information of a picture to be drawn.
  40. 如权利要求39所述的方法,其特征在于,所述待绘制图片的指示信息包括:待绘制图片的索引,或者待绘制对象显示区域的索引。The method according to claim 39, wherein the indication information of the picture to be drawn comprises: an index of the picture to be drawn, or an index of the display area of the object to be drawn.
  41. 如权利要求35所述的方法,其特征在于,还包括:The method of claim 35, further comprising:
    接收更新的图片;Receive updated pictures;
    根据所述更新的图片的2D纹理数据更新对应的3D纹理数据;Updating corresponding 3D texture data according to the 2D texture data of the updated picture;
    发送更新后的3D纹理数据。Send updated 3D texture data.
  42. 如权利要求41所述的方法,其特征在于,还包括:The method of claim 41, further comprising:
    发送第二绘制指令,所述第二绘制指令中包括所述更新的图片的指示信息。Sending a second drawing instruction, where the second drawing instruction includes indication information of the updated picture.
  43. 一种绘制方法,其特征在于,包括:A drawing method, comprising:
    接收属性相关的图片的3D纹理数据,所述3D纹理数据由所述属性相关的图片的2D纹理数据变换得到;Receiving 3D texture data of an attribute-related picture, the 3D texture data being transformed by 2D texture data of the attribute-related picture;
    根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据;Obtaining 2D texture data of the to-be-drawn picture in the 3D texture data according to a picture to be drawn;
    根据获取到的2D纹理数据绘制所述待绘制图片。Drawing the picture to be drawn according to the acquired 2D texture data.
  44. 如权利要求43所述的方法,其特征在于,所述3D纹理数据中的一个维度用于标识图片。The method of claim 43 wherein one of the 3D texture data is used to identify a picture.
  45. 如权利要求44所述的方法,其特征在于,所述3D纹理数据中用于标识图片的维度为第三维度,第三维度数据为图片的索引,所述3D纹理数据中与一个第三维度数据对应的第一维度数据和第二维度数据是该第三维度数据所标识的图片的2D纹理数据中的第一维度数据和第二维度数据。The method according to claim 44, wherein the dimension for identifying the picture in the 3D texture data is a third dimension, the third dimension data is an index of the picture, and the third dimension is in the 3D texture data The first dimension data and the second dimension data corresponding to the data are the first dimension data and the second dimension data in the 2D texture data of the image identified by the third dimension data.
  46. 如权利要求45所述的方法,其特征在于,所述根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据,包括:The method according to claim 45, wherein the acquiring the 2D texture data of the to-be-drawn picture in the 3D texture data according to the picture to be drawn comprises:
    根据所述待绘制图片的索引查询所述3D纹理数据中的第三维度数据,获得与所述待绘制图片的索引对应的第一维度数据和第二维度数据,得到所述3D纹理数据中所述待绘制图片的2D纹理数据。Querying the third dimension data in the 3D texture data according to the index of the to-be-drawn picture, obtaining first dimension data and second dimension data corresponding to the index of the to-be-drawn picture, and obtaining the 3D texture data The 2D texture data of the drawn picture is described.
  47. 如权利要求43所述的方法,其特征在于,所述属性相关的图片为一组尺寸大小相同的图片;The method according to claim 43, wherein the attribute-related picture is a set of pictures of the same size and size;
    根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据,包括:Obtaining 2D texture data of the to-be-drawn picture in the 3D texture data according to the picture to be drawn, including:
    确定所述待绘制图片所在的图片组,从所述待绘制图片所在的图片组所对应的3D纹理数据中获取所述待绘制图片的2D纹理数据。Determining the group of pictures in which the picture to be drawn is located, and acquiring 2D texture data of the picture to be drawn from the 3D texture data corresponding to the picture group in which the picture to be drawn is located.
  48. 如权利要求43所述的方法,其特征在于,所述根据待绘制图片,获取所述3D纹理数据中所述待绘制图片的2D纹理数据之前,还包括:The method according to claim 43, wherein before the acquiring the 2D texture data of the to-be-drawn picture in the 3D texture data according to the picture to be drawn, the method further comprises:
    接收第一绘制指令,所述第一绘制指令中包括待绘制图片的指示信息;Receiving a first drawing instruction, where the first drawing instruction includes indication information of a picture to be drawn;
    根据所述第一绘制指令中的待绘制图片的指示信息,确定所述待绘制图片。Determining the picture to be drawn according to the indication information of the picture to be drawn in the first drawing instruction.
  49. 如权利要求48所述的方法,其特征在于,所述待绘制图片的指示信息包括:待绘制图片的索引,或者待绘制对象显示区域的索引;The method according to claim 48, wherein the indication information of the picture to be drawn comprises: an index of the picture to be drawn, or an index of the display area of the object to be drawn;
    所述待绘制图片的指示信息为待绘制对象显示区域的索引时,所述根据所述第一绘制指令中的待绘制图片的指示信息,确定所述待绘制图片,包括:When the indication information of the to-be-drawn picture is an index of the display area of the object to be drawn, the determining the picture to be drawn according to the indication information of the picture to be drawn in the first drawing instruction includes:
    根据所述对象显示区域的索引,查询对象显示区域与图片的对应关系,得到与所述待绘制对象显示区域的索引对应的待绘制图片。And according to the index of the object display area, the corresponding relationship between the object display area and the image is obtained, and a picture to be drawn corresponding to the index of the object display area to be drawn is obtained.
  50. 如权利要求43所述的方法,其特征在于,还包括:The method of claim 43 further comprising:
    接收更新后的3D纹理数据,所述更新后的3D纹理数据是根据所述属性相关的图片中更新的图片的2D纹理数据变换得到的。The updated 3D texture data is received, and the updated 3D texture data is transformed according to 2D texture data of the updated picture in the attribute-related picture.
  51. 如权利要求50所述的方法,其特征在于,还包括:The method of claim 50, further comprising:
    接收第二绘制指令,所述第二绘制指令中包括更新的图片的指示信息;Receiving a second drawing instruction, where the second drawing instruction includes indication information of the updated picture;
    根据所述第二绘制指令中的更新的图片的指示信息,从所述更新后的3D纹理数据中获取所述更新的图片的2D纹理数据;Obtaining 2D texture data of the updated picture from the updated 3D texture data according to the indication information of the updated picture in the second drawing instruction;
    根据获取到的2D纹理数据绘制所述更新的图片。The updated picture is drawn according to the acquired 2D texture data.
  52. 如权利要求43至51中任一项所述的方法,其特征在于,所述属性相关的图片为一组尺寸大小相同的图片。The method according to any one of claims 43 to 51, wherein the attribute-related picture is a set of pictures of the same size and size.
  53. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    第一处理器,获取用于界面展示的图片,将所述用于界面展示的图片中属性相关的图片的第一维度纹理数据变换为对应的第二维度纹理数据,将所述第二维度纹理数据发送给第二处理器;The first processor obtains a picture for the interface display, and transforms the first dimension texture data of the attribute-related picture in the picture for the interface display into the corresponding second dimension texture data, and the second dimension texture Data is sent to the second processor;
    第二处理器,根据待绘制图片,从所述第二维度纹理数据中获取所述待绘制图片的第一维度纹理数据,根据获取到的第一维度纹理数据绘制所述待绘制图片。And acquiring, by the second processor, the first dimension texture data of the to-be-drawn picture from the second dimension texture data according to the to-be-drawn picture, and drawing the to-be-drawn picture according to the acquired first dimension texture data.
  54. 一种绘制方法,其特征在于,包括:A drawing method, comprising:
    获取单元,获取用于界面展示的图片;Obtain a unit to obtain a picture for the interface display;
    数据处理单元,将所述用于界面展示的图片中属性相关的图片的第一维度纹理数据变换为对应的第二维度纹理数据;a data processing unit, configured to convert the first dimension texture data of the attribute related picture in the picture for the interface display to the corresponding second dimension texture data;
    发送单元,发送所述第二维度纹理数据。And sending, sending the second dimension texture data.
  55. 一种处理装置,其特征在于,包括:A processing device, comprising:
    接收单元,接收属性相关的图片的第二维度纹理数据,所述第二维度纹理数据由所述属性相关的图片的第一维度纹理数据变换得到;a receiving unit, configured to receive second dimension texture data of the attribute-related image, where the second dimension texture data is transformed by the first dimension texture data of the attribute-related picture;
    数据处理单元,根据待绘制图片,获取所述第二维度纹理数据中所述待绘制图片的第一维度纹理数据;a data processing unit, configured to acquire first dimension texture data of the to-be-drawn picture in the second dimension texture data according to a picture to be drawn;
    绘制单元,根据获取到的第一维度纹理数据绘制所述待绘制图片。The drawing unit draws the to-be-drawn picture according to the acquired first dimension texture data.
  56. 一种绘制方法,其特征在于,包括:A drawing method, comprising:
    获取用于界面展示的图片;Get the image for the interface display;
    将所述用于界面展示的图片中属性相关的图片的第一维度纹理数据变换为对应的第二维度纹理数据;Transforming the first dimension texture data of the attribute-related picture in the picture for the interface display into the corresponding second dimension texture data;
    发送所述第二维度纹理数据。Sending the second dimension texture data.
  57. 一种绘制方法,其特征在于,包括:A drawing method, comprising:
    接收属性相关的图片的第二维度纹理数据,所述第二维度纹理数据由所述属性相关的图片的第一维度纹理数据变换得到;Receiving second dimension texture data of the attribute-related picture, the second dimension texture data being transformed by the first dimension texture data of the attribute-related picture;
    根据待绘制图片,获取所述第二维度纹理数据中所述待绘制图片的第一维度纹理数据;Obtaining first dimension texture data of the to-be-drawn picture in the second dimension texture data according to the picture to be drawn;
    根据获取到的第一维度纹理数据绘制所述待绘制图片。Drawing the picture to be drawn according to the acquired first dimension texture data.
  58. 一个或多个计算机可读介质,所述可读介质上存储有指令,所述指令被一个或多个处理器执行时,使得电子设备执行如权利要求35至42中任一项所述的方法。One or more computer readable mediums having stored thereon instructions that, when executed by one or more processors, cause an electronic device to perform the method of any one of claims 35 to 42 .
  59. 一个或多个计算机可读介质,所述可读介质上存储有指令,所述指令被一个或多个处理器执行时,使得电子设备执行如权利要求43至52中任一项所述的方法。One or more computer readable mediums having stored thereon instructions that, when executed by one or more processors, cause an electronic device to perform the method of any one of claims 43 to 52 .
PCT/CN2018/086784 2017-05-24 2018-05-15 Rendering method and device WO2018214779A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710374000.1A CN108965975B (en) 2017-05-24 2017-05-24 Drawing method and device
CN201710374000.1 2017-05-24

Publications (1)

Publication Number Publication Date
WO2018214779A1 true WO2018214779A1 (en) 2018-11-29

Family

ID=64396204

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/086784 WO2018214779A1 (en) 2017-05-24 2018-05-15 Rendering method and device

Country Status (3)

Country Link
CN (1) CN108965975B (en)
TW (1) TW201901610A (en)
WO (1) WO2018214779A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989878B (en) * 2019-11-01 2021-07-20 百度在线网络技术(北京)有限公司 Animation display method and device in applet, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156999A (en) * 2010-02-11 2011-08-17 腾讯科技(深圳)有限公司 Generation method and device thereof for user interface
US8914562B2 (en) * 2012-01-25 2014-12-16 Nokia Corporation Method and apparatus for buffer initialization
CN104240273A (en) * 2014-09-18 2014-12-24 百度在线网络技术(北京)有限公司 Raster image processing method and device
CN105917382A (en) * 2014-01-21 2016-08-31 艾丽卡滑翔有限公司 Method and system for interactive graphics streaming

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4353259B2 (en) * 2007-02-22 2009-10-28 ソニー株式会社 Information processing apparatus, image display apparatus, control method therefor, and program causing computer to execute the method
US8760455B2 (en) * 2009-10-05 2014-06-24 Nvidia Corporation Restart index that sets a topology
CN102999946B (en) * 2012-09-17 2016-08-03 Tcl集团股份有限公司 A kind of 3D Disposal Method about Graphics Data, device and equipment
CN103763558B (en) * 2013-12-31 2016-09-14 浙江大学 texture image compression method based on similarity
CN104765595B (en) * 2014-01-08 2018-05-22 联发科技(新加坡)私人有限公司 A kind of method and device for showing graphic user interface
CN105046733A (en) * 2015-08-25 2015-11-11 克拉玛依红有软件有限责任公司 Three-dimensional multi-texture based mapping method
CN105427236A (en) * 2015-12-18 2016-03-23 魅族科技(中国)有限公司 Method and device for image rendering
CN105631923B (en) * 2015-12-25 2018-10-23 网易(杭州)网络有限公司 A kind of rendering intent and device
CN105701854B (en) * 2016-01-06 2018-07-03 网易(杭州)网络有限公司 A kind of 3D rendering intents, device and engine
CN105719331A (en) * 2016-01-15 2016-06-29 网易(杭州)网络有限公司 Sprite drawing method, device and game system
CN106296791A (en) * 2016-08-25 2017-01-04 浙江科澜信息技术有限公司 A kind of efficient texture optimization method rendered towards large scene
CN110647377A (en) * 2019-09-29 2020-01-03 上海沣沅星科技有限公司 Picture processing system, device and medium for human-computer interaction interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156999A (en) * 2010-02-11 2011-08-17 腾讯科技(深圳)有限公司 Generation method and device thereof for user interface
US8914562B2 (en) * 2012-01-25 2014-12-16 Nokia Corporation Method and apparatus for buffer initialization
CN105917382A (en) * 2014-01-21 2016-08-31 艾丽卡滑翔有限公司 Method and system for interactive graphics streaming
CN104240273A (en) * 2014-09-18 2014-12-24 百度在线网络技术(北京)有限公司 Raster image processing method and device

Also Published As

Publication number Publication date
CN108965975B (en) 2021-03-23
CN108965975A (en) 2018-12-07
TW201901610A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
KR102366752B1 (en) Reducing latency in map interfaces
US8243080B2 (en) Method and system for receiving an indexed look-up table and viewing a vector animation sequence
US7006099B2 (en) Cache system and method for generating uncached objects from cached and stored object components
US9426476B2 (en) Video stream
CN107209693B (en) Buffer optimization
US10672102B2 (en) Conversion and pre-processing of spherical video for streaming and rendering
CN110166792B (en) Image display method, device, system and storage medium
CN107103890B (en) The method and apparatus of application is shown on fixed-direction display
US10528998B2 (en) Systems and methods for presenting information related to products or services being shown on a second display device on a first display device using augmented reality technology
US20210392386A1 (en) Data model for representation and streaming of heterogeneous immersive media
JP5323260B2 (en) Control terminal device and remote control system
CN107105124B (en) Protocol for communication between a platform and an image device
CN111225271A (en) Multi-engine image capturing and screen recording method based on android set top box platform
WO2018214768A1 (en) Rendering method and device
WO2018214779A1 (en) Rendering method and device
CN112153459A (en) Method and device for screen projection display
US9207754B2 (en) Enabling immersive, interactive desktop image presentation
KR102409033B1 (en) System for cloud streaming service, method of image cloud streaming service using alpha level of color bit and apparatus for the same
US20130104025A1 (en) Enabling immersive search engine home pages
CN107318021B (en) Data processing method and system for remote display
US11922561B2 (en) Methods and systems for implementing scene descriptions using derived visual tracks
CN116700943A (en) Video playing system and method and electronic equipment
CN111885417B (en) VR video playing method, device, equipment and storage medium
CN115250352A (en) Partitioning ASTC textures into sub-image sets
CN107318020B (en) Data processing method and system for remote display

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18805166

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18805166

Country of ref document: EP

Kind code of ref document: A1