/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
D | st_atom_constbuf.c | 57 unsigned shader_type) in st_upload_constants() argument 59 assert(shader_type == PIPE_SHADER_VERTEX || in st_upload_constants() 60 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants() 61 shader_type == PIPE_SHADER_GEOMETRY); in st_upload_constants() 94 __FUNCTION__, shader_type, params->NumParameters, in st_upload_constants() 99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb); in st_upload_constants() 102 st->state.constants[shader_type].ptr = params->ParameterValues; in st_upload_constants() 103 st->state.constants[shader_type].size = paramBytes; in st_upload_constants() 105 else if (st->state.constants[shader_type].ptr) { in st_upload_constants() 106 st->state.constants[shader_type].ptr = NULL; in st_upload_constants() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_constbuf.c | 57 unsigned shader_type) in st_upload_constants() argument 59 assert(shader_type == PIPE_SHADER_VERTEX || in st_upload_constants() 60 shader_type == PIPE_SHADER_FRAGMENT || in st_upload_constants() 61 shader_type == PIPE_SHADER_GEOMETRY); in st_upload_constants() 94 __FUNCTION__, shader_type, params->NumParameters, in st_upload_constants() 99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb); in st_upload_constants() 102 st->state.constants[shader_type].ptr = params->ParameterValues; in st_upload_constants() 103 st->state.constants[shader_type].size = paramBytes; in st_upload_constants() 105 else if (st->state.constants[shader_type].ptr) { in st_upload_constants() 106 st->state.constants[shader_type].ptr = NULL; in st_upload_constants() [all …]
|
/external/chromium_org/gpu/command_buffer/service/ |
D | shader_translator_cache.h | 35 sh::GLenum shader_type, 48 sh::GLenum shader_type; member 56 sh::GLenum shader_type, in ShaderTranslatorInitParams() 62 : shader_type(shader_type), in ShaderTranslatorInitParams()
|
D | shader_translator_cache.cc | 31 sh::GLenum shader_type, in GetTranslator() argument 37 ShaderTranslatorInitParams params(shader_type, in GetTranslator() 48 if (translator->Init(shader_type, shader_spec, resources, in GetTranslator()
|
D | shader_manager.h | 41 GLenum shader_type() const { in shader_type() function 130 Shader(GLuint service_id, GLenum shader_type); 184 GLenum shader_type);
|
D | shader_translator.cc | 129 GLenum shader_type, in Init() argument 136 DCHECK(shader_type == GL_FRAGMENT_SHADER || shader_type == GL_VERTEX_SHADER); in Init() 148 shader_type, shader_spec, shader_output, resources); in Init()
|
D | shader_manager.cc | 15 Shader::Shader(GLuint service_id, GLenum shader_type) in Shader() argument 18 shader_type_(shader_type), in Shader() 157 GLenum shader_type) { in CreateShader() argument 161 new Shader(service_id, shader_type)))); in CreateShader()
|
D | shader_translator.h | 69 sh::GLenum shader_type, 116 sh::GLenum shader_type,
|
D | program_manager.cc | 58 int ShaderTypeToIndex(GLenum shader_type) { in ShaderTypeToIndex() argument 59 switch (shader_type) { in ShaderTypeToIndex() 951 int index = ShaderTypeToIndex(shader->shader_type()); in AttachShader() 965 if (attached_shaders_[ShaderTypeToIndex(shader->shader_type())].get() != in DetachShader() 969 attached_shaders_[ShaderTypeToIndex(shader->shader_type())] = NULL; in DetachShader() 1045 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER && in DetectVaryingsMismatch() 1047 attached_shaders_[1]->shader_type() == GL_FRAGMENT_SHADER); in DetectVaryingsMismatch() 1082 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER && in DetectGlobalNameConflicts() 1084 attached_shaders_[1]->shader_type() == GL_FRAGMENT_SHADER); in DetectGlobalNameConflicts() 1106 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER && in CheckVaryingsPacking() [all …]
|
D | gles2_cmd_validation_autogen.h | 53 ValueValidator<GLenum> shader_type; variable
|
D | mocks.h | 94 sh::GLenum shader_type,
|
/external/mesa3d/src/glsl/ |
D | test_optpass.cpp | 169 int shader_type = GL_VERTEX_SHADER; in test_optpass() local 176 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER }, in test_optpass() 177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER }, in test_optpass() 205 shader->Type = shader_type; in test_optpass()
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
D | test_optpass.cpp | 169 int shader_type = GL_VERTEX_SHADER; in test_optpass() local 176 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER }, in test_optpass() 177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER }, in test_optpass() 205 shader->Type = shader_type; in test_optpass()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_context.h | 136 uint shader_type, 218 unsigned shader_type,
|
D | draw_context.c | 361 unsigned shader_type, in draw_set_mapped_constant_buffer() argument 366 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_constant_buffer() 367 shader_type == PIPE_SHADER_GEOMETRY); in draw_set_mapped_constant_buffer() 370 switch (shader_type) { in draw_set_mapped_constant_buffer()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_context.h | 136 uint shader_type, 218 unsigned shader_type,
|
D | draw_context.c | 361 unsigned shader_type, in draw_set_mapped_constant_buffer() argument 366 debug_assert(shader_type == PIPE_SHADER_VERTEX || in draw_set_mapped_constant_buffer() 367 shader_type == PIPE_SHADER_GEOMETRY); in draw_set_mapped_constant_buffer() 370 switch (shader_type) { in draw_set_mapped_constant_buffer()
|
/external/chromium_org/third_party/webrtc/modules/video_render/ios/ |
D | open_gles20.h | 43 GLuint LoadShader(GLenum shader_type, const char* shader_source);
|
D | open_gles20.mm | 166 GLuint OpenGles20::LoadShader(GLenum shader_type, const char* shader_source) { 167 GLuint shader = glCreateShader(shader_type); 185 shader_type,
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.h | 51 int shader_type,
|
D | xorg_renderer.c | 415 int shader_type, in renderer_set_constants() argument 420 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants() 433 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.h | 51 int shader_type,
|
D | xorg_renderer.c | 415 int shader_type, in renderer_set_constants() argument 420 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants() 433 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 46 int shader_type, const float *params, int param_bytes); 374 int shader_type, const float *params, int param_bytes) in renderer_set_constants() argument 377 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants() 388 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 46 int shader_type, const float *params, int param_bytes); 374 int shader_type, const float *params, int param_bytes) in renderer_set_constants() argument 377 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer : in renderer_set_constants() 388 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf); in renderer_set_constants()
|