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

/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java95 private int loadShader(int shaderType, String source) { method in class:GL2JavaView.Renderer
113 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
118 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp42 GLuint loadShader(GLenum shaderType, const char* pSource) { function
69 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
74 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp42 GLuint loadShader(GLenum shaderType, const char* pSource) { function
69 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
74 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/frameworks/native/libs/gui/tests/
H A DGLTest.h31 static void loadShader(GLenum shaderType, const char* pSource,
H A DGLTest.cpp254 void GLTest::loadShader(GLenum shaderType, const char* pSource, function in class:android::GLTest
300 ASSERT_NO_FATAL_FAILURE(loadShader(GL_VERTEX_SHADER, pVertexSource,
305 ASSERT_NO_FATAL_FAILURE(loadShader(GL_FRAGMENT_SHADER, pFragmentSource,
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java169 private int loadShader(int shaderType, String source) { method in class:TestLatencyView.Renderer
187 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
192 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
H A DGenImage.java81 public static int loadShader(int type, String shaderCode){ method in class:GenImage
215 int vertexShader = GenImage.loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode);
216 int fragmentShader = GenImage.loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
H A DTexture2dProgram.java263 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
267 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
298 public static int loadShader(int shaderType, String source) { method in class:Texture2dProgram
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java264 private int loadShader(int shaderType, String source) { method in class:GLDepthTestActivity.GLES20TriangleRenderer
282 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
287 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp33 GLuint loadShader(GLenum shaderType, const char* pSource) { function
66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
71 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java235 private int loadShader(int shaderType, String source) { method in class:MyRenderer
253 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
257 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
H A DBasicGLRenderer.java70 public static int loadShader(int type, String shaderCode) { method in class:BasicGLRenderer
H A DSwarm.java139 int vertexShader = BasicGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode);
140 int fragmentShader = BasicGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java278 int drawVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, DRAW_VERTEX_SHADER);
279 int textureVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, TEXTURE_VERTEX_SHADER);
280 int meshVertexShader = loadShader(GLES20.GL_VERTEX_SHADER, MESH_VERTEX_SHADER);
281 int drawFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, DRAW_FRAGMENT_SHADER);
282 int textureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, TEXTURE_FRAGMENT_SHADER);
283 int oesTextureFragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER,
331 private static int loadShader(int type, String shaderCode) { method in class:GLES20Canvas
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp85 GLuint loadShader(GLenum shaderType, const char* pSource) { function
112 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
117 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java382 private int loadShader(int shaderType, String source) { method in class:CamRenderer
400 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
404 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp76 GLuint loadShader(GLenum shaderType, const char* pSource) { function
103 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
108 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp83 GLuint loadShader(GLenum shaderType, const char* pSource) { function
119 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource);
124 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource);
/frameworks/rs/driver/
H A DrsdShader.h67 bool loadShader(const android::renderscript::Context *);
H A DrsdShader.cpp117 loadShader(rsc);
234 bool RsdShader::loadShader(const Context *rsc) { function in class:RsdShader
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java602 private int loadShader(int shaderType, String source) { method in class:VideoDumpView.VideoDumpRenderer
620 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
624 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java202 private int loadShader(Context context, int resourceId, int type) { method in class:ColorFade
224 int vshader = loadShader(context, com.android.internal.R.raw.color_fade_vert,
226 int fshader = loadShader(context, com.android.internal.R.raw.color_fade_frag,
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSurfaceTextureRenderer.java202 private int loadShader(int shaderType, String source) { method in class:SurfaceTextureRenderer
220 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
224 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java687 private static int loadShader(int shaderType, String source) { method in class:ImageShader
705 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource);
710 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource);

Completed in 32 milliseconds