Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, system, server and storage medium for detecting client run OpenGL version

A client, version technology, applied in version control, error detection/correction, instrumentation, etc., can solve problems such as lack of client functions, low OpenGL version, crashes, etc.

Inactive Publication Date: 2018-12-18
WUHAN DOUYU NETWORK TECH CO LTD
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the PC client development process, when some OpenGL interface features are used, because the OpenGL version on the old machine is too low and does not support this interface feature, the interface call will fail, resulting in functional loss and crash of the client. And other issues

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, system, server and storage medium for detecting client run OpenGL version
  • Method, system, server and storage medium for detecting client run OpenGL version
  • Method, system, server and storage medium for detecting client run OpenGL version

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention provides a method, system, server and storage medium for detecting the version of OpenGL that the client runs, by creating a hidden window, by obtaining the context handle DC of the window device, and then setting the window device to be rendered by OpenGL, and then by creating The OpengGL context of the window device finally obtains the corresponding OpenGL version by calling the interface provided by the OpenGL context.

[0036] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ...

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

PUM

No PUM Login to View More

Abstract

The invention provides a method for detecting an OpenGL version run by a client, a system, a server and a storage medium, by creating a hidden window, by obtaining the context handle DC of the windowdevice, setting the window device to be rendered with OpenGL, creating the OpenGL context environment of the window device, and finally calling the interface provided by the OpenGL context environment, the corresponding OpenGL version is obtained.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a method, a system, a server and a storage medium for detecting an OpenGL version running on a client. Background technique [0002] OpenGL is a cross-language, cross-platform application programming interface for rendering 2D and 3D vector graphics. [0003] Since the Douyu PC client is developed using the Qt Quick framework, the bottom layer of Qt Quick uses the OpenGL rendering engine. However, since there are many versions of OpenGL, it mainly depends on the hardware and graphics card drivers on the user's machine. [0004] During the PC client development process, when some OpenGL interface features are used, because the OpenGL version on the old machine is too low and does not support this interface feature, the interface call will fail, resulting in functional loss and crash of the client. And other issues. Contents of the invention [0005] In view of t...

Claims

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36G06F8/71
CPCG06F8/71G06F11/3608
Inventor 黄浩
Owner WUHAN DOUYU NETWORK TECH CO LTD