Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp37 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
64 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
69 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); in createProgram()
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp37 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function
64 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram()
69 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/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/rs/java/tests/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/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/native/opengl/tests/gl2_basic/
Dgl2_basic.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/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/libs/gui/tests/
DGLTest.cpp252 void GLTest::loadShader(GLenum shaderType, const char* pSource, in loadShader() function in android::GLTest
298 ASSERT_NO_FATAL_FAILURE(loadShader(GL_VERTEX_SHADER, pVertexSource, in createProgram()
303 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/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/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/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/base/services/core/java/com/android/server/display/
DColorFade.java200 private int loadShader(Context context, int resourceId, int type) { in loadShader() method in ColorFade
222 int vshader = loadShader(context, com.android.internal.R.raw.color_fade_vert, in initGLShaders()
224 int fshader = loadShader(context, com.android.internal.R.raw.color_fade_frag, in initGLShaders()
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd115 public static int loadShader(int type, String shaderCode){
147 int vertexShader = MyGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER,
149 int fragmentShader = MyGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER,
/frameworks/rs/driver/
DrsdShader.h66 bool loadShader(const android::renderscript::Context *);
DrsdShader.cpp113 loadShader(rsc); in getStateBasedShaderID()
230 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()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp198 void loadShader(GLenum shaderType, const char* pSource, GLuint* outShader) { in loadShader() function in android::GLTest
243 loadShader(GL_VERTEX_SHADER, pVertexSource, &vertexShader); in createProgram()
250 loadShader(GL_FRAGMENT_SHADER, pFragmentSource, &fragmentShader); in createProgram()