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

Issue 11229040: Fix glTexSubImage2D for non-32bpp formats. (Closed)

Created:
8 years, 2 months ago by sheu
Modified:
8 years, 2 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://git.chromium.org/git/chromium/src@git-svn
Visibility:
Public.

Description

Fix glTexSubImage2D for non-32bpp formats. The non-mapped upload path for glTexSubImage2D is assuming 32bpp blindly, for all formats. TEST=local build, run on ARM (forcing non-mapped path) BUG=None Change-Id: Ib8ac46646b27faeeb8c19ebb519d321e25c1a8cb Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163477

Patch Set 1 #

Patch Set 2 : Rebase.:wq #

Total comments: 4

Patch Set 3 : Removed formatting changes, added CCTexture #

Total comments: 2

Patch Set 4 : One more formatting fix. #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -25 lines) Patch
M cc/texture.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/texture.cc View 1 2 3 4 2 chunks +20 lines, -3 lines 0 comments Download
M cc/texture_uploader.cc View 1 2 3 4 5 chunks +12 lines, -22 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sheu
PTAL
8 years, 2 months ago (2012-10-22 20:28:44 UTC) #1
enne (OOO)
http://codereview.chromium.org/11229040/diff/3001/cc/texture_uploader.cc File cc/texture_uploader.cc (right): http://codereview.chromium.org/11229040/diff/3001/cc/texture_uploader.cc#newcode28 cc/texture_uploader.cc:28: // synchronize access. Please do not update style along ...
8 years, 2 months ago (2012-10-22 20:36:14 UTC) #2
sheu
New version uploaded. http://codereview.chromium.org/11229040/diff/3001/cc/texture_uploader.cc File cc/texture_uploader.cc (right): http://codereview.chromium.org/11229040/diff/3001/cc/texture_uploader.cc#newcode28 cc/texture_uploader.cc:28: // synchronize access. I thought this ...
8 years, 2 months ago (2012-10-22 21:31:59 UTC) #3
jamesr
lgtm http://codereview.chromium.org/11229040/diff/9001/cc/texture_uploader.cc File cc/texture_uploader.cc (right): http://codereview.chromium.org/11229040/diff/9001/cc/texture_uploader.cc#newcode222 cc/texture_uploader.cc:222: source_rect.width() * source_rect.height() * bytes_per_pixel; don't line wrap ...
8 years, 2 months ago (2012-10-22 21:47:59 UTC) #4
sheu
http://codereview.chromium.org/11229040/diff/9001/cc/texture_uploader.cc File cc/texture_uploader.cc (right): http://codereview.chromium.org/11229040/diff/9001/cc/texture_uploader.cc#newcode222 cc/texture_uploader.cc:222: source_rect.width() * source_rect.height() * bytes_per_pixel; On 2012/10/22 21:47:59, jamesr ...
8 years, 2 months ago (2012-10-22 21:56:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/11229040/11002
8 years, 2 months ago (2012-10-22 21:57:26 UTC) #6
commit-bot: I haz the power
Retried try job too often for step(s) browser_tests
8 years, 2 months ago (2012-10-22 23:45:58 UTC) #7
sheu
Somebody chumped in a change ahead of me. Rebasing.
8 years, 2 months ago (2012-10-22 23:58:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/11229040/12001
8 years, 2 months ago (2012-10-22 23:59:16 UTC) #9
commit-bot: I haz the power
8 years, 2 months ago (2012-10-23 02:03:35 UTC) #10
Change committed as 163477

Powered by Google App Engine
This is Rietveld 408576698