/external/chromium_org/media/tools/player_x11/ |
D | gl_video_renderer.cc | 177 GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER); in Initialize() local 180 glShaderSource(vertex_shader, 1, &vs_source, &vs_size); in Initialize() 181 glCompileShader(vertex_shader); in Initialize() 183 glGetShaderiv(vertex_shader, GL_COMPILE_STATUS, &result); in Initialize() 187 glGetShaderInfoLog(vertex_shader, kErrorSize - 1, &len, log); in Initialize() 191 glAttachShader(program, vertex_shader); in Initialize() 192 glDeleteShader(vertex_shader); in Initialize()
|
/external/chromium_org/cc/output/ |
D | program_binding.cc | 30 const std::string& vertex_shader, in Init() argument 33 vertex_shader_id_ = LoadShader(context, GL_VERTEX_SHADER, vertex_shader); in Init() 100 unsigned vertex_shader, in CreateShaderProgram() argument 106 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 | 574 program->vertex_shader().matrix_location()); in DrawCheckerboardQuad() 595 program->vertex_shader().matrix_location(), 1, false, &gl_matrix[0])); in DrawDebugBorderQuad() 1145 shader_quad_location = program->vertex_shader().quad_location(); in DrawRenderPassQuad() 1146 shader_edge_location = program->vertex_shader().edge_location(); in DrawRenderPassQuad() 1147 shader_viewport_location = program->vertex_shader().viewport_location(); in DrawRenderPassQuad() 1154 shader_matrix_location = program->vertex_shader().matrix_location(); in DrawRenderPassQuad() 1157 program->vertex_shader().tex_transform_location(); in DrawRenderPassQuad() 1170 shader_matrix_location = program->vertex_shader().matrix_location(); in DrawRenderPassQuad() 1173 program->vertex_shader().tex_transform_location(); in DrawRenderPassQuad() 1180 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_unittest.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 | gles2_cmd_copy_texture_chromium.cc | 400 GLuint* vertex_shader = &vertex_shaders_[vertex_shader_id]; in DoCopyTextureWithTransform() local 401 if (!*vertex_shader) { in DoCopyTextureWithTransform() 402 *vertex_shader = glCreateShader(GL_VERTEX_SHADER); in DoCopyTextureWithTransform() 403 CompileShader(*vertex_shader, vertex_shader_source[vertex_shader_id]); in DoCopyTextureWithTransform() 405 glAttachShader(info->program, *vertex_shader); in DoCopyTextureWithTransform()
|
D | disk_cache_proto.proto | 24 optional ShaderProto vertex_shader = 4; field
|
/external/chromium_org/ppapi/examples/compositor/ |
D | spinning_cube.cc | 103 GLuint vertex_shader = LoadShader(GL_VERTEX_SHADER, in LoadProgram() local 105 if (!vertex_shader) in LoadProgram() 111 glDeleteShader(vertex_shader); in LoadProgram() 116 glAttachShader(program_object, vertex_shader); in LoadProgram() 121 glDeleteShader(vertex_shader); in LoadProgram()
|
/external/chromium_org/ppapi/examples/gles2_spinning_cube/ |
D | spinning_cube.cc | 119 GLuint vertex_shader = LoadShader(GL_VERTEX_SHADER, in LoadProgram() local 121 if (!vertex_shader) in LoadProgram() 127 glDeleteShader(vertex_shader); in LoadProgram() 132 glAttachShader(program_object, vertex_shader); in LoadProgram() 137 glDeleteShader(vertex_shader); in LoadProgram()
|
/external/chromium_org/mojo/examples/sample_app/ |
D | spinning_cube.cc | 119 GLuint vertex_shader = LoadShader(GL_VERTEX_SHADER, in LoadProgram() local 121 if (!vertex_shader) in LoadProgram() 127 glDeleteShader(vertex_shader); in LoadProgram() 132 glAttachShader(program_object, vertex_shader); in LoadProgram() 137 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/webrtc/modules/video_render/ios/ |
D | open_gles20.mm | 198 GLuint vertex_shader = LoadShader(GL_VERTEX_SHADER, vertex_source); 199 if (!vertex_shader) { 210 glAttachShader(program, vertex_shader); 234 if (vertex_shader) { 235 glDeleteShader(vertex_shader);
|
/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()
|
/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()
|
/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/content/shell/renderer/test_runner/ |
D | test_plugin.cc | 550 unsigned vertex_shader = LoadShader(GL_VERTEX_SHADER, vertex_source); in LoadProgram() local 553 if (vertex_shader && fragment_shader && program) { in LoadProgram() 554 context_->attachShader(program, vertex_shader); in LoadProgram() 565 if (vertex_shader) in LoadProgram() 566 context_->deleteShader(vertex_shader); in LoadProgram()
|
/external/chromium_org/native_client_sdk/src/examples/api/video_decode/ |
D | video_decode.cc | 116 Shader CreateProgram(const char* vertex_shader, const char* fragment_shader); 657 Shader MyInstance::CreateProgram(const char* vertex_shader, in CreateProgram() argument 664 shader.program, GL_VERTEX_SHADER, vertex_shader, strlen(vertex_shader)); in CreateProgram()
|
/external/chromium_org/content/common/gpu/client/ |
D | gl_helper_scaling.cc | 840 GLuint vertex_shader = in Setup() local 842 if (vertex_shader == 0) in Setup() 845 gl_->AttachShader(program_, vertex_shader); in Setup() 846 gl_->DeleteShader(vertex_shader); in Setup()
|