WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
103885
WebGL: use pointer to the source data for Image directly in texImage2D and texSubImage2D to avoid memory copy if no conversion is needed
https://bugs.webkit.org/show_bug.cgi?id=103885
Summary
WebGL: use pointer to the source data for Image directly in texImage2D and te...
Jun Jiang
Reported
2012-12-03 05:48:19 PST
In current implementation of texImage2D() and texSubImage2D() in WebGL, there is a redundant memory copy from Image data to the intermediate vector when no conversion is needed. If the Image resource can be locked properly, it is better to use the pointer to the image source directly and hence avoid the memory copy to the intermediate vector.
Attachments
Patch
(10.68 KB, patch)
2012-12-03 07:11 PST
,
Jun Jiang
no flags
Details
Formatted Diff
Diff
Patch
(10.68 KB, patch)
2012-12-05 00:59 PST
,
Jun Jiang
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jun Jiang
Comment 1
2012-12-03 07:11:32 PST
Created
attachment 177248
[details]
Patch
Kenneth Russell
Comment 2
2012-12-04 19:08:17 PST
Comment on
attachment 177248
[details]
Patch Looks good. r=me
WebKit Review Bot
Comment 3
2012-12-04 19:55:50 PST
Comment on
attachment 177248
[details]
Patch Rejecting
attachment 177248
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: ripts/update-webkit line 152. Failed to run "['Tools/Scripts/update-webkit', '--chromium', '--force-update']" exit_code: 2 Updating OpenSource From
http://git.chromium.org/external/Webkit
cf46854..c0a4c3a HEAD -> origin/HEAD error: Ref refs/remotes/origin/master is at c0a4c3a40ce96884ae4c1472ef9d4edf6af9b111 but expected cf468540ddb668d426e32e33bac10f014c7390a6 ! cf46854..c0a4c3a master -> origin/master (unable to update local ref) Died at Tools/Scripts/update-webkit line 152. Full output:
http://queues.webkit.org/results/15133667
Jun Jiang
Comment 4
2012-12-05 00:59:21 PST
Created
attachment 177691
[details]
Patch
Jun Jiang
Comment 5
2012-12-05 01:05:01 PST
Hi, Kenneth. The patch fail to land into the code base from commit queue and I can't find any clue about its failure. I just re-based the patch, test it and upload it again. Please help to review and land it.
Kenneth Russell
Comment 6
2012-12-05 12:46:00 PST
Comment on
attachment 177691
[details]
Patch Let's try again. There were issues with the commit queue yesterday.
WebKit Review Bot
Comment 7
2012-12-05 13:03:56 PST
Comment on
attachment 177691
[details]
Patch Clearing flags on attachment: 177691 Committed
r136745
: <
http://trac.webkit.org/changeset/136745
>
WebKit Review Bot
Comment 8
2012-12-05 13:04:00 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug