Home
last modified time | relevance | path

Searched refs:fragment_shader (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/media/tools/player_x11/
Dgl_video_renderer.cc192 GLuint fragment_shader = glCreateShader(GL_FRAGMENT_SHADER); in Initialize() local
195 glShaderSource(fragment_shader, 1, &ps_source, &ps_size); in Initialize()
196 glCompileShader(fragment_shader); in Initialize()
198 glGetShaderiv(fragment_shader, GL_COMPILE_STATUS, &result); in Initialize()
202 glGetShaderInfoLog(fragment_shader, kErrorSize - 1, &len, log); in Initialize()
206 glAttachShader(program, fragment_shader); in Initialize()
207 glDeleteShader(fragment_shader); in Initialize()
/external/chromium_org/cc/output/
Dgl_renderer.cc375 gl_->Uniform4f(program->fragment_shader().color_location(), in DrawCheckerboardQuad()
390 gl_->Uniform4f(program->fragment_shader().tex_transform_location(), in DrawCheckerboardQuad()
397 gl_->Uniform1f(program->fragment_shader().frequency_location(), in DrawCheckerboardQuad()
401 program->fragment_shader().alpha_location()); in DrawCheckerboardQuad()
434 gl_->Uniform4f(program->fragment_shader().color_location(), in DrawDebugBorderQuad()
966 GLC(gl_, gl_->Uniform1i(program->fragment_shader().sampler_location(), 0)); in DrawRenderPassQuad()
972 program->fragment_shader().mask_sampler_location(); in DrawRenderPassQuad()
974 program->fragment_shader().mask_tex_coord_scale_location(); in DrawRenderPassQuad()
976 program->fragment_shader().mask_tex_coord_offset_location(); in DrawRenderPassQuad()
978 shader_alpha_location = program->fragment_shader().alpha_location(); in DrawRenderPassQuad()
[all …]
Dprogram_binding.cc32 const std::string& fragment_shader) { in Init() argument
39 LoadShader(context, GL_FRAGMENT_SHADER, fragment_shader); in Init()
102 unsigned fragment_shader) { in CreateShaderProgram() argument
108 context->AttachShader(program_object, fragment_shader); in CreateShaderProgram()
Dprogram_binding.h29 const std::string& fragment_shader);
42 unsigned fragment_shader);
92 const FragmentShader& fragment_shader() const { return fragment_shader_; } in fragment_shader() function
/external/chromium_org/gpu/command_buffer/tests/
Dgl_bind_uniform_location_unittest.cc62 GLuint fragment_shader = GLTestHelper::LoadShader( in TEST_F() local
72 glAttachShader(program, fragment_shader); in TEST_F()
157 GLuint fragment_shader = GLTestHelper::LoadShader( in TEST_F() local
170 glAttachShader(program, fragment_shader); in TEST_F()
Dgl_test_utils.cc57 GLuint vertex_shader, GLuint fragment_shader) { in SetupProgram() argument
61 glAttachShader(program, fragment_shader); in SetupProgram()
84 GLuint fragment_shader = LoadShader( in LoadProgram() local
86 if (!vertex_shader || !fragment_shader) { in LoadProgram()
89 return SetupProgram(vertex_shader, fragment_shader); in LoadProgram()
Dgl_readback_unittests.cc190 GLuint fragment_shader = CompileShader(GL_FRAGMENT_SHADER, fs_source); in TEST_F() local
191 ASSERT_NE(fragment_shader, GLuint(0)); in TEST_F()
196 glAttachShader(program, fragment_shader); in TEST_F()
197 glDeleteShader(fragment_shader); in TEST_F()
Dgl_test_utils.h26 static GLuint SetupProgram(GLuint vertex_shader, GLuint fragment_shader);
/external/chromium_org/gpu/command_buffer/service/
Dmemory_program_cache.cc293 for (int i = 0; i < proto->fragment_shader().attribs_size(); i++) { in LoadProgram()
294 RetrieveShaderInfo(proto->fragment_shader().attribs(i), in LoadProgram()
298 for (int i = 0; i < proto->fragment_shader().uniforms_size(); i++) { in LoadProgram()
299 RetrieveShaderInfo(proto->fragment_shader().uniforms(i), in LoadProgram()
303 for (int i = 0; i < proto->fragment_shader().varyings_size(); i++) { in LoadProgram()
304 RetrieveShaderInfo(proto->fragment_shader().varyings(i), in LoadProgram()
320 proto->fragment_shader().sha().c_str(), in LoadProgram()
Ddisk_cache_proto.proto25 optional ShaderProto fragment_shader = 5; field
Dprogram_manager_unittest.cc238 Shader* fragment_shader = in SetUp() local
243 ASSERT_TRUE(fragment_shader != NULL); in SetUp()
245 fragment_shader->SetStatus(true, NULL, NULL); in SetUp()
252 program_->AttachShader(&shader_manager_, fragment_shader); in SetUp()
1621 Shader* fragment_shader) { in SetExpectationsForProgramCached() argument
1626 fragment_shader, in SetExpectationsForProgramCached()
1641 Shader* fragment_shader) { in SetExpectationsForNotCachingProgram() argument
1646 fragment_shader, in SetExpectationsForNotCachingProgram()
1664 Shader* fragment_shader, in SetExpectationsForProgramLoad() argument
1670 fragment_shader, in SetExpectationsForProgramLoad()
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dbuiltin_function.cpp14474 if (state->target == fragment_shader && state->language_version == 100) { in _mesa_glsl_initialize_functions()
14495 if (state->target == fragment_shader && state->language_version == 110) { in _mesa_glsl_initialize_functions()
14516 if (state->target == fragment_shader && state->language_version == 120) { in _mesa_glsl_initialize_functions()
14537 if (state->target == fragment_shader && state->language_version == 130) { in _mesa_glsl_initialize_functions()
14558 if (state->target == fragment_shader && state->language_version == 140) { in _mesa_glsl_initialize_functions()
14579 if (state->target == fragment_shader && state->ARB_shader_texture_lod_enable) { in _mesa_glsl_initialize_functions()
14600 if (state->target == fragment_shader && state->EXT_texture_array_enable) { in _mesa_glsl_initialize_functions()
14621 if (state->target == fragment_shader && state->OES_standard_derivatives_enable) { in _mesa_glsl_initialize_functions()
14628 if (state->target == fragment_shader && state->OES_texture_3D_enable) { in _mesa_glsl_initialize_functions()
/external/chromium_org/mojo/examples/sample_app/
Dspinning_cube.cc125 GLuint fragment_shader = LoadShader(GL_FRAGMENT_SHADER, in LoadProgram() local
127 if (!fragment_shader) { in LoadProgram()
134 glAttachShader(program_object, fragment_shader); in LoadProgram()
139 glDeleteShader(fragment_shader); in LoadProgram()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_fs.c63 draw->fs.fragment_shader = dfs; in draw_bind_fragment_shader()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_fs.c63 draw->fs.fragment_shader = dfs; in draw_bind_fragment_shader()
/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_shader_programs_mac.cc292 const GLuint fragment_shader = in CompileAndLinkProgram() local
297 glAttachShader(program, fragment_shader); in CompileAndLinkProgram()
303 glDeleteShader(fragment_shader); in CompileAndLinkProgram()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c107 void *fragment_shader, *fragment_shader_saved; member
555 if (ctx->fragment_shader != handle) { in cso_set_fragment_shader_handle()
556 ctx->fragment_shader = handle; in cso_set_fragment_shader_handle()
564 if (handle == ctx->fragment_shader) { in cso_delete_fragment_shader()
567 ctx->fragment_shader = NULL; in cso_delete_fragment_shader()
575 ctx->fragment_shader_saved = ctx->fragment_shader; in cso_save_fragment_shader()
580 if (ctx->fragment_shader_saved != ctx->fragment_shader) { in cso_restore_fragment_shader()
582 ctx->fragment_shader = ctx->fragment_shader_saved; in cso_restore_fragment_shader()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/
Dcso_context.c107 void *fragment_shader, *fragment_shader_saved; member
555 if (ctx->fragment_shader != handle) { in cso_set_fragment_shader_handle()
556 ctx->fragment_shader = handle; in cso_set_fragment_shader_handle()
564 if (handle == ctx->fragment_shader) { in cso_delete_fragment_shader()
567 ctx->fragment_shader = NULL; in cso_delete_fragment_shader()
575 ctx->fragment_shader_saved = ctx->fragment_shader; in cso_save_fragment_shader()
580 if (ctx->fragment_shader_saved != ctx->fragment_shader) { in cso_restore_fragment_shader()
582 ctx->fragment_shader = ctx->fragment_shader_saved; in cso_restore_fragment_shader()
/external/chromium_org/ppapi/examples/video_decode/
Dvideo_decode.cc141 const char* fragment_shader);
631 const char* fragment_shader) { in CreateProgram() argument
638 CreateShader(shader.program, GL_FRAGMENT_SHADER, fragment_shader, in CreateProgram()
639 strlen(fragment_shader)); in CreateProgram()
/external/chromium_org/content/common/gpu/client/
Dgl_helper_scaling.cc883 ScopedShader fragment_shader(context_, helper_->CompileShaderFromSource( in Setup() local
885 if (fragment_shader.id() == 0) { in Setup()
888 context_->attachShader(program_, fragment_shader); in Setup()
/external/mesa3d/src/glsl/
Dglsl_parser_extras.h40 fragment_shader enumerator
Dbuiltin_variables.cpp805 fragment_shader); in generate_100ES_fs_variables()
849 fragment_shader); in generate_110_fs_variables()
869 if (target == fragment_shader) { in generate_ARB_draw_buffers_variables()
1057 case fragment_shader: in _mesa_glsl_initialize_variables()
/external/chromium_org/third_party/mesa/src/src/glsl/
Dglsl_parser_extras.h40 fragment_shader enumerator
Dbuiltin_variables.cpp805 fragment_shader); in generate_100ES_fs_variables()
849 fragment_shader); in generate_110_fs_variables()
869 if (target == fragment_shader) { in generate_ARB_draw_buffers_variables()
1057 case fragment_shader: in _mesa_glsl_initialize_variables()
/external/chromium_org/gpu/tools/compositor_model_bench/
Drender_tree.h170 ShaderID fragment_shader() { in fragment_shader() function

12