Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java54 public ShaderProgram(FilterContext context, String fragmentShader) { in ShaderProgram() argument
56 allocate(mGLEnvironment, null, fragmentShader); in ShaderProgram()
63 public ShaderProgram(FilterContext context, String vertexShader, String fragmentShader) { in ShaderProgram() argument
65 allocate(mGLEnvironment, vertexShader, fragmentShader); in ShaderProgram()
253 String fragmentShader); in allocate() argument
/frameworks/native/libs/gui/tests/
DGLTest.cpp295 GLuint vertexShader, fragmentShader; in createProgram() local
304 &fragmentShader)); in createProgram()
312 glAttachShader(program, fragmentShader); in createProgram()
334 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/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.h35 const char* fragmentShader[MAX_SHADER_LINES]; member
DMain.cpp226 fragmentShader: {
260 fragmentShader: {
DGLHelper.cpp420 shaderDescs[i].fragmentShader, &fs); in setUpShaders()
/frameworks/rs/java/tests/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/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java607 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER); in buildProgram() local
608 if (fragmentShader == 0) return 0; in buildProgram()
614 glAttachShader(program, fragmentShader); in buildProgram()
626 glDeleteShader(fragmentShader); in buildProgram()
/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/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp239 GLuint vertexShader, fragmentShader; in createProgram() local
249 loadShader(GL_FRAGMENT_SHADER, pFragmentSource, &fragmentShader); in createProgram()
260 glAttachShader(program, fragmentShader); in createProgram()
282 glDeleteShader(fragmentShader); in createProgram()
/frameworks/base/libs/hwui/
DProgramCache.cpp460 String8 fragmentShader = generateFragmentShader(description); in generateProgram() local
462 return new Program(description, vertexShader.string(), fragmentShader.string()); in generateProgram()
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd129 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);
133 GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program
/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()