Home
last modified time | relevance | path

Searched refs:loadShader (Results 1 – 5 of 5) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DRenderer.cpp38 GLuint Renderer::loadShader(GLenum shaderType, const char* pSource) { in loadShader() function in Renderer
66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
72 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
DRenderer.h34 GLuint loadShader(GLenum shaderType, const char* pSource);
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java34 public static int loadShader(int shaderType, String source) { in loadShader() method in SurfaceTextureView
60 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
64 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java278 int drawVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, DRAW_VERTEX_SHADER); in GLES20Canvas()
279 int textureVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, TEXTURE_VERTEX_SHADER); in GLES20Canvas()
280 int meshVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, MESH_VERTEX_SHADER); in GLES20Canvas()
281 int drawFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, DRAW_FRAGMENT_SHADER); in GLES20Canvas()
282 int textureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, TEXTURE_FRAGMENT_SHADER); in GLES20Canvas()
283 int oesTextureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, in GLES20Canvas()
331 private static int loadShader(int type, String shaderCode) { in loadShader() method in GLES20Canvas
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java276 int drawVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, DRAW_VERTEX_SHADER); in GLES20Canvas()
277 int textureVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, TEXTURE_VERTEX_SHADER); in GLES20Canvas()
278 int meshVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, MESH_VERTEX_SHADER); in GLES20Canvas()
279 int drawFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, DRAW_FRAGMENT_SHADER); in GLES20Canvas()
280 int textureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, TEXTURE_FRAGMENT_SHADER); in GLES20Canvas()
281 int oesTextureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, in GLES20Canvas()
329 private static int loadShader(int type, String shaderCode) { in loadShader() method in GLES20Canvas