GitHub: How to download a change as patch

Sometimes I can be useful to download a changes contained in a Github pull request as a unified diff. It turns out to be very easy. To view a commit as a diff/patch file, just add .diff or .patch to the end of the URL For instance

February 20, 2014 · 1 min · Christian Gmeiner

Mesa meets GC2000

Here is the first result of running mesatest_gles on mesa&etna: Following tests are showing good visual results compared to swrast: Hello_Triangle/CH02_HelloTriangle Simple_VertexShader/CH08_SimpleVertexShader CubeVBO/cube_vbo ParticleSystem/CH13_ParticleSystem Viewports/viewports All other are visual corrupted or segfault. So there is still some work done to get all demos up and running.

February 15, 2014 · 1 min · Christian Gmeiner

GC2000 support for etnaviv

Today I hit an important milestone for etnaviv – an open source user-space driver for the Vivante GCxxx series of embedded GPUs. I finally got GC2000 support to a level that it seems to work. It took me some months to get there. At the beginning it sounds easy to rebuild a ‘driver’ if you get readable command buffer dumps. I did start with working on a simple replay program to render a cube in the same was as the binary blob does it. But what should I say… it is quite boring to do everything by hand and not taking advantage of libetnaviv and the ‘driver’ at all. So I decided to go the hard way and try to fix/add all missing bits until it renders something. The good thing is that I have now some knowledge about the structure of libetnaviv, the dirver and mesa in general. It helps a lot if you know why stuff is done that way. ...

February 9, 2014 · 2 min · Christian Gmeiner

Rebase Github fork

Today I needed to rebase my etnaviv fork to the current master of upstream. I need to say that I never did this before but with git this is a breeze. View the code on [Gist](https://gist.github.com/austriancoder/724a0a8d1db4f229e197d501f8b49fa5).If you get a merge conflict during rebase, you only need to follow the instructions git gives you.

February 8, 2014 · 1 min · Christian Gmeiner

CMake: Post install scripts for debian

I am using cmake during my job to create Debian installation packages for different kind of software projects. Today I run into an issue. I needed to run some post installation steps. I know that this is quite easy possible within a deb file, but how to archive the same with cmake? It turned out to be quite easy: View the code on [Gist](https://gist.github.com/austriancoder/1c3ba1d383fefbf8dd7fe773cebd882d).Where postinst is the script which gets executed after the deb got installed.

January 23, 2014 · 1 min · Christian Gmeiner