Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/apps/default/
Dshader.cpp23 static GLuint loadShader(GLenum type, const char *shaderSrc, const char *name) { in loadShader() function
67 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, vtxSrc, name); in buildShaderProgram()
73 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pxlSrc, name); in buildShaderProgram()
/packages/services/Car/cpp/evs/support_library/
Dshader.cpp23 static GLuint loadShader(GLenum type, const char *shaderSrc, const char *name) { in loadShader() function
67 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, vtxSrc, name); in buildShaderProgram()
73 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pxlSrc, name); in buildShaderProgram()
/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/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/
DGLES20TriangleRenderer.java155 private int loadShader(int shaderType, String source) { in loadShader() method in GLES20TriangleRenderer
173 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
178 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/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DGLES20CarEvsCameraPreviewRenderer.java283 private int loadShader(int shaderType, String source) { in loadShader() method in GLES20CarEvsCameraPreviewRenderer
305 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in buildShaderProgram()
311 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in buildShaderProgram()
/packages/services/Car/cpp/evs/sampleDriver/
DGlWrapper.cpp100 static GLuint loadShader(GLenum type, const char *shaderSrc) { in loadShader() function
145 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, vtxSrc); in buildShaderProgram()
151 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pxlSrc); in buildShaderProgram()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java178 int textureVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, TEXTURE_VERTEX_SHADER); in GLES20Canvas()
179 int textureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, TEXTURE_FRAGMENT_SHADER); in GLES20Canvas()
222 private static int loadShader(int type, String shaderCode) { in loadShader() method in GLES20Canvas