/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glGetShaderInfoLog.java | 1 // C function void glGetShaderInfoLog( GLuint shader, GLsizei maxLength, GLsizei * length, 5 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 ) 15 int shader, 21 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) 24 int shader
|
glShaderSource.java | 1 // C function void glShaderSource ( GLuint shader, GLsizei count, const GLchar ** string, const GLint* length ) 4 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);
|
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/chromium_org/third_party/mesa/src/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...] |
/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...] |
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
esShader.c | 38 /// \brief Load a shader, check for compile errors, print error messages to output log 39 /// \param type Type of shader (GL_VERTEX_SHADER or GL_FRAGMENT_SHADER) 40 /// \param shaderSrc Shader source string 41 /// \return A new shader object on success, 0 on failure 45 GLuint shader; local 48 // Create the shader object 49 shader = glCreateShader ( type ); 51 if ( shader == 0 ) 54 // Load the shader source 55 glShaderSource ( shader, 1, &shaderSrc, NULL ) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
shader_manager.cc | 15 Shader::Shader(GLuint service_id, GLenum shader_type) 22 Shader::~Shader() { 25 void Shader::IncUseCount() { 29 void Shader::DecUseCount() { 34 void Shader::MarkAsDeleted() { 39 void Shader::SetStatus( 61 const Shader::VariableInfo* 62 Shader::GetAttribInfo 102 Shader* shader = shaders_.begin()->second.get(); local [all...] |
shader_manager.h | 21 // This is used to keep the source code for a shader. This is because in order 25 class GPU_EXPORT Shader : public base::RefCounted<Shader> { 127 friend class base::RefCounted<Shader>; 130 Shader(GLuint service_id, GLenum shader_type); 131 ~Shader(); 139 // The shader this Shader is tracking. 141 // Type of shader - GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. 147 // The shader source as passed to glShaderSource [all...] |
/external/chromium_org/third_party/mesa/src/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...] |
/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...] |
/frameworks/base/graphics/java/android/graphics/ |
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 { 41 * replicate the edge color if the shader draws outside of its 46 * repeat the shader's image horizontally and vertically 50 * repeat the shader's image horizontally and vertically, alternating 62 * Return true if the shader has a non-identity local matrix. 63 * @param localM If not null, it is set to the shader's local matrix [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...] |
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
ProgramData.cpp | 50 GLuint shader = 0; local 53 shader = AttachedVertexShader; 56 shader = AttachedFragmentShader; 59 return shader; 62 bool ProgramData::attachShader(GLuint shader,GLenum type) { 64 AttachedVertexShader=shader; 68 AttachedFragmentShader=shader; 74 bool ProgramData::isAttached(GLuint shader) { 75 return (AttachedFragmentShader==shader || AttachedVertexShader==shader); [all...] |
/external/chromium_org/third_party/mesa/src/doxygen/ |
.gitignore | 17 shader
|
/external/mesa3d/doxygen/ |
.gitignore | 17 shader
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/skia/src/animator/ |
SkDrawShader.cpp | 32 if (fPaint->shader != (SkDrawShader*) -1) 34 fPaint->shader = this; 39 void SkDrawShader::addPostlude(SkShader* shader) { 41 shader->setLocalMatrix(matrix->getMatrix()); 59 if (fPaint->shader != (SkDrawShader*) -1) 61 fPaint->shader = this; 70 // note: bitmap shader now supports independent tile modes for X and Y 76 SkShader* shader = SkShader::CreateBitmapShader(image->fBitmap, 79 SkAutoTDelete<SkShader> autoDel(shader); 80 addPostlude(shader); [all...] |
/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...] |