Home
last modified time | relevance | path

Searched refs:fragmentShader (Results 1 – 16 of 16) 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/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/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.cpp113 const char* fragmentShader) { in createProgram() argument
121 err = compileShader(GL_FRAGMENT_SHADER, fragmentShader, &fs); in createProgram()
DProgram.h77 const char* fragmentShader);
/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/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/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/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java669 int fragmentShader = buildShader(fragment, GL_FRAGMENT_SHADER); in buildProgram() local
670 if (fragmentShader == 0) return 0; in buildProgram()
674 glAttachShader(program, fragmentShader); in buildProgram()
679 glDeleteShader(fragmentShader); in buildProgram()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp235 GLuint vertexShader, fragmentShader; in createProgram() local
245 loadShader(GL_FRAGMENT_SHADER, pFragmentSource, &fragmentShader); in createProgram()
256 glAttachShader(program, fragmentShader); in createProgram()
278 glDeleteShader(fragmentShader); in createProgram()
/frameworks/base/libs/hwui/
DProgramCache.cpp430 String8 fragmentShader = generateFragmentShader(description); in generateProgram() local
432 return new Program(description, vertexShader.string(), fragmentShader.string()); in generateProgram()
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd149 int fragmentShader = MyGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER,
159 GLES20.glAttachShader(mProgram, fragmentShader);
/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()