/external/chromium_org/media/tools/player_x11/ |
D | gl_video_renderer.cc | 175 GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER); in Initialize() local 178 glShaderSource(vertex_shader, 1, &vs_source, &vs_size); in Initialize() 179 glCompileShader(vertex_shader); in Initialize() 181 glGetShaderiv(vertex_shader, GL_COMPILE_STATUS, &result); in Initialize() 185 glGetShaderInfoLog(vertex_shader, kErrorSize - 1, &len, log); in Initialize() 189 glAttachShader(program, vertex_shader); in Initialize() 190 glDeleteShader(vertex_shader); in Initialize()
|
/external/chromium_org/cc/output/ |
D | program_binding.cc | 31 const std::string& vertex_shader, in Init() argument 34 vertex_shader_id_ = LoadShader(context, GL_VERTEX_SHADER, vertex_shader); in Init() 101 unsigned vertex_shader, in CreateShaderProgram() argument 107 context->AttachShader(program_object, vertex_shader); in CreateShaderProgram()
|
D | program_binding.h | 28 const std::string& vertex_shader, 41 unsigned vertex_shader, 91 const VertexShader& vertex_shader() const { return vertex_shader_; } in vertex_shader() function
|
D | gl_renderer.cc | 405 program->vertex_shader().matrix_location()); in DrawCheckerboardQuad() 428 program->vertex_shader().matrix_location(), 1, false, &gl_matrix[0])); in DrawDebugBorderQuad() 968 shader_quad_location = program->vertex_shader().quad_location(); in DrawRenderPassQuad() 969 shader_edge_location = program->vertex_shader().edge_location(); in DrawRenderPassQuad() 970 shader_viewport_location = program->vertex_shader().viewport_location(); in DrawRenderPassQuad() 977 shader_matrix_location = program->vertex_shader().matrix_location(); in DrawRenderPassQuad() 980 program->vertex_shader().tex_transform_location(); in DrawRenderPassQuad() 993 shader_matrix_location = program->vertex_shader().matrix_location(); in DrawRenderPassQuad() 996 program->vertex_shader().tex_transform_location(); in DrawRenderPassQuad() 1003 shader_quad_location = program->vertex_shader().quad_location(); in DrawRenderPassQuad() [all …]
|
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_bind_uniform_location_unittest.cc | 60 GLuint vertex_shader = GLTestHelper::LoadShader( in TEST_F() local 71 glAttachShader(program, vertex_shader); in TEST_F() 155 GLuint vertex_shader = GLTestHelper::LoadShader( in TEST_F() local 169 glAttachShader(program, vertex_shader); in TEST_F()
|
D | gl_test_utils.cc | 57 GLuint vertex_shader, GLuint fragment_shader) { in SetupProgram() argument 60 glAttachShader(program, vertex_shader); in SetupProgram() 82 GLuint vertex_shader = LoadShader( in LoadProgram() local 86 if (!vertex_shader || !fragment_shader) { in LoadProgram() 89 return SetupProgram(vertex_shader, fragment_shader); in LoadProgram()
|
D | gl_readback_unittests.cc | 180 GLuint vertex_shader = CompileShader(GL_VERTEX_SHADER, vs_source); in TEST_F() local 181 ASSERT_NE(vertex_shader, GLuint(0)); in TEST_F() 194 glAttachShader(program, vertex_shader); in TEST_F() 195 glDeleteShader(vertex_shader); in TEST_F()
|
D | gl_test_utils.h | 26 static GLuint SetupProgram(GLuint vertex_shader, GLuint fragment_shader);
|
/external/chromium_org/gpu/command_buffer/service/ |
D | memory_program_cache.cc | 277 for (int i = 0; i < proto->vertex_shader().attribs_size(); i++) { in LoadProgram() 278 RetrieveShaderInfo(proto->vertex_shader().attribs(i), &vertex_attribs); in LoadProgram() 281 for (int i = 0; i < proto->vertex_shader().uniforms_size(); i++) { in LoadProgram() 282 RetrieveShaderInfo(proto->vertex_shader().uniforms(i), &vertex_uniforms); in LoadProgram() 285 for (int i = 0; i < proto->vertex_shader().varyings_size(); i++) { in LoadProgram() 286 RetrieveShaderInfo(proto->vertex_shader().varyings(i), &vertex_varyings); in LoadProgram() 316 proto->vertex_shader().sha().c_str(), in LoadProgram()
|
D | disk_cache_proto.proto | 24 optional ShaderProto vertex_shader = 4; field
|
/external/chromium_org/mojo/examples/sample_app/ |
D | spinning_cube.cc | 120 GLuint vertex_shader = LoadShader(GL_VERTEX_SHADER, in LoadProgram() local 122 if (!vertex_shader) in LoadProgram() 128 glDeleteShader(vertex_shader); in LoadProgram() 133 glAttachShader(program_object, vertex_shader); in LoadProgram() 138 glDeleteShader(vertex_shader); in LoadProgram()
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
D | builtin_function.cpp | 14488 if (state->target == vertex_shader && state->language_version == 100) { in _mesa_glsl_initialize_functions() 14509 if (state->target == vertex_shader && state->language_version == 110) { in _mesa_glsl_initialize_functions() 14530 if (state->target == vertex_shader && state->language_version == 120) { in _mesa_glsl_initialize_functions() 14551 if (state->target == vertex_shader && state->language_version == 130) { in _mesa_glsl_initialize_functions() 14607 if (state->target == vertex_shader && state->EXT_texture_array_enable) { in _mesa_glsl_initialize_functions() 14635 if (state->target == vertex_shader && state->OES_texture_3D_enable) { in _mesa_glsl_initialize_functions()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch_shade_emit.c | 76 unsigned num_vs_inputs = draw->vs.vertex_shader->info.num_inputs; in fse_prepare() 146 fse->active = draw_vs_lookup_variant( draw->vs.vertex_shader, in fse_prepare() 175 struct draw_vertex_shader *vs = draw->vs.vertex_shader; in fse_prepare()
|
D | draw_pt_so_emit.c | 58 emit->has_so = (draw->vs.vertex_shader->state.stream_output.num_outputs > 0); in draw_pt_so_emit_prepare() 91 &draw->vs.vertex_shader->state.stream_output; in so_emit_prim()
|
D | draw_vs.c | 159 draw->vs.vertex_shader = dvs; in draw_bind_vertex_shader() 169 draw->vs.vertex_shader = NULL; in draw_bind_vertex_shader()
|
D | draw_llvm.c | 384 llvm_vertex_shader(llvm->draw->vs.vertex_shader); in draw_llvm_create_variant() 438 const struct tgsi_token *tokens = llvm->draw->vs.vertex_shader->state.tokens; in generate_vs() 459 &llvm->draw->vs.vertex_shader->info); in generate_vs() 465 struct tgsi_shader_info* info = &llvm->draw->vs.vertex_shader->info; in generate_vs() 874 int num_written_clipdistance = llvm->draw->vs.vertex_shader->info.num_written_clipdistance; in generate_clipmask() 1078 const struct tgsi_shader_info *vs_info = &draw->vs.vertex_shader->info; in draw_llvm_generate() 1342 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch_shade_emit.c | 76 unsigned num_vs_inputs = draw->vs.vertex_shader->info.num_inputs; in fse_prepare() 146 fse->active = draw_vs_lookup_variant( draw->vs.vertex_shader, in fse_prepare() 175 struct draw_vertex_shader *vs = draw->vs.vertex_shader; in fse_prepare()
|
D | draw_pt_so_emit.c | 58 emit->has_so = (draw->vs.vertex_shader->state.stream_output.num_outputs > 0); in draw_pt_so_emit_prepare() 91 &draw->vs.vertex_shader->state.stream_output; in so_emit_prim()
|
D | draw_vs.c | 159 draw->vs.vertex_shader = dvs; in draw_bind_vertex_shader() 169 draw->vs.vertex_shader = NULL; in draw_bind_vertex_shader()
|
/external/chromium_org/content/browser/renderer_host/ |
D | compositing_iosurface_shader_programs_mac.cc | 290 const GLuint vertex_shader = in CompileAndLinkProgram() local 296 glAttachShader(program, vertex_shader); in CompileAndLinkProgram() 302 glDeleteShader(vertex_shader); in CompileAndLinkProgram()
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
D | cso_context.c | 108 void *vertex_shader, *vertex_shader_saved; member 591 if (ctx->vertex_shader != handle) { in cso_set_vertex_shader_handle() 592 ctx->vertex_shader = handle; in cso_set_vertex_shader_handle() 600 if (handle == ctx->vertex_shader) { in cso_delete_vertex_shader() 603 ctx->vertex_shader = NULL; in cso_delete_vertex_shader() 611 ctx->vertex_shader_saved = ctx->vertex_shader; in cso_save_vertex_shader() 616 if (ctx->vertex_shader_saved != ctx->vertex_shader) { in cso_restore_vertex_shader() 618 ctx->vertex_shader = ctx->vertex_shader_saved; in cso_restore_vertex_shader()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/cso_cache/ |
D | cso_context.c | 108 void *vertex_shader, *vertex_shader_saved; member 591 if (ctx->vertex_shader != handle) { in cso_set_vertex_shader_handle() 592 ctx->vertex_shader = handle; in cso_set_vertex_shader_handle() 600 if (handle == ctx->vertex_shader) { in cso_delete_vertex_shader() 603 ctx->vertex_shader = NULL; in cso_delete_vertex_shader() 611 ctx->vertex_shader_saved = ctx->vertex_shader; in cso_save_vertex_shader() 616 if (ctx->vertex_shader_saved != ctx->vertex_shader) { in cso_restore_vertex_shader() 618 ctx->vertex_shader = ctx->vertex_shader_saved; in cso_restore_vertex_shader()
|
/external/chromium_org/ppapi/examples/video_decode/ |
D | video_decode.cc | 140 Shader CreateProgram(const char* vertex_shader, 630 Shader VideoDecodeDemoInstance::CreateProgram(const char* vertex_shader, in CreateProgram() argument 636 CreateShader(shader.program, GL_VERTEX_SHADER, vertex_shader, in CreateProgram() 637 strlen(vertex_shader)); in CreateProgram()
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
D | builtin_variables.cpp | 657 vertex_shader); in generate_100ES_vs_variables() 696 vertex_shader); in generate_110_vs_variables() 783 vertex_shader); in initialize_vs_variables() 893 if (target != vertex_shader) in generate_ARB_draw_instanced_variables() 1052 case vertex_shader: in _mesa_glsl_initialize_variables()
|
/external/mesa3d/src/glsl/ |
D | builtin_variables.cpp | 657 vertex_shader); in generate_100ES_vs_variables() 696 vertex_shader); in generate_110_vs_variables() 783 vertex_shader); in initialize_vs_variables() 893 if (target != vertex_shader) in generate_ARB_draw_instanced_variables() 1052 case vertex_shader: in _mesa_glsl_initialize_variables()
|