Home
last modified time | relevance | path

Searched refs:shader (Results 1 – 22 of 22) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DRenderer.cpp39 GLuint shader = glCreateShader(shaderType); in loadShader() local
40 if (shader) { in loadShader()
41 glShaderSource(shader, 1, &pSource, NULL); in loadShader()
42 glCompileShader(shader); in loadShader()
44 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
47 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
51 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
56 glDeleteShader(shader); in loadShader()
57 shader = 0; in loadShader()
61 return shader; in loadShader()
/packages/services/Car/cpp/evs/apps/default/
Dshader.cpp25 GLuint shader = glCreateShader (type); in loadShader() local
26 if (shader == 0) { in loadShader()
31 glShaderSource(shader, 1, &shaderSrc, nullptr); in loadShader()
32 glCompileShader(shader); in loadShader()
36 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
41 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &size); in loadShader()
46 glGetShaderInfoLog(shader, size, NULL, infoLog.get()); in loadShader()
50 glDeleteShader(shader); in loadShader()
54 return shader; in loadShader()
DAndroid.bp34 "shader.cpp",
/packages/services/Car/cpp/evs/support_library/
Dshader.cpp25 GLuint shader = glCreateShader (type); in loadShader() local
26 if (shader == 0) { in loadShader()
31 glShaderSource(shader, 1, &shaderSrc, nullptr); in loadShader()
32 glCompileShader(shader); in loadShader()
36 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
41 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &size); in loadShader()
46 glGetShaderInfoLog(shader, size, NULL, infoLog.get()); in loadShader()
50 glDeleteShader(shader); in loadShader()
54 return shader; in loadShader()
DAndroid.bp30 "shader.cpp",
/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/
DGLES20TriangleRenderer.java156 int shader = GLES20.glCreateShader(shaderType); in loadShader() local
157 if (shader != 0) { in loadShader()
158 GLES20.glShaderSource(shader, source); in loadShader()
159 GLES20.glCompileShader(shader); in loadShader()
161 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader()
164 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader()
165 GLES20.glDeleteShader(shader); in loadShader()
166 shader = 0; in loadShader()
169 return shader; in loadShader()
/packages/services/Car/cpp/evs/sampleDriver/
DGlWrapper.cpp102 GLuint shader = glCreateShader (type); in loadShader() local
103 if (shader == 0) { in loadShader()
108 glShaderSource(shader, 1, &shaderSrc, nullptr); in loadShader()
109 glCompileShader(shader); in loadShader()
113 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
118 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &size); in loadShader()
123 glGetShaderInfoLog(shader, size, nullptr, infoLog); in loadShader()
128 glDeleteShader(shader); in loadShader()
132 return shader; in loadShader()
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DGLES20CarEvsCameraPreviewRenderer.java284 int shader = GLES20.glCreateShader(shaderType); in loadShader() local
285 if (shader == 0) { in loadShader()
290 GLES20.glShaderSource(shader, source); in loadShader()
291 GLES20.glCompileShader(shader); in loadShader()
293 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader()
296 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader()
297 GLES20.glDeleteShader(shader); in loadShader()
301 return shader; in loadShader()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java263 int shader = glCreateShader(type); in buildShader() local
265 glShaderSource(shader, source); in buildShader()
268 glCompileShader(shader); in buildShader()
272 glGetShaderiv(shader, GL_COMPILE_STATUS, status, 0); in buildShader()
274 String error = glGetShaderInfoLog(shader); in buildShader()
276 glDeleteShader(shader); in buildShader()
280 return shader; in buildShader()
/packages/services/Car/service/src/com/android/car/pm/blurredbackground/
DGLHelper.java187 int shader = GLES30.glCreateShader(shaderType); in compileShader() local
188 GLES30.glShaderSource(shader, shaderSource); in compileShader()
190 GLES30.glCompileShader(shader); in compileShader()
193 return shader; in compileShader()
/packages/services/Car/service/res/raw/
Dvertex_shader.glsl8 * This vertex shader maps the projection matrix to the
10 * the coordinates of the texture to a vertex shader
Dvertical_blur_fragment_shader.glsl14 * This shader sets the colour of each fragment to be the weighted average of the uRadius fragments
Dhorizontal_blur_fragment_shader.glsl14 * This shader sets the colour of each fragment to be the weighted average of the uRadius fragments
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DAvatarUtil.java231 final BitmapShader shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in drawBitmapWithCircleOnCanvas() local
237 shader.setLocalMatrix(matrix); in drawBitmapWithCircleOnCanvas()
246 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java225 int shader = GLES20.glCreateShader(type); in loadShader() local
228 GLES20.glShaderSource(shader, shaderCode); in loadShader()
230 GLES20.glCompileShader(shader); in loadShader()
233 return shader; in loadShader()
/packages/apps/Camera2/src/com/android/camera/widget/
DRoundedThumbnailView.java667 BitmapShader shader = new BitmapShader( in precomputeThumbnailPaint() local
686 shader.setLocalMatrix(shaderMatrix); in precomputeThumbnailPaint()
692 mThumbnailPaint.setShader(shader); in precomputeThumbnailPaint()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java229 Shader shader = new LinearGradient(0, start, 0, end, startColor, in onDraw() local
231 mPaint.setShader(shader); in onDraw()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java135 final BitmapShader shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in drawBitmapWithCircleOnCanvas() local
141 shader.setLocalMatrix(matrix); in drawBitmapWithCircleOnCanvas()
153 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java334 int shader = GLES20.glCreateShader(type); in loadShader() local
337 GLES20.glShaderSource(shader, shaderCode); in loadShader()
339 GLES20.glCompileShader(shader); in loadShader()
342 return shader; in loadShader()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...