Home
last modified time | relevance | path

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

12

/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp42 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
69 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
74 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp42 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
69 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
74 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java95 private int loadShader(int shaderType, String source) { in loadShader() method in GL2JavaView.Renderer
113 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
118 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DCircle.cpp60 GLuint loadShader(GLenum shaderType, const char *pSource) { in loadShader() function
86 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
91 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java81 public static int loadShader(int type, String shaderCode){ in loadShader() method in GenImage
215 int vertexShader = GenImage.loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode); in Triangle()
216 int fragmentShader = GenImage.loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in Triangle()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java169 private int loadShader(int shaderType, String source) { in loadShader() method in TestLatencyView.Renderer
187 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
192 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp33 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
71 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java235 private int loadShader(int shaderType, String source) { in loadShader() method in MyRenderer
253 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
257 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLDepthTestActivity.java264 private int loadShader(int shaderType, String source) { in loadShader() method in GLDepthTestActivity.GLES20TriangleRenderer
282 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
287 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp85 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
112 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
117 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp83 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
119 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
124 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/native/libs/gui/tests/
DGLTest.cpp254 void GLTest::loadShader(GLenum shaderType, const char* pSource, in loadShader() function in android::GLTest
300 ASSERT_NO_FATAL_FAILURE(loadShader(GL_VERTEX_SHADER, pVertexSource, in createProgram()
305 ASSERT_NO_FATAL_FAILURE(loadShader(GL_FRAGMENT_SHADER, pFragmentSource, in createProgram()
DGLTest.h31 static void loadShader(GLenum shaderType, const char* pSource,
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp76 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
103 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
108 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/base/packages/WallpaperCropper/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
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java382 private int loadShader(int shaderType, String source) { in loadShader() method in CamRenderer
400 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
404 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/cpp/
DScene.cpp61 GLuint loadShader(GLenum shaderType, const char *pSource) { in loadShader() function
87 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
92 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java602 private int loadShader(int shaderType, String source) { in loadShader() method in VideoDumpView.VideoDumpRenderer
620 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
624 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLRenderer.java70 public static int loadShader(int type, String shaderCode) { in loadShader() method in BasicGLRenderer
DSwarm.java139 int vertexShader = BasicGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode); in Swarm()
140 … int fragmentShader = BasicGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in Swarm()
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java204 private int loadShader(Context context, int resourceId, int type) { in loadShader() method in ColorFade
226 int vshader = loadShader(context, com.android.internal.R.raw.color_fade_vert, in initGLShaders()
228 int fshader = loadShader(context, com.android.internal.R.raw.color_fade_frag, in initGLShaders()
/frameworks/rs/driver/
DrsdShader.h67 bool loadShader(const android::renderscript::Context *);
DrsdShader.cpp117 loadShader(rsc); in getStateBasedShaderID()
234 bool RsdShader::loadShader(const Context *rsc) { in loadShader() function in RsdShader
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java202 private int loadShader(int shaderType, String source) { in loadShader() method in SurfaceTextureRenderer
220 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
224 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java687 private static int loadShader(int shaderType, String source) { in loadShader() method in ImageShader
705 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
710 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()

12