Home
last modified time | relevance | path

Searched refs:fragmentShader (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/renderengine/gl/filters/
DGenericProgram.cpp50 void GenericProgram::compile(string vertexShader, string fragmentShader) { in compile() argument
52 mFragmentShaderHandle = compileShader(GL_FRAGMENT_SHADER, fragmentShader); in compile()
89 GLuint GenericProgram::createAndLink(GLuint vertexShader, GLuint fragmentShader) const { in createAndLink()
94 glAttachShader(program, fragmentShader); in createAndLink()
DGenericProgram.h33 void compile(string vertexShader, string fragmentShader);
41 GLuint createAndLink(GLuint vertexShader, GLuint fragmentShader) const;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java51 public ShaderProgram(FilterContext context, String fragmentShader) { in ShaderProgram() argument
53 allocate(mGLEnvironment, null, fragmentShader); in ShaderProgram()
60 public ShaderProgram(FilterContext context, String vertexShader, String fragmentShader) { in ShaderProgram() argument
62 allocate(mGLEnvironment, vertexShader, fragmentShader); in ShaderProgram()
256 String fragmentShader); in allocate() argument
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DOpenGLUtils.java55 final int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in createProgram() local
61 GLES20.glAttachShader(program, fragmentShader); in createProgram()
/frameworks/native/libs/gui/tests/
DGLTest.cpp297 GLuint vertexShader, fragmentShader; in createProgram() local
306 &fragmentShader)); in createProgram()
314 glAttachShader(program, fragmentShader); in createProgram()
336 glDeleteShader(fragmentShader); in createProgram()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java284 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER); in buildProgram() local
285 if (fragmentShader == 0) return 0; in buildProgram()
291 glAttachShader(program, fragmentShader); in buildProgram()
303 glDeleteShader(fragmentShader); in buildProgram()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java237 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER); in buildProgram() local
238 if (fragmentShader == 0) return 0; in buildProgram()
244 glAttachShader(program, fragmentShader); in buildProgram()
256 glDeleteShader(fragmentShader); in buildProgram()
/frameworks/av/cmds/screenrecord/
DProgram.h77 const char* fragmentShader);
DProgram.cpp113 const char* fragmentShader) { in createProgram() argument
121 err = compileShader(GL_FRAGMENT_SHADER, fragmentShader, &fs); in createProgram()
/frameworks/native/cmds/flatland/
DGLHelper.h34 const char* fragmentShader[MAX_SHADER_LINES]; member
DMain.cpp225 .fragmentShader={
259 .fragmentShader={
DGLHelper.cpp405 shaderDescs[i].fragmentShader, &fs); in setUpShaders()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java216 int fragmentShader = GenImage.loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in Triangle() local
220 GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program in Triangle()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java224 public ImageShader(String fragmentShader) { in ImageShader() argument
225 mProgram = createProgram(mDefaultVertexShader, fragmentShader); in ImageShader()
229 public ImageShader(String vertexShader, String fragmentShader) { in ImageShader() argument
230 mProgram = createProgram(vertexShader, fragmentShader); in ImageShader()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java140 … int fragmentShader = BasicGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in Swarm() local
144 GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program in Swarm()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java305 private int assembleProgram(int vertexShader, int fragmentShader, ShaderParameter[] params) { in assembleProgram() argument
313 GLES20.glAttachShader(program, fragmentShader); in assembleProgram()