Bug 6314 - Add types for GLSL shader source code
Summary: Add types for GLSL shader source code
Status: RESOLVED WONTFIX
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 17:13 UTC by Chong Kai Xiong
Modified: 2007-02-05 08:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch to freedesktop.org.xml (753 bytes, patch)
2006-03-19 17:18 UTC, Chong Kai Xiong
Details | Splinter Review

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.