Home
last modified time | relevance | path

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

/aosp12/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
H A DRenderer.cpp38 GLuint Renderer::loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
39 GLuint shader = glCreateShader(shaderType); in loadShader()
53 shaderType, buf); in loadShader()
H A DRenderer.h34 GLuint loadShader(GLenum shaderType, const char* pSource);
/aosp12/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp42 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
43 GLuint shader = glCreateShader(shaderType); in loadShader()
57 shaderType, buf); in loadShader()
/aosp12/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp42 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
43 GLuint shader = glCreateShader(shaderType); in loadShader()
57 shaderType, buf); in loadShader()
/aosp12/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java95 private int loadShader(int shaderType, String source) { in loadShader() argument
96 int shader = GLES20.glCreateShader(shaderType); in loadShader()
103 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/frameworks/av/cmds/screenrecord/
H A DProgram.cpp137 status_t Program::compileShader(GLenum shaderType, const char* src, in compileShader() argument
139 GLuint shader = glCreateShader(shaderType); in compileShader()
151 ALOGE("Compile of shader type %d failed", shaderType); in compileShader()
H A DProgram.h78 static status_t compileShader(GLenum shaderType, const char* src,
/aosp12/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp83 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
84 GLuint shader = glCreateShader(shaderType); in loadShader()
98 shaderType, buf); in loadShader()
107 shaderType, buf); in loadShader()
/aosp12/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java169 private int loadShader(int shaderType, String source) { in loadShader() argument
170 int shader = GLES20.glCreateShader(shaderType); in loadShader()
177 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/
H A DGLES20TriangleRenderer.java155 private int loadShader(int shaderType, String source) { in loadShader() argument
156 int shader = GLES20.glCreateShader(shaderType); in loadShader()
163 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/frameworks/native/cmds/flatland/
H A DGLHelper.cpp288 static bool compileShader(GLenum shaderType, const char* src, in compileShader() argument
290 GLuint shader = glCreateShader(shaderType); in compileShader()
345 static bool compileShaderLines(GLenum shaderType, const char* const* lines, in compileShaderLines() argument
348 bool result = compileShader(shaderType, src, outShader); in compileShaderLines()
/aosp12/frameworks/native/opengl/tests/gl_perf/
H A Dfill_common.cpp33 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
34 GLuint shader = glCreateShader(shaderType); in loadShader()
47 ALOGE("Could not compile shader %d:\n%s\n", shaderType, buf); in loadShader()
/aosp12/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java235 private int loadShader(int shaderType, String source) { in loadShader() argument
236 int shader = GLES20.glCreateShader(shaderType); in loadShader()
243 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/packages/services/Car/service/src/com/android/car/pm/blurredbackground/
H A DGLHelper.java186 private static int compileShader(int shaderType, String shaderSource) { in compileShader() argument
187 int shader = GLES30.glCreateShader(shaderType); in compileShader()
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java264 private int loadShader(int shaderType, String source) { in loadShader() argument
265 int shader = GLES20.glCreateShader(shaderType); in loadShader()
272 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp85 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
86 GLuint shader = glCreateShader(shaderType); in loadShader()
100 shaderType, buf); in loadShader()
/aosp12/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
H A DGLES20CarEvsCameraPreviewRenderer.java301 private int loadShader(int shaderType, String source) { in loadShader() argument
302 int shader = GLES20.glCreateShader(shaderType); in loadShader()
313 Log.e(TAG, "Could not compile shader " + shaderType + ": "); in loadShader()
/aosp12/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp76 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() argument
77 GLuint shader = glCreateShader(shaderType); in loadShader()
91 shaderType, buf); in loadShader()
/aosp12/hardware/libhardware/tests/hwc/
H A Dutil.c47 static GLuint load_shader(GLenum shaderType, const char *src) { in load_shader() argument
51 if (!(shader = glCreateShader(shaderType))) in load_shader()
/aosp12/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java382 private int loadShader(int shaderType, String source) { in loadShader() argument
383 int shader = GLES20.glCreateShader(shaderType); in loadShader()
390 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/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, in loadShader() argument
256 GLuint shader = glCreateShader(shaderType); in loadShader()
/aosp12/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java602 private int loadShader(int shaderType, String source) { in loadShader() argument
603 int shader = GLES20.glCreateShader(shaderType); in loadShader()
610 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader()
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java687 private static int loadShader(int shaderType, String source) { in loadShader() argument
688 int shader = GLES20.glCreateShader(shaderType); in loadShader()
698 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info); in loadShader()
/aosp12/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp694 GLuint compileShader(GLenum shaderType, const GLchar *source) { in compileShader() argument
695 GLuint shader = glCreateShader(shaderType); in compileShader()
701 SLOGE("Compile shader failed. Shader type: %d", shaderType); in compileShader()