Android uses OpenGL ES to display images

Source: Internet
Author: User

The android framework provides a large number of interactive and powerful graphic user interfaces. But if you want more painting on the screen or 3D display, you need to use different tools. OpenGL ES api provides a large number of tools to display high-end animated images.

The following describes how to use OpenGL Es to develop applications. Including creation, painting objects, Moving Elements, and control response touch screen input. The instance Code uses OpenGL ES 2.0ApI. This is the most widely used version.

Note: Do not use the 1.x method in 2.0.

This part mainly involves six aspects:

1. Create an OpenGL ES environment.

2. define the shape.

3. Painting shape.

4. Application Engineering and photo view.

5. Add activities.

6. Respond to touch screen events.

We will detail the details of each point in the future.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.