Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
frameworks
/
base
/
5b7e333cf2f91c94e37dbb7024fa38da3db34619
/
.
/
libs
/
hwui
/
shaders
/
drawColor.vert
blob: fd3cb45a74d286b59fca63a894d7ad5cf6a1b4d0 [
file
] [
log
] [
blame
]
SHADER_SOURCE
(
gDrawColorVertexShader
,
attribute vec4 position
;
attribute vec4 color
;
uniform mat4 projection
;
uniform mat4 modelView
;
varying vec4 outColor
;
void
main
(
void
)
{
outColor
=
color
;
gl_Position
=
projection
*
modelView
*
position
;
}
);