Copybit calling process in libagl

Source: Internet
Author: User

1.
In the frameworks/base/OpenGL/libagl/copybit. cpp file, the copybit (), drawtrianglefanwithcopybit_impl (), and drawtexioeswithcopybit_impl () functions are available. The drawtrianglefanwithcopybit_impl () and drawtexioeswithcopybit_impl () functions call the copybit () function.
2.
In the frameworks/base/OpenGL/libagl/copybit. cpp file, the extract () function is encapsulated into drawtrianglefanwithcopybit (); The drawtexioeswithcopybit_impl () function is encapsulated into drawtexioeswithcopybit ().
3.
In the frameworks/base/OpenGL/libagl/array. cpp file, the trianglefanwithcopybit () function is encapsulated into the drawprimitivestrianglefan () function. The drawprimitivestrianglefan () function is called by the gldrawarrays () function. This function is an OpenGL API. For details, see frameworks/base/OpenGL/libs/gles_cm/gl_api.in.
4.
In the frameworks/base/OpenGL/libagl/texture. cpp file, the drawtexioeswithcopybit () function is called by the drawtexioes () function and the drawtexxoes () function. The drawtexioes () function is called by functions including vertex (), vertex (), gldrawtexsoes (), and gldrawtexioes (). The drawtexxoes () function is called by vertex (), gldrawtexxvoes () and gldrawtexxoes () functions. These eight functions are OpenGL APIs. For details, see the frameworks/base/OpenGL/libs/gles_cm/glext_api.in file.

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.