Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz…

Created:
5 years, 1 month ago by dshwang
Modified:
5 years ago
Reviewers:
no sievers, piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, yzshen+watch_chromium.org, sievers+watch_chromium.org, ben+mojo_chromium.org, mlamouri+watch-media_chromium.org, extensions-reviews_chromium.org, jam, abarth-chromium, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, mlamouri+watch-content_chromium.org, feature-media-reviews_chromium.org, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, darin (slow to review), rjkroege, avayvod+watch_chromium.org, mcasas+watch_chromium.org, Aaron Boodman, mkwst+moarreviews-renderer_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsizei height) Introduce the new CHROMIUM extension to set the size for the given |stream_id| StreamTexture. The type of |stream_id| in some code is uint32, and the type in others is int32. Change the type of |stream_id| to be int32 always because the type of id generator is int32. As the decoder knows the correct size of StreamTexture, remove the unnecessary branch for StreamTexture in GLES2DecoderImpl::Do[Compressed]Copy[Sub]TextureCHROMIUM TEST=WebglConformance.conformance_textures_video_tex_image_and_sub_image_2d_with_video_* BUG=549531

Patch Set 1 #

Patch Set 2 : decoder check the dimension of CopyTextureCHROMIUM #

Patch Set 3 : fix android_webview.test failure #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+653 lines, -395 lines) Patch
M components/mus/gles2/command_buffer_local.h View 1 chunk +5 lines, -1 line 0 comments Download
M components/mus/gles2/command_buffer_local.cc View 1 chunk +9 lines, -1 line 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.h View 1 chunk +5 lines, -1 line 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 2 chunks +13 lines, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 3 chunks +12 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 3 chunks +18 lines, -1 line 0 comments Download
M content/common/gpu/gpu_messages.h View 2 chunks +7 lines, -5 lines 0 comments Download
M content/common/gpu/stream_texture_android.h View 1 chunk +20 lines, -70 lines 1 comment Download
M content/common/gpu/stream_texture_android.cc View 7 chunks +153 lines, -6 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory.h View 1 chunk +3 lines, -7 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory_impl.h View 1 chunk +3 lines, -4 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory_impl.cc View 2 chunks +2 lines, -7 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory_synchronous_impl.h View 2 chunks +4 lines, -5 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory_synchronous_impl.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 chunks +15 lines, -6 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/client_test_helper.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.h View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 2 chunks +12 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 chunks +13 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 chunk +6 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 chunk +10 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gpu_control.h View 1 chunk +7 lines, -1 line 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 8 chunks +56 lines, -105 lines 2 comments Download
M gpu/command_buffer/service/in_process_command_buffer.h View 3 chunks +11 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 4 chunks +29 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/stream_texture_manager_in_process_android.h View 2 chunks +14 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/stream_texture_manager_in_process_android.cc View 3 chunks +112 lines, -121 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.h View 1 chunk +5 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 chunk +8 lines, -1 line 0 comments Download
M gpu/gles2_conform_support/egl/display.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M mojo/gles2/command_buffer_client_impl.h View 1 chunk +5 lines, -1 line 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 chunk +9 lines, -1 line 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 chunk +5 lines, -1 line 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 1 chunk +8 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_command_buffer_proxy.h View 1 chunk +5 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_command_buffer_proxy.cc View 1 chunk +8 lines, -1 line 0 comments Download
M third_party/mojo/src/mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 11 (6 generated)
dshwang
sievers, could you review? As we discussed in BUG=549531, this CL introduces glSetStreamTextureSizeCHROMIUM and removes ...
5 years, 1 month ago (2015-11-04 09:54:35 UTC) #3
dshwang
On 2015/11/04 09:54:35, dshwang wrote: > sievers, could you review? As we discussed in BUG=549531, ...
5 years, 1 month ago (2015-11-06 18:11:59 UTC) #8
no sievers
On 2015/11/06 18:11:59, dshwang wrote: > On 2015/11/04 09:54:35, dshwang wrote: > > sievers, could ...
5 years, 1 month ago (2015-11-06 23:15:46 UTC) #9
dshwang
On 2015/11/06 23:15:46, sievers wrote: > On 2015/11/06 18:11:59, dshwang wrote: > > On 2015/11/04 ...
5 years, 1 month ago (2015-11-07 15:53:03 UTC) #10
dshwang
5 years ago (2015-11-26 15:47:19 UTC) #11
sievers, could you review again?

Powered by Google App Engine
This is Rietveld 408576698