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

Issue 24152009: Allow rendering from non-stream GL_TEXTURE_EXTERNAL_OES (Closed)

Created:
7 years, 3 months ago by sheu
Modified:
7 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org, apatrick_chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@git-svn
Visibility:
Public.

Description

Allow rendering from non-stream GL_TEXTURE_EXTERNAL_OES Towards support for compositing from GL_TEXTURE_EXTERNAL_OES textures exported by other drivers into the GL stack. BUG=167417 TEST=local build, unittests, run on CrOS snow Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225410

Patch Set 1 : 2fea9080 Initial. #

Total comments: 2

Patch Set 2 : f0721de77 fixes #

Patch Set 3 : a3046524 Rebase. #

Patch Set 4 : 2f43c724 Texture size tracking. #

Total comments: 3

Patch Set 5 : eead63fe Rebase. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -97 lines) Patch
M content/common/gpu/client/gpu_video_decode_accelerator_host.h View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M content/common/gpu/client/gpu_video_decode_accelerator_host.cc View 1 2 3 4 2 chunks +8 lines, -5 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 1 chunk +3 lines, -4 lines 0 comments Download
M content/common/gpu/media/exynos_video_decode_accelerator.cc View 1 2 3 3 chunks +7 lines, -12 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 3 chunks +7 lines, -6 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 chunks +32 lines, -19 lines 3 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 3 chunks +23 lines, -24 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 8 chunks +27 lines, -21 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
sheu
piman@: broke this out as you requested. PTAL
7 years, 3 months ago (2013-09-18 23:46:19 UTC) #1
piman
As I mentioned in the other CL, at least GLES2DecoderImpl::DoCopyTextureCHROMIUM seems to assume that GL_TEXTURE_EXTERNAL_OES ...
7 years, 3 months ago (2013-09-19 02:20:09 UTC) #2
sheu
I audited all the code paths for GL_TEXTURE_EXTERNAL_OES, IsStreamTexture(), and LookupStreamTexture(). DoCopyTextureCHROMIUM can't work for ...
7 years, 3 months ago (2013-09-19 05:34:21 UTC) #3
sheu
piman@: PTAL
7 years, 3 months ago (2013-09-19 05:34:32 UTC) #4
piman
On Wed, Sep 18, 2013 at 10:34 PM, <sheu@chromium.org> wrote: > I audited all the ...
7 years, 3 months ago (2013-09-19 19:42:37 UTC) #5
sheu
On 2013/09/19 19:42:37, piman wrote: > Then we have a problem... This is used in ...
7 years, 3 months ago (2013-09-19 21:39:37 UTC) #6
piman
On Thu, Sep 19, 2013 at 2:39 PM, <sheu@chromium.org> wrote: > On 2013/09/19 19:42:37, piman ...
7 years, 3 months ago (2013-09-19 23:18:10 UTC) #7
sheu
Done. piman@: PTAL
7 years, 3 months ago (2013-09-24 21:50:21 UTC) #8
piman
Overall LGTM, +fischman for GVDA https://chromiumcodereview.appspot.com/24152009/diff/29001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/24152009/diff/29001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode288 content/common/gpu/media/gpu_video_decode_accelerator.cc:288: const std::vector<gfx::Size>& sizes) { ...
7 years, 3 months ago (2013-09-24 22:14:06 UTC) #9
sheu
https://chromiumcodereview.appspot.com/24152009/diff/29001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/24152009/diff/29001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode288 content/common/gpu/media/gpu_video_decode_accelerator.cc:288: const std::vector<gfx::Size>& sizes) { On 2013/09/24 22:14:07, piman wrote: ...
7 years, 3 months ago (2013-09-24 22:22:23 UTC) #10
piman
https://chromiumcodereview.appspot.com/24152009/diff/29001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/24152009/diff/29001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode288 content/common/gpu/media/gpu_video_decode_accelerator.cc:288: const std::vector<gfx::Size>& sizes) { On 2013/09/24 22:22:23, sheu wrote: ...
7 years, 3 months ago (2013-09-24 23:01:31 UTC) #11
sheu
Updated to remove extra fields from IPC. cdn@: trivial gpu_messages.h change for you.
7 years, 3 months ago (2013-09-25 00:02:05 UTC) #12
piman
lgtm
7 years, 3 months ago (2013-09-25 00:27:02 UTC) #13
Ami GONE FROM CHROMIUM
LGTM % comment (fine to submit with those bits reverted, otherwise I need to understand ...
7 years, 3 months ago (2013-09-25 01:09:29 UTC) #14
piman
https://chromiumcodereview.appspot.com/24152009/diff/43001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/24152009/diff/43001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode270 content/common/gpu/media/gpu_video_decode_accelerator.cc:270: DLOG(ERROR) << "BitstreamBuffer id " << id << " ...
7 years, 3 months ago (2013-09-25 01:12:05 UTC) #15
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/24152009/diff/43001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/24152009/diff/43001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode270 content/common/gpu/media/gpu_video_decode_accelerator.cc:270: DLOG(ERROR) << "BitstreamBuffer id " << id << " ...
7 years, 3 months ago (2013-09-25 01:15:46 UTC) #16
piman
On Tue, Sep 24, 2013 at 6:15 PM, <fischman@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/24152009/diff/** > 43001/content/common/gpu/**media/gpu_video_decode_**accelerator.cc<https://chromiumcodereview.appspot.com/24152009/diff/43001/content/common/gpu/media/gpu_video_decode_accelerator.cc> ...
7 years, 3 months ago (2013-09-25 06:35:26 UTC) #17
Ami GONE FROM CHROMIUM
OIC DCHECK as a proxy for "it's a programming error if this trigger" is inappropriate ...
7 years, 3 months ago (2013-09-25 06:40:44 UTC) #18
Cris Neckar
IPC changes LGTM
7 years, 2 months ago (2013-09-25 18:45:56 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/24152009/43001
7 years, 2 months ago (2013-09-25 19:21:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/24152009/43001
7 years, 2 months ago (2013-09-25 21:35:02 UTC) #21
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 08:59:04 UTC) #22
Message was sent while issue was closed.
Change committed as 225410

Powered by Google App Engine
This is Rietveld 408576698