OpenGL ES for Android play video

Why play video with OpenGL ES We all know that there is a VideoView control in Android that can play video directly, which is both simple and practical. So why do we use OpenGL ES to play video? That's because OpenGL ES can do more cool dynamic effects, such as rotating video, double finger zooming v ...

Posted by _off_axis_ on Wed, 05 Feb 2020 11:38:07 +0100

Andromeda source code parsing (synchronous access to services)

Andromeda Andromeda is iqiyi's open-source component communication framework for multi process architecture. github Address: https://github.com/iqiyi/Andromeda Its characteristics are as follows: There is no need for the developer to perform bindService() operation or define the Service, just define ...

Posted by Devon11 on Tue, 04 Feb 2020 18:31:52 +0100

Fragment learning 3 -- bottom tab layout

MessageFragment public class MessageFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View messageLayout = inflater.inflate(R.layout.message_layout, container, false); return messageLayout; ...

Posted by efron on Tue, 04 Feb 2020 18:04:48 +0100

Glide source code analysis

Article directory .into(*) 1,Target 2,Request 3,track() 3.1 life cycle 3.2 requestTracker.runRequest(Request) 4,DecodeJob.run() 5,ModelLoader 6,HttpUrlFetcher 7, cache 8. Load picture summary Final personal summary .into(*) This method is very complex, you have to look at the source code sev ...

Posted by brenda on Tue, 04 Feb 2020 11:04:54 +0100

Android - fragment easy to use

1, Method and steps of static registration of fragment 1. Create a static fragment.java file to inherit fragment class and a static_fragment.xml file to complete fragment layout. Overloading oncreateview in StaticFragment.java ( )Method by calling inflate. Inflate ( )Method and pass in the layout res ...

Posted by jmosterb on Mon, 03 Feb 2020 17:04:44 +0100

How to refresh Android ListView?

How to refresh Android ListView after adding / deleting dynamic data? #1 building Please ignore all invalid(), invalideviews(), requestLayout(),... Answers to this question. The right approach (and fortunately marked as the right answer) is Call notifyDataSetChanged() on Adapter . Troubleshooting If the call to notifyDataSetCh ...

Posted by amiller099 on Sat, 01 Feb 2020 07:58:31 +0100

Implementation of Koch fractal snowflake based on OpenGL

Implementation of Koch fractal snowflake based on OpenGL I took a course in computer graphics this semester. I wanted to study hard, but... I always feel that the teacher's teaching level is limited. I didn't learn anything in a semester. At most, I was familiar with the realization of some effects in ...

Posted by shane85 on Mon, 27 Jan 2020 07:33:42 +0100

[Python crawler instance learning chapter] - 4. Super detailed video of climbing bilibili bili

[Python crawler instance learning chapter] - 4. Super detailed video of climbing bilibili bili Because I often study on station B, but I can't help but my home network is too poor, and my online viewing is seriously jammed, so I got the idea of downloading videos (if you just want to download videos, ...

Posted by gacon on Tue, 21 Jan 2020 14:21:11 +0100

Git introduction and daily commands

git introduction GitHub is a hosting platform for open-source and private software projects, because it only supports git as the only version library format for hosting, so it is named GitHub. GitHub was officially launched on April 10, 2008. In addition to Git code warehouse hosting and basic Web management interface, it also provides subscri ...

Posted by mosi on Sun, 19 Jan 2020 06:00:23 +0100

Vulkan pit filling learning Day11 - intrinsic function

Vulkan's inherent functions Vulkan's inherent functionality, early graphics API s provided default state in many stages of a graphics rendering pipeline. In Vulkan, from the size of the viewport to the color mixing function, you need to do everything by yourself. In this chapter we will fill in all th ...

Posted by stringman on Mon, 13 Jan 2020 15:04:58 +0100