Home
last modified time | relevance | path

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

12

/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/rain/
DRainEffectConfig.kt61 rainShowerShader = GraphicsUtils.loadShader(assets, RAIN_SHOWER_LAYER_SHADER_PATH),
62 glassRainShader = GraphicsUtils.loadShader(assets, GLASS_RAIN_LAYER_SHADER_PATH),
63 colorGradingShader = GraphicsUtils.loadShader(assets, COLOR_GRADING_SHADER_PATH),
64 outlineShader = GraphicsUtils.loadShader(assets, OUTLINE_SHADER_PATH),
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/snow/
DSnowEffectConfig.kt66 shader = GraphicsUtils.loadShader(context.assets, SHADER_PATH),
68 GraphicsUtils.loadShader(context.assets, ACCUMULATED_SNOW_SHADER_PATH),
69 colorGradingShader = GraphicsUtils.loadShader(context.assets, COLOR_GRADING_SHADER_PATH),
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DOpenGLUtils.java40 public static int loadShader(int type, String shaderCode) { in loadShader() method in OpenGLUtils
54 final int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode); in createProgram()
55 final int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode); in createProgram()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/fog/
DFogEffectConfig.kt71 shader = GraphicsUtils.loadShader(assets, SHADER_PATH),
72 colorGradingShader = GraphicsUtils.loadShader(assets, COLOR_GRADING_SHADER_PATH),
/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/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/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/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/graphics/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.h31 static void loadShader(GLenum shaderType, const char* pSource,
DGLTest.cpp246 void GLTest::loadShader(GLenum shaderType, const char* pSource, in loadShader() function in android::GLTest
292 ASSERT_NO_FATAL_FAILURE(loadShader(GL_VERTEX_SHADER, pVertexSource, in createProgram()
297 ASSERT_NO_FATAL_FAILURE(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_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_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/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/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DGraphicsUtils.kt42 fun loadShader(assetManager: AssetManager, path: String): RuntimeShader { in <lambda>() method
/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
/frameworks/rs/driver/
DrsdShader.h67 bool loadShader(const android::renderscript::Context *);
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DRemoteContext.java220 public abstract void loadShader(int id, ShaderData value); in loadShader() method in RemoteContext
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidRemoteContext.java125 public void loadShader(int id, ShaderData value) { in loadShader() method in AndroidRemoteContext

12