Searched refs:shader (Results 1 – 13 of 13) 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()
14 shader.cpp \
99 GLuint shader = glCreateShader (type); in loadShader() local100 if (shader == 0) { in loadShader()105 glShaderSource(shader, 1, &shaderSrc, nullptr); in loadShader()106 glCompileShader(shader); in loadShader()110 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()115 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &size); in loadShader()120 glGetShaderInfoLog(shader, size, nullptr, infoLog); in loadShader()125 glDeleteShader(shader); in loadShader()129 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()
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()
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()
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()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...