Searched refs:loadShader (Results 1 - 12 of 12) sorted by relevance

/development/samples/HelloEffects/src/com/example/android/mediafx/
H A DGLToolbox.java23 public static int loadShader(int shaderType, String source) { method in class:GLToolbox
43 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
47 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
H A DGLToolbox.java23 public static int loadShader(int shaderType, String source) { method in class:GLToolbox
40 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
44 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/development/perftests/panorama/feature_mos/src/mosaic_renderer/
H A DRenderer.h34 GLuint loadShader(GLenum shaderType, const char* pSource);
H A DRenderer.cpp38 GLuint Renderer::loadShader(GLenum shaderType, const char* pSource) { function in class:Renderer
66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
72 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
H A DTriangle.java86 int vertexShader = MyGLRenderer.loadShader(
88 int fragmentShader = MyGLRenderer.loadShader(
H A DSquare.java93 int vertexShader = MyGLRenderer.loadShader(
96 int fragmentShader = MyGLRenderer.loadShader(
H A DMyGLRenderer.java117 public static int loadShader(int type, String shaderCode){ method in class:MyGLRenderer
/development/ndk/platforms/android-5/samples/hello-gl2/jni/
H A Dgl_code.cpp57 GLuint loadShader(GLenum shaderType, const char* pSource) { function
84 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
89 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
H A DGles2ColoredTriangleList.java160 private static int loadShader(int type, String shaderCode){ method in class:Gles2ColoredTriangleList
213 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, VERTEX_SHADER_CODE);
214 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, FRAGMENT_SHADER_CODE);
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java223 private int loadShader(int shaderType, String source) { method in class:MyRenderer
241 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
245 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DGLES20TriangleRenderer.java157 private int loadShader(int shaderType, String source) { method in class:GLES20TriangleRenderer
175 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
180 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
H A DGLES20TriangleRenderer.java155 private int loadShader(int shaderType, String source) { method in class:GLES20TriangleRenderer
173 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
178 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);

Completed in 134 milliseconds