Home
last modified time | relevance | path

Searched refs:loadShader (Results 1 – 18 of 18) 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/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/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/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_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/av/libvideoeditor/lvpp/
DNativeWindowRenderer.cpp230 loadShader(GL_VERTEX_SHADER, vSrcNormal, &vShader); in createPrograms()
238 loadShader(GL_FRAGMENT_SHADER, fSrc[i], &fShader); in createPrograms()
283 void NativeWindowRenderer::loadShader(GLenum shaderType, const char* pSource, in loadShader() function in android::NativeWindowRenderer
DNativeWindowRenderer.h71 void loadShader(
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java597 private int loadShader(int shaderType, String source) { in loadShader() method in VideoDumpView.VideoDumpRenderer
615 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram()
619 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd101 public static int loadShader(int type, String shaderCode){
128 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode);
129 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);
/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/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp196 void loadShader(GLenum shaderType, const char* pSource, GLuint* outShader) { in loadShader() function in android::GLTest
241 loadShader(GL_VERTEX_SHADER, pVertexSource, &vertexShader); in createProgram()
248 loadShader(GL_FRAGMENT_SHADER, pFragmentSource, &fragmentShader); in createProgram()
/frameworks/native/libs/gui/tests/
DSurfaceTexture_test.cpp287 static void loadShader(GLenum shaderType, const char* pSource, in loadShader() function
333 ASSERT_NO_FATAL_FAILURE(loadShader(GL_VERTEX_SHADER, pVertexSource, in createProgram()
338 ASSERT_NO_FATAL_FAILURE(loadShader(GL_FRAGMENT_SHADER, pFragmentSource, in createProgram()