Searched refs:shader (Results 1 – 22 of 22) sorted by relevance
39 GLuint shader = glCreateShader(shaderType); in loadShader() local40 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()
25 GLuint shader = glCreateShader (type); in loadShader() local26 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()
34 "shader.cpp",
30 "shader.cpp",
156 int shader = GLES20.glCreateShader(shaderType); in loadShader() local157 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()
102 GLuint shader = glCreateShader (type); in loadShader() local103 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()
284 int shader = GLES20.glCreateShader(shaderType); in loadShader() local285 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()
263 int shader = glCreateShader(type); in buildShader() local265 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()
187 int shader = GLES30.glCreateShader(shaderType); in compileShader() local188 GLES30.glShaderSource(shader, shaderSource); in compileShader()190 GLES30.glCompileShader(shader); in compileShader()193 return shader; in compileShader()
8 * This vertex shader maps the projection matrix to the10 * the coordinates of the texture to a vertex shader
14 * This shader sets the colour of each fragment to be the weighted average of the uRadius fragments
231 final BitmapShader shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in drawBitmapWithCircleOnCanvas() local237 shader.setLocalMatrix(matrix); in drawBitmapWithCircleOnCanvas()246 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas()
225 int shader = GLES20.glCreateShader(type); in loadShader() local228 GLES20.glShaderSource(shader, shaderCode); in loadShader()230 GLES20.glCompileShader(shader); in loadShader()233 return shader; in loadShader()
667 BitmapShader shader = new BitmapShader( in precomputeThumbnailPaint() local686 shader.setLocalMatrix(shaderMatrix); in precomputeThumbnailPaint()692 mThumbnailPaint.setShader(shader); in precomputeThumbnailPaint()
229 Shader shader = new LinearGradient(0, start, 0, end, startColor, in onDraw() local231 mPaint.setShader(shader); in onDraw()
135 final BitmapShader shader = new BitmapShader(bitmap, TileMode.CLAMP, TileMode.CLAMP); in drawBitmapWithCircleOnCanvas() local141 shader.setLocalMatrix(matrix); in drawBitmapWithCircleOnCanvas()153 bitmapPaint.setShader(shader); in drawBitmapWithCircleOnCanvas()
334 int shader = GLES20.glCreateShader(type); in loadShader() local337 GLES20.glShaderSource(shader, shaderCode); in loadShader()339 GLES20.glCompileShader(shader); in loadShader()342 return shader; in loadShader()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...