Bug 6314

Summary: Add types for GLSL shader source code
Product: shared-mime-info Reporter: Chong Kai Xiong <descender>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: high CC: bugzilla, paolo
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to freedesktop.org.xml

Description Chong Kai Xiong 2006-03-19 17:13:48 UTC
The OpenGL Shading Language (GLSL) is a C-like language used to write vertex and
fragment shaders for OpenGL.

While there are no official extensions for source code files (AFAIK), '.vert'
and '.frag' are commonly used for vertex and fragment shader sources respectively.
Comment 1 Chong Kai Xiong 2006-03-19 17:18:08 UTC
Created attachment 4990 [details] [review]
Patch to freedesktop.org.xml

Adds 2 new MIME types:
1. text/x-glslvert: Vertex shaders (*.vert)
2. text/x-glslfrag: Fragment shaders (*.frag)
Comment 2 Paolo Maggi 2006-12-13 05:55:51 UTC
The patch should be generated against freedesktop.org.xml.in 

It should use <_comment> instead of <comment>, so it can be translated.

It should define the GLSL acronym using something like:

  <acronym>GLSL</acronym>
  <expanded-acronym>OpenGL Shading Language</expanded-acronym>

Chong: could you please fix your patch according to the previous comments?
Comment 3 Bastien Nocera 2007-02-05 08:02:58 UTC
This doesn't look very useful to the general users, and those file types would probably already be detected as text files, or C files to open them in text editors.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.