Home
last modified time | relevance | path

Searched refs:vertex_shader (Results 1 – 25 of 63) sorted by relevance

123

/external/chromium_org/media/tools/player_x11/
Dgl_video_renderer.cc177 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/
Dprogram_binding.cc30 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()
Dprogram_binding.h28 const std::string& vertex_shader,
41 unsigned vertex_shader,
91 const VertexShader& vertex_shader() const { return vertex_shader_; } in vertex_shader() function
Dgl_renderer.cc574 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/
Dgl_bind_uniform_location_unittest.cc60 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()
Dgl_test_utils.cc57 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()
Dgl_readback_unittest.cc180 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()
Dgl_test_utils.h26 static GLuint SetupProgram(GLuint vertex_shader, GLuint fragment_shader);
/external/chromium_org/gpu/command_buffer/service/
Dmemory_program_cache.cc277 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()
Dgles2_cmd_copy_texture_chromium.cc400 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()
Ddisk_cache_proto.proto24 optional ShaderProto vertex_shader = 4; field
/external/chromium_org/ppapi/examples/compositor/
Dspinning_cube.cc103 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/
Dspinning_cube.cc119 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/
Dspinning_cube.cc119 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/
Dbuiltin_function.cpp14488 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/
Dopen_gles20.mm198 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/
Ddraw_pt_fetch_shade_emit.c76 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()
Ddraw_pt_so_emit.c58 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/
Ddraw_pt_fetch_shade_emit.c76 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()
Ddraw_pt_so_emit.c58 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/
Dcso_context.c108 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/
Dcso_context.c108 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/
Dtest_plugin.cc550 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/
Dvideo_decode.cc116 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/
Dgl_helper_scaling.cc840 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()

123