Changeset 22776 in vbox for trunk/src/VBox/Frontends/VirtualBox/shaders/cconvAYUV.c
- Timestamp:
- Sep 4, 2009 12:45:02 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51952
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/shaders/cconvAYUV.c
r22640 r22776 1 1 #extension GL_ARB_texture_rectangle : enable 2 3 2 uniform sampler2DRect uSrcTex; 4 5 void cconvApplyAYUV(vec4 color); 6 void cconvAYUV(vec2 srcCoord) 3 void vboxCConvApplyAYUV(vec4 color); 4 void vboxCConv(int srcI) 7 5 { 6 vec2 srcCoord = vec2(gl_TexCoord[srcI]); 8 7 vec4 color = texture2DRect(uSrcTex, srcCoord); 9 cconvApplyAYUV(color);8 vboxCConvApplyAYUV(color); 10 9 }
Note:
See TracChangeset
for help on using the changeset viewer.