Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_frameworks_base
/
738afc5c1b89f4bfdb4076c753b7db3a8432135f
/
.
/
libs
/
hwui
/
shaders
/
drawTexture.frag
blob: 0f2aa9185c502d5f6a4504c0e70ea4a93322fffa [
file
] [
log
] [
blame
]
SHADER_SOURCE
(
gDrawTextureFragmentShader
,
varying mediump vec2 outTexCoords
;
uniform vec4 color
;
uniform sampler2D sampler
;
void
main
(
void
)
{
gl_FragColor
=
texture2D
(
sampler
,
outTexCoords
)
*
color
;
}
);