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

Issue 2527343002: Avoid doing and then abandoning semi-accelerated texImageHelperHTMLVideoElement path. (Closed)

Created:
4 years ago by aleksandar.stojiljkovic
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid doing and then abandoning semi-accelerated texImageHelperHTMLVideoElement path. This resolves performance issue when uploading video to e.g. FLOAT or UNSIGNED_SHORT textures. If canUseCopyTextureCHROMIUM returns false, we shouldn't create AcceleratedImageBufferSurface, call paintCurrentFrame and texImage2DBase since they would not be used. This is because imageBuffer-> copyToPlatformTexture is not supported when canUseCopyTextureCHROMIUM is false and it would early return false. BUG=624436 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/59c7989ec2c365f0bbaf09ecc02da7225061725b Cr-Commit-Position: refs/heads/master@{#434926}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -42 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 chunk +39 lines, -42 lines 2 comments Download

Messages

Total messages: 20 (15 generated)
aleksandar.stojiljkovic
This patch is orthogonal to other changes in https://crrev.org/2476693002/ (16-bit depth video to float texture) ...
4 years ago (2016-11-25 12:00:04 UTC) #12
Ken Russell (switch to Gerrit)
Thanks for clarifying this and splitting it into its own CL. LGTM https://codereview.chromium.org/2527343002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp ...
4 years ago (2016-11-29 04:55:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2527343002/1
4 years ago (2016-11-29 06:19:02 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-29 07:45:31 UTC) #18
commit-bot: I haz the power
4 years ago (2016-11-29 07:46:59 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/59c7989ec2c365f0bbaf09ecc02da7225061725b
Cr-Commit-Position: refs/heads/master@{#434926}

Powered by Google App Engine
This is Rietveld 408576698