The spec of DTV SoC was release. I got the HW spec. And I found the design was not consider about "shader".<br>Our HW architecture was a VG pipe line, almost like <a href="http://www.khronos.org/assets/uploads/apis/openvg_pipeline1.jpg">http://www.khronos.org/assets/uploads/apis/openvg_pipeline1.jpg</a><br>
Is this means that it is not make sense to write a Gallium driver for GL/VG state tracker?<br><br>
<div class="gmail_quote">Corbin Simpson <span dir="ltr"><<a href="mailto:mostawesomedude@gmail.com">mostawesomedude@gmail.com</a>></span> 於 2011年4月19日上午2:17 寫道:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<p>When you write a Gallium driver, it can be used by any frontend, including GL, VG, GLES, etc. The only real hardware requirement is that the hardware is *shaderful*; it needs to support vertex and fragment shaders.</p>
<p>Sending from a mobile, pardon the brevity. ~ C.</p>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">On Apr 18, 2011 7:11 AM, "Awin" <<a href="mailto:awin0628@gmail.com" target="_blank">awin0628@gmail.com</a>> wrote:<br type="attribution">> 於 2011/4/11 下午 11:23, Corbin Simpson 提到:<br>
>> On Fri, Apr 8, 2011 at 4:17 AM, Awin<<a href="mailto:awin0628@gmail.com" target="_blank">awin0628@gmail.com</a>> wrote:<br>>>> Hi all,<br>>>> I need to write a OpenGL driver for my company's IC, and base on gallium,<br>
>>> how do I get start? Is there any document or sample code to reference?<br>>> This is a remarkably candid question.<br>>><br>>> In the Mesa tree, the Gallium headers (src/gallium/include/**/*.h)<br>
>> describe the objects Gallium passes around. There are also Sphinx docs<br>>> (src/gallium/docs/) which probably haven't really been maintained in a<br>>> bit, but it's nice to think that they are somewhat accurate.<br>
>><br>>> Gallium is laid out like this: There is a struct called Winsys which<br>>> handles talking to your hardware backend (DRM, Windows kernel, etc.),<br>>> a struct called Screen which helps to manage your GPU's information<br>
>> and resources, and a struct called Context which is, well, a rendering<br>>> context.<br>>><br>>> Which SoC is this? Do you have docs? Are you going to open-source any<br>>> of your driver code?<br>
>><br>>> It's going to be a lot easier to answer your questions in realtime;<br>>> there's an IRC channel on Freenode, #dri-devel, which is the general<br>>> Gallium channel (among other things), and is a great place to ask<br>
>> questions.<br>>><br>>> Hope this helps somewhat,<br>>> ~ C.<br>>><br>> Thanks for your reply,<br>> The SoC is still on design, that's a DTV chip with OpenVG engine, and <br>> some functions of OpenGL ES, that the reason I want to use gallium, I <br>
> just need to implement driver interface(which can accelerate by HW) for <br>> OpenVG and OpenGL ES state tracker, and others use softpipe to draw. So <br>> I can use full function of SoC on VG or GL ES, am I right?<br>
</div></div></div></blockquote></div><br>