/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetShaderInfoLog.java | 1 // C function void glGetShaderInfoLog( GLuint shader, GLsizei maxLength, GLsizei * length, 5 int shader
|
glShaderSource.java | 1 // C function void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint* length ) 4 int shader,
|
glGetShaderSource.java | 1 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 4 int shader, 12 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 16 int shader, 22 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 25 int shader
|
glGetProgramInfoLog.cpp | 3 /* void glGetProgramInfoLog ( GLuint shader, GLsizei maxLength, GLsizei* length, GLchar* infoLog ) */ 4 static jstring android_glGetProgramInfoLog(JNIEnv *_env, jobject, jint shader) { 6 glGetProgramiv(shader, GL_INFO_LOG_LENGTH, &infoLen); 15 glGetProgramInfoLog(shader, infoLen, NULL, buf);
|
glGetProgramPipelineInfoLog.cpp | 3 /* void glGetProgramPipelineInfoLog ( GLuint shader, GLsizei maxLength, GLsizei* length, GLchar* infoLog ) */ 4 static jstring android_glGetProgramPipelineInfoLog(JNIEnv *_env, jobject, jint shader) { 6 glGetProgramPipelineiv(shader, GL_INFO_LOG_LENGTH, &infoLen); 15 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf);
|
glGetShaderInfoLog.cpp | 3 /* void glGetShaderInfoLog ( GLuint shader, GLsizei maxLength, GLsizei* length, GLchar* infoLog ) */ 4 static jstring android_glGetShaderInfoLog(JNIEnv *_env, jobject, jint shader) { 6 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); 15 glGetShaderInfoLog(shader, infoLen, NULL, buf);
|
glShaderSource.cpp | 2 /* void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint * length ) */ 6 (JNIEnv *_env, jobject _this, jint shader, jstring string) { 15 glShaderSource(shader, 1, strings, 0);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
shader.h | 32 struct shader; 38 struct shader *shader_create(struct vg_context *context); 39 void shader_destroy(struct shader *shader); 41 void shader_set_color_transform(struct shader *shader, VGboolean set); 43 void shader_set_masking(struct shader *shader, VGboolean set); 44 VGboolean shader_is_masking(struct shader *shader); [all...] |
shader.c | 27 #include "shader.h" 44 struct shader { struct 64 struct shader * shader_create(struct vg_context *ctx) 66 struct shader *shader = 0; local 68 shader = CALLOC_STRUCT(shader); 69 shader->context = ctx; 71 return shader; 74 void shader_destroy(struct shader *shader [all...] |
/development/ndk/sources/android/ndk_helper/ |
shader.h | 36 namespace shader namespace in namespace:ndk_helper 40 * Shader compiler helper 41 * namespace: ndkHelper::shader 49 * out: shader, shader variable 50 * in: type, shader type (i.e. GL_VERTEX_SHADER/GL_FRAGMENT_SHADER) 52 * return: true if a shader compilation succeeded, false if it failed 55 bool CompileShader( GLuint *shader, const GLenum type, std::vector<uint8_t>& data ); 61 * out: shader, shader variabl [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mc.c | 53 calc_position(struct vl_mc *r, struct ureg_program *shader, struct ureg_src block_scale) 59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 60 vpos = ureg_DECL_vs_input(shader, VS_I_VPOS); 62 t_vpos = ureg_DECL_temporary(shader); 64 o_vpos = ureg_DECL_output(shader, TGSI_SEMANTIC_POSITION, VS_O_VPOS); 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); 74 ureg_MUL(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos), block_scale); 75 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_XY), ureg_src(t_vpos)); 76 ureg_MOV(shader, ureg_writemask(o_vpos, TGSI_WRITEMASK_ZW), ureg_imm1f(shader, 1.0f)) 104 struct ureg_program *shader; local 162 struct ureg_program *shader; local 227 struct ureg_program *shader; local 313 struct ureg_program *shader; local [all...] |
vl_idct.c | 72 calc_addr(struct ureg_program *shader, struct ureg_dst addr[2], 88 ureg_MOV(shader, ureg_writemask(addr[0], wm_start), ureg_scalar(start, sw_start)); 89 ureg_MOV(shader, ureg_writemask(addr[0], wm_tc), ureg_scalar(tc, sw_tc)); 91 ureg_ADD(shader, ureg_writemask(addr[1], wm_start), ureg_scalar(start, sw_start), ureg_imm1f(shader, 1.0f / size)); 92 ureg_MOV(shader, ureg_writemask(addr[1], wm_tc), ureg_scalar(tc, sw_tc)); 96 increment_addr(struct ureg_program *shader, struct ureg_dst daddr[2], 108 ureg_MOV(shader, ureg_writemask(daddr[0], wm_start), saddr[0]); 109 ureg_ADD(shader, ureg_writemask(daddr[0], wm_tc), saddr[0], ureg_imm1f(shader, pos / size)) 145 struct ureg_program *shader; local 194 struct ureg_program *shader; local 261 struct ureg_program *shader; local 323 struct ureg_program *shader; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ShaderTest.java | 22 import android.graphics.Shader; 27 new Shader(); 36 Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT); local 39 shader.setLocalMatrix(m); 40 assertFalse(shader.getLocalMatrix(m)); 42 shader.setLocalMatrix(null); 43 assertFalse(shader.getLocalMatrix(m)) [all...] |
/external/mesa3d/doxygen/ |
.gitignore | 17 shader
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_shader.cpp | 36 struct brw_shader *shader; local 38 shader = rzalloc(NULL, struct brw_shader); 39 if (shader) { 40 shader->base.Type = type; 41 shader->base.Name = name; 42 _mesa_init_shader(ctx, &shader->base); 45 return &shader->base; 61 * Performs a compile of the shader stages even when we don't know 87 struct brw_shader *shader = local 95 if (!shader) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_gs.c | 164 draw_geometry_fetch_outputs(struct draw_geometry_shader *shader, 168 struct tgsi_exec_machine *machine = shader->machine; 179 shader->primitive_lengths[prim_idx + shader->emitted_primitives] = 181 shader->emitted_vertices += num_verts_per_prim; 184 shader->info.num_outputs; 186 debug_printf("%d) Output vert:\n", idx / shader->info.num_outputs); 188 for (slot = 0; slot < shader->info.num_outputs; slot++) { 202 output = (float (*)[4])((char *)output + shader->vertex_size); 206 shader->emitted_primitives += num_primitives [all...] |
/external/skia/tests/ |
PictureShaderTest.cpp | 13 // Test that attempting to create a picture shader with a NULL picture or 16 SkShader* shader = SkShader::CreatePictureShader(NULL, local 18 REPORTER_ASSERT(reporter, NULL == shader); 23 shader = SkShader::CreatePictureShader(picture.get(), 25 REPORTER_ASSERT(reporter, NULL == shader);
|
/frameworks/base/libs/hwui/ |
ProgramCache.cpp | 428 // program for A8, unmodulated, texture w/o shader (black text/path textures) is equivalent 462 String8 shader(gVS_Header_Attributes); 464 shader.append(gVS_Header_Attributes_TexCoords); 467 shader.append(gVS_Header_Attributes_VertexAlphaParameters); 470 shader.append(gVS_Header_Attributes_Colors); 473 shader.append(gVS_Header_Uniforms); 475 shader.append(gVS_Header_Uniforms_TextureTransform); 478 shader.append(gVS_Header_Uniforms_HasGradient); 481 shader.append(gVS_Header_Uniforms_HasBitmap); 484 shader.append(gVS_Header_Uniforms_HasRoundRectClip) 548 String8 shader; local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_state_sampler.c | 70 * Bind a range [start, start+num-1] of samplers for a shader stage. 74 unsigned shader, 82 assert(shader < PIPE_SHADER_TYPES); 83 assert(start + num <= Elements(softpipe->samplers[shader])); 86 if (start + num <= softpipe->num_samplers[shader] && 87 !memcmp(softpipe->samplers[shader] + start, samplers, 96 softpipe->samplers[shader][start + i] = samplers[i]; 101 unsigned j = MAX2(softpipe->num_samplers[shader], start + num); 102 while (j > 0 && softpipe->samplers[shader][j - 1] == NULL) 104 softpipe->num_samplers[shader] = j [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
AttachShaderTest.java | 43 * shader count : 2 48 mActivity = getShaderActivity(Constants.SHADER, 1); 56 * Test: Attach an invalid vertex shader to the program handle 58 * shader count : 1 65 mActivity = getShaderActivity(Constants.SHADER, 2); 73 * shader count : 1 80 mActivity = getShaderActivity(Constants.SHADER, 3); 87 * Test: No shader is attached to a program, glGetAttachedShaders returns 89 * shader count : 0 96 mActivity = getShaderActivity(Constants.SHADER, 4) [all...] |
NativeAttachShaderTest.java | 44 * shader count : 2 49 mActivity = getShaderActivity(Constants.SHADER, 1); 57 * Test: Attach an invalid vertex shader to the program handle 59 * shader count : 1 65 mActivity = getShaderActivity(Constants.SHADER, 2); 73 * shader count : 1 79 mActivity = getShaderActivity(Constants.SHADER, 3); 85 * Test: No shader is attached to a program, glGetAttachedShaders returns 87 * shader count : 0 93 mActivity = getShaderActivity(Constants.SHADER, 4) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
ComposeShader.java | 19 /** A subclass of shader that returns the composition of two other shaders, combined by 22 public class ComposeShader extends Shader { 39 private final Shader mShaderA; 41 private final Shader mShaderB; 43 /** Create a new compose shader, given shaders A, B, and a combining mode. 44 When the mode is applied, it will be given the result from shader A as its 45 "dst", and the result from shader B as its "src". 46 @param shaderA The colors from this shader are seen as the "dst" by the mode 47 @param shaderB The colors from this shader are seen as the "src" by the mode 51 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) [all...] |
Shader.java | 20 * Shader is the based class for objects that return horizontal spans of colors 21 * during drawing. A subclass of Shader is installed in a Paint calling 22 * paint.setShader(shader). After that any object (other than a bitmap) that is 23 * drawn with that paint will get its color(s) from the shader. 25 public class Shader { 44 * replicate the edge color if the shader draws outside of its 49 * repeat the shader's image horizontally and vertically 53 * repeat the shader's image horizontally and vertically, alternating 65 * Return true if the shader has a non-identity local matrix. 66 * @param localM If not null, it is set to the shader's local matrix [all...] |
/external/skia/src/gpu/gl/debug/ |
GrProgramObj.cpp | 12 void GrProgramObj::AttachShader(GrShaderObj *shader) { 13 shader->ref(); 14 fShaders.push_back(shader);
|
/external/mesa3d/src/glsl/ |
main.cpp | 141 compile_shader(struct gl_context *ctx, struct gl_shader *shader) 144 new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader); 146 const char *source = shader->Source; 164 shader->ir = new(shader) exec_list; 166 _mesa_ast_to_hir(shader->ir, state); 170 validate_ir_tree(shader->ir); 171 _mesa_print_ir(shader->ir, state) 240 struct gl_shader *shader = rzalloc(whole_program, gl_shader); local [all...] |