VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/shaders/cconvAYUV.c@ 24152

Last change on this file since 24152 was 22883, checked in by vboxsync, 15 years ago

fideo hw accel: fix for ATI + small optimizations

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 258 bytes
Line 
1#extension GL_ARB_texture_rectangle : enable
2uniform sampler2DRect uSrcTex;
3void vboxCConvApplyAYUV(vec4 color);
4void vboxCConv()
5{
6 vec2 srcCoord = vec2(gl_TexCoord[0]);
7 vec4 color = texture2DRect(uSrcTex, srcCoord);
8 vboxCConvApplyAYUV(color);
9}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette