/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ShaderTest.java | 49 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in testAccessLocalMatrix() local 52 shader.setLocalMatrix(m); in testAccessLocalMatrix() 53 assertFalse(shader.getLocalMatrix(m)); in testAccessLocalMatrix() 55 shader.setLocalMatrix(null); in testAccessLocalMatrix() 56 assertFalse(shader.getLocalMatrix(m)); in testAccessLocalMatrix() 61 Shader shader = new Shader(); in testMutateBaseObject() local 62 shader.setLocalMatrix(null); in testMutateBaseObject() 76 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); in testGetSetLocalMatrix() local 79 shader.setLocalMatrix(null); in testGetSetLocalMatrix() 81 assertFalse("shader should have no matrix set", shader.getLocalMatrix(paramMatrix)); in testGetSetLocalMatrix() [all …]
|
D | BitmapShaderTest.java | 53 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, in testBitmapShader() local 56 paint.setShader(shader); in testBitmapShader() 105 BitmapShader shader = new BitmapShader(bitmap, in testClamp() local 111 paint.setShader(shader); in testClamp() 127 BitmapShader shader = new BitmapShader(bitmap, in testRepeat() local 133 paint.setShader(shader); in testRepeat() 149 BitmapShader shader = new BitmapShader(bitmap, in testMirror() local 155 paint.setShader(shader); in testMirror()
|
D | SweepGradientTest.java | 65 Shader shader = new SweepGradient(CENTER, CENTER, colors[0], colors[1]); in test2Colors() local 66 mPaint.setShader(shader); in test2Colors() 75 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); in testColorArray() local 76 mPaint.setShader(shader); in testColorArray() 87 Shader shader = new SweepGradient(CENTER, CENTER, colors, positions); in testMultiColor() local 88 mPaint.setShader(shader); in testMultiColor()
|
D | ComposeShaderTest.java | 52 ComposeShader shader = new ComposeShader(blueGradient, redGradient, PorterDuff.Mode.SCREEN); in testPorterDuff() local 57 paint.setShader(shader); in testPorterDuff() 91 ComposeShader shader = new ComposeShader(redShader, cyanShader, xferMode); in testXfermode() local 96 paint.setShader(shader); in testXfermode()
|
D | CanvasTest.java | 2139 Shader shader = new ComposeShader(gradientShader, bitmapShader, Mode.OVERLAY); in testHwBitmapShaderInSwCanvas1() local 2141 p.setShader(shader); in testHwBitmapShaderInSwCanvas1() 2152 Shader shader = new ComposeShader(bitmapShader, gradientShader, Mode.OVERLAY); in testHwBitmapShaderInSwCanvas2() local 2154 p.setShader(shader); in testHwBitmapShaderInSwCanvas2()
|
/cts/tests/tests/opengl/libopengltest/ |
D | common.cpp | 24 GLuint shader = glCreateShader(shaderType); in loadShader() local 25 glShaderSource(shader, 1, &pSource, NULL); in loadShader() 26 glCompileShader(shader); in loadShader() 27 return shader; in loadShader()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | RendererBase.java | 53 int shader = GLES20.glCreateShader(type); in loadShader() local 54 GLES20.glShaderSource(shader, shaderCode); in loadShader() 55 GLES20.glCompileShader(shader); in loadShader() 56 mInfoLog = GLES20.glGetShaderInfoLog(shader); in loadShader() 57 return shader; in loadShader()
|
D | OpenGlEsVersionCtsActivity.java | 201 int shader = GLES31.glCreateShader(shaderType); in compileShaderAndAttach() local 202 if (shader == 0) { in compileShaderAndAttach() 206 GLES31.glShaderSource(shader, source); in compileShaderAndAttach() 207 GLES31.glCompileShader(shader); in compileShaderAndAttach() 209 GLES31.glGetShaderiv(shader, GLES31.GL_COMPILE_STATUS, compiled, 0); in compileShaderAndAttach() 212 Log.e(TAG, GLES31.glGetShaderInfoLog(shader)); in compileShaderAndAttach() 213 GLES31.glDeleteShader(shader); in compileShaderAndAttach() 216 GLES31.glAttachShader(program, shader); in compileShaderAndAttach() 217 GLES31.glDeleteShader(shader); in compileShaderAndAttach()
|
D | RendererOneColorBufferTest.java | 100 int shader; in LoadShader() local 104 shader = GLES20.glCreateShader(type); in LoadShader() 106 if (shader == 0) in LoadShader() 110 GLES20.glShaderSource(shader, shaderSrc); in LoadShader() 113 GLES20.glCompileShader(shader); in LoadShader() 116 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in LoadShader() 119 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in LoadShader() 120 GLES20.glDeleteShader(shader); in LoadShader() 123 return shader; in LoadShader()
|
D | EglConfigGLSurfaceView.java | 192 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 193 if (shader != 0) { in loadShader() 194 GLES20.glShaderSource(shader, source); in loadShader() 195 GLES20.glCompileShader(shader); in loadShader() 197 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 200 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 201 GLES20.glDeleteShader(shader); in loadShader() 202 shader = 0; in loadShader() 205 return shader; in loadShader()
|
D | CompressedTextureSurfaceView.java | 338 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 339 if (shader != 0) { in loadShader() 340 GLES20.glShaderSource(shader, source); in loadShader() 341 GLES20.glCompileShader(shader); in loadShader() 343 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 346 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 347 GLES20.glDeleteShader(shader); in loadShader() 348 shader = 0; in loadShader() 351 return shader; in loadShader()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | utils.cpp | 25 bool CompileShader(GLuint shader, const std::string& shader_string) { in CompileShader() argument 29 glShaderSource(shader, 1, shader_str, NULL); in CompileShader() 30 glCompileShader(shader); in CompileShader() 34 glGetShaderiv(shader, GL_COMPILE_STATUS, &success); in CompileShader() 37 glGetShaderInfoLog(shader, 512, NULL, infoLog); in CompileShader()
|
D | utils.h | 52 std::string StripLambda(const char(&shader)[size]) { in StripLambda() 53 return std::string(shader + 6, shader + size - 2); in StripLambda() 58 bool CompileShader(GLuint shader, const std::string& shader_string);
|
D | shadertoy_shader.cpp | 24 bool CompileShader10(GLuint shader, const std::string& shader_string) { in CompileShader10() argument 28 glShaderSource(shader, 1, shader_str, NULL); in CompileShader10() 29 glCompileShader(shader); in CompileShader10() 33 glGetShaderiv(shader, GL_COMPILE_STATUS, &success); in CompileShader10() 36 glGetShaderInfoLog(shader, 512, NULL, infoLog); in CompileShader10()
|
D | shadertoy_renderer.cpp | 28 ShadertoyShader shader; variable 70 shader.CreateShaderFromString(g_shader); in CreateShader() 122 …shader.PrepareForDraw(g_framebuffer_width, g_framebuffer_height, global_time, frame_count, (float)… in DrawFrame()
|
/cts/tests/openglperf2/jni/graphics/ |
D | GLUtils.cpp | 132 GLuint shader = glCreateShader(shaderType); in loadShader() local 133 if (shader) { in loadShader() 134 glShaderSource(shader, 1, source, NULL); in loadShader() 135 glCompileShader(shader); in loadShader() 137 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader() 140 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader() 143 glGetShaderInfoLog(shader, infoLen, NULL, infoLog); in loadShader() 148 glDeleteShader(shader); in loadShader() 149 shader = 0; in loadShader() 152 return shader; in loadShader()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | SurfaceTextureRenderer.java | 245 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 246 if (shader != 0) { in loadShader() 247 GLES20.glShaderSource(shader, source); in loadShader() 248 GLES20.glCompileShader(shader); in loadShader() 250 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 253 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 254 GLES20.glDeleteShader(shader); in loadShader() 255 shader = 0; in loadShader() 258 return shader; in loadShader()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | CtsMediaTextureRender.java | 199 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 201 GLES20.glShaderSource(shader, source); in loadShader() 202 GLES20.glCompileShader(shader); in loadShader() 204 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 207 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader)); in loadShader() 208 GLES20.glDeleteShader(shader); in loadShader() 209 shader = 0; in loadShader() 211 return shader; in loadShader()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TextureRender.java | 195 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 197 GLES20.glShaderSource(shader, source); in loadShader() 198 GLES20.glCompileShader(shader); in loadShader() 200 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 203 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader)); in loadShader() 204 GLES20.glDeleteShader(shader); in loadShader() 205 shader = 0; in loadShader() 207 return shader; in loadShader()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 722 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 724 GLES20.glShaderSource(shader, source); in loadShader() 725 GLES20.glCompileShader(shader); in loadShader() 727 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 730 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader)); in loadShader() 731 GLES20.glDeleteShader(shader); in loadShader() 732 shader = 0; in loadShader() 734 return shader; in loadShader()
|
D | DecodeAccuracyTestBase.java | 1217 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 1219 GLES20.glShaderSource(shader, source); in loadShader() 1220 GLES20.glCompileShader(shader); in loadShader() 1222 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 1226 Log.e(TAG, " " + GLES20.glGetShaderInfoLog(shader)); in loadShader() 1227 GLES20.glDeleteShader(shader); in loadShader() 1228 shader = 0; in loadShader() 1230 return shader; in loadShader()
|
/cts/tests/vr/src/android/vr/cts/ |
D | RendererBasicTest.java | 64 int shader = GLES20.glCreateShader(type); in loadShader() local 65 GLES20.glShaderSource(shader, shaderCode); in loadShader() 66 GLES20.glCompileShader(shader); in loadShader() 67 return shader; in loadShader()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 301 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 302 if (shader != 0) { in loadShader() 303 GLES20.glShaderSource(shader, source); in loadShader() 304 GLES20.glCompileShader(shader); in loadShader() 306 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 309 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 310 GLES20.glDeleteShader(shader); in loadShader() 311 shader = 0; in loadShader() 314 return shader; in loadShader()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraGLTest.java | 792 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 793 if (shader != 0) { in loadShader() 794 GLES20.glShaderSource(shader, source); in loadShader() 795 GLES20.glCompileShader(shader); in loadShader() 797 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 800 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 801 GLES20.glDeleteShader(shader); in loadShader() 802 shader = 0; in loadShader() 805 return shader; in loadShader()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 86872 public android.graphics.Shader shader
|