Searched refs:shader_type (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom_constbuf.c53 * \param shader_type either PIPE_SHADER_VERTEX or PIPE_SHADER_FRAGMENT
57 unsigned shader_type)
59 assert(shader_type == PIPE_SHADER_VERTEX ||
60 shader_type == PIPE_SHADER_FRAGMENT ||
61 shader_type == PIPE_SHADER_GEOMETRY);
94 __FUNCTION__, shader_type, params->NumParameters,
99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb);
102 st->state.constants[shader_type].ptr = params->ParameterValues;
103 st->state.constants[shader_type].size = paramBytes;
105 else if (st->state.constants[shader_type]
55 st_upload_constants( struct st_context *st, struct gl_program_parameter_list *params, unsigned shader_type) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_constbuf.c53 * \param shader_type either PIPE_SHADER_VERTEX or PIPE_SHADER_FRAGMENT
57 unsigned shader_type)
59 assert(shader_type == PIPE_SHADER_VERTEX ||
60 shader_type == PIPE_SHADER_FRAGMENT ||
61 shader_type == PIPE_SHADER_GEOMETRY);
94 __FUNCTION__, shader_type, params->NumParameters,
99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb);
102 st->state.constants[shader_type].ptr = params->ParameterValues;
103 st->state.constants[shader_type].size = paramBytes;
105 else if (st->state.constants[shader_type]
55 st_upload_constants( struct st_context *st, struct gl_program_parameter_list *params, unsigned shader_type) argument
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dshader_translator_cache.h35 sh::GLenum shader_type,
48 sh::GLenum shader_type; member in struct:gpu::gles2::ShaderTranslatorCache::ShaderTranslatorInitParams
56 sh::GLenum shader_type,
62 : shader_type(shader_type),
55 ShaderTranslatorInitParams( sh::GLenum shader_type, ShShaderSpec shader_spec, const ShBuiltInResources& resources, ShaderTranslatorInterface::GlslImplementationType glsl_implementation_type, ShCompileOptions driver_bug_workarounds) argument
H A Dshader_translator_cache.cc31 sh::GLenum shader_type,
37 ShaderTranslatorInitParams params(shader_type,
48 if (translator->Init(shader_type, shader_spec, resources,
30 GetTranslator( sh::GLenum shader_type, ShShaderSpec shader_spec, const ShBuiltInResources* resources, ShaderTranslatorInterface::GlslImplementationType glsl_implementation_type, ShCompileOptions driver_bug_workarounds) argument
H A Dshader_manager.h41 GLenum shader_type() const { function in class:gpu::gles2::Shader
130 Shader(GLuint service_id, GLenum shader_type);
184 GLenum shader_type);
H A Dshader_translator.h69 sh::GLenum shader_type,
116 sh::GLenum shader_type,
H A Dshader_manager.cc15 Shader::Shader(GLuint service_id, GLenum shader_type) argument
18 shader_type_(shader_type),
157 GLenum shader_type) {
161 new Shader(service_id, shader_type))));
154 CreateShader( GLuint client_id, GLuint service_id, GLenum shader_type) argument
H A Dshader_translator.cc129 GLenum shader_type,
136 DCHECK(shader_type == GL_FRAGMENT_SHADER || shader_type == GL_VERTEX_SHADER);
148 shader_type, shader_spec, shader_output, resources);
128 Init( GLenum shader_type, ShShaderSpec shader_spec, const ShBuiltInResources* resources, ShaderTranslatorInterface::GlslImplementationType glsl_implementation_type, ShCompileOptions driver_bug_workarounds) argument
H A Dgles2_cmd_validation_autogen.h53 ValueValidator<GLenum> shader_type; variable
H A Dmocks.h94 sh::GLenum shader_type,
H A Dprogram_manager.cc58 int ShaderTypeToIndex(GLenum shader_type) { argument
59 switch (shader_type) {
951 int index = ShaderTypeToIndex(shader->shader_type());
965 if (attached_shaders_[ShaderTypeToIndex(shader->shader_type())].get() !=
969 attached_shaders_[ShaderTypeToIndex(shader->shader_type())] = NULL;
1045 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER &&
1047 attached_shaders_[1]->shader_type() == GL_FRAGMENT_SHADER);
1082 attached_shaders_[0]->shader_type() == GL_VERTEX_SHADER &&
1084 attached_shaders_[1]->shader_type() == GL_FRAGMENT_SHADER);
1106 attached_shaders_[0]->shader_type()
[all...]
/external/chromium_org/third_party/webrtc/modules/video_render/ios/
H A Dopen_gles20.h43 GLuint LoadShader(GLenum shader_type, const char* shader_source);
H A Dopen_gles20.mm166 GLuint OpenGles20::LoadShader(GLenum shader_type, const char* shader_source) {
167 GLuint shader = glCreateShader(shader_type);
185 shader_type,
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_renderer.h51 int shader_type,
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dtest_optpass.cpp169 int shader_type = GL_VERTEX_SHADER; local
176 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER },
177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER },
205 shader->Type = shader_type;
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_renderer.h51 int shader_type,
/external/mesa3d/src/glsl/
H A Dtest_optpass.cpp169 int shader_type = GL_VERTEX_SHADER; local
176 { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER },
177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER },
205 shader->Type = shader_type;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_context.h136 uint shader_type,
218 unsigned shader_type,
H A Ddraw_context.c361 unsigned shader_type,
366 debug_assert(shader_type == PIPE_SHADER_VERTEX ||
367 shader_type == PIPE_SHADER_GEOMETRY);
370 switch (shader_type) {
360 draw_set_mapped_constant_buffer(struct draw_context *draw, unsigned shader_type, unsigned slot, const void *buffer, unsigned size ) argument
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_context.h136 uint shader_type,
218 unsigned shader_type,
H A Ddraw_context.c361 unsigned shader_type,
366 debug_assert(shader_type == PIPE_SHADER_VERTEX ||
367 shader_type == PIPE_SHADER_GEOMETRY);
370 switch (shader_type) {
360 draw_set_mapped_constant_buffer(struct draw_context *draw, unsigned shader_type, unsigned slot, const void *buffer, unsigned size ) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_priv.h221 int shader_type, const float *params,
H A Dxa_renderer.c46 int shader_type, const float *params, int param_bytes);
374 int shader_type, const float *params, int param_bytes)
377 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer :
388 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf);
373 renderer_set_constants(struct xa_context *r, int shader_type, const float *params, int param_bytes) argument
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_priv.h221 int shader_type, const float *params,
H A Dxa_renderer.c46 int shader_type, const float *params, int param_bytes);
374 int shader_type, const float *params, int param_bytes)
377 (shader_type == PIPE_SHADER_VERTEX) ? &r->vs_const_buffer :
388 pipe_set_constant_buffer(r->pipe, shader_type, 0, *cbuf);
373 renderer_set_constants(struct xa_context *r, int shader_type, const float *params, int param_bytes) argument

Completed in 406 milliseconds

12