VirtualBox

Ignore:
Timestamp:
Sep 4, 2009 12:45:02 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51952
Message:

video hw accel: more accurate shaders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/shaders/cconvAYUV.c

    r22640 r22776  
    11#extension GL_ARB_texture_rectangle : enable
    2 
    32uniform sampler2DRect uSrcTex;
    4 
    5 void cconvApplyAYUV(vec4 color);
    6 void cconvAYUV(vec2 srcCoord)
     3void vboxCConvApplyAYUV(vec4 color);
     4void vboxCConv(int srcI)
    75{
     6    vec2 srcCoord = vec2(gl_TexCoord[srcI]);
    87    vec4 color = texture2DRect(uSrcTex, srcCoord);
    9     cconvApplyAYUV(color);
     8    vboxCConvApplyAYUV(color);
    109}
Note: See TracChangeset for help on using the changeset viewer.

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