{"id":20,"date":"2007-05-12T09:30:07","date_gmt":"2007-05-12T15:30:07","guid":{"rendered":"http:\/\/blog.blockos.org\/?p=63"},"modified":"2007-05-12T09:30:07","modified_gmt":"2007-05-12T15:30:07","slug":"captains-clog","status":"publish","type":"post","link":"https:\/\/blog.blockos.org\/?p=20","title":{"rendered":"Captain&#8217;s clog"},"content":{"rendered":"<p>Aouch&#8230; 3 months since last post.<br \/>\nA lot of things happened. First of all i changed job (who said lame excuse?). Then <a href=\"http:\/\/www.ggi-project.org\">GGI<\/a> was selected for <a href=\"http:\/\/code.google.com\/soc\">google summer of code<\/a>. Guess who is the GGI admin on gsoc.. me :). 2 projects from the <a href=\"http:\/\/www.ggi-project.org\/soc.html\">idea list<\/a> were &#8220;slotted&#8221;. This means that google will fund them. The project i was about to mentor wasn&#8217;t selected. Anyway, i hope everything will be alright because some of the selected projects are part of the 3.0 roadmap.<br \/>\nStill about <a href=\"http:\/\/www.ggi-project.org\">GGI<\/a>, my current task is to implement Xdbe helper for X target. The task is not easy as it seems. My first try was kinda simplistic and &#8230; buggy. Instead of increasing X target speed, it slowed it down. And worst of all, i totally misunderstood the goal of Xdbe helper. It&#8217;s not just about swapping the window drawable. In fact, it&#8217;s the last and final part of the job. For the moment in X target, all the drawing operation are performed on the window drawable. Multiple buffering is performed by using window clipping. Let&#8217;s say we want a visual of 320&#215;240 pixels and 3 frames (in order to do triple buffering, or whatever). We create a parent window with a size of 320 by 240. Then we create a child window of 320 x 240*3. We display a given frame by moving the child window so that the required area becomes visible.<br \/>\nFor example, if we want to view the second frame, we move the child window by (0,240).<br \/>\nBack to Xdbe. We don&#8217;t need to use window auto-clipping anymore. We can use a single window with a backbuffer attach to it. If we want multiple frames, we can create a pixmap the same way we created the child window or create a pixmap per frame. All the drawing operations will be perfomed on the pixmap. Then on flush, we copy the pixmap data to the backbuffer and swap the window. It&#8217;s not as easy as it sounds because i&#8217;ll have to reorganize (or completly rewrite) the X target.<\/p>\n<p>On the crbn\/ray tracing front. There&#8217;s not much coding going on but i&#8217;m reading a lot&#8230; Ok. Let me rephrase it&#8230; I have a lot of papers and books to read \ud83d\ude42<\/p>\n<p>The pcengine tracker development was resumed this week. I hope to release a test rom for the instrument editor before the end of the month.<\/p>\n<p>And now something different. Yesterday (and today) i rewrote the <a href=\"http:\/\/blockos.untergrund.net\/mooz\">gallery<\/a> with javascript and css. The old one was in perl\/cgi and had a small oneliner. I still have the code lying around. I&#8217;d better burn it for the sake of mankind \ud83d\ude42 However the only dynamic part in the new one is the image display in javascript, and as i now have this wonderfull blog, i threw the onliner away.<br \/>\nI put a link (&#8220;Doodles, drawings, sketch dump&#8230;&#8221;) to it in the section &#8220;My other stuffs&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aouch&#8230; 3 months since last post. A lot of things happened. First of all i changed job (who said lame excuse?). Then GGI was selected for google summer of code. Guess who is the GGI admin on gsoc.. me :). 2 projects from the idea list were &#8220;slotted&#8221;. This means\u2026 <a class=\"continue-reading-link\" href=\"https:\/\/blog.blockos.org\/?p=20\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[27,12],"_links":{"self":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/20"}],"collection":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":0,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}