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

Issue 1299683002: gpu: If not cube complete, the texture isn't renderable, no matter mipmap complete. (Closed)

Created:
5 years, 4 months ago by dshwang
Modified:
5 years, 4 months ago
CC:
chromium-reviews, piman+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: If not cube complete, the texture isn't renderable, no matter mipmap complete. GLES2 spec 3.8.2 says "A cube map sampler is called, and either the corresponding cube map texture image is not cube complete, or TEXTURE_MIN_FILTER is one that requires a mipmap and the texture is not mipmap cube complete." However, Texture::GetCanRenderCondition() checks cube complete only if the texture needs mipmap. TEST=gpu_unittests TextureTest.POTCubeMapWithoutMipmap BUG=517548 Committed: https://crrev.com/a326ed46c3923c0e3a29d030c10e3e76b3bdc288 Cr-Commit-Position: refs/heads/master@{#344456}

Patch Set 1 #

Total comments: 3

Patch Set 2 : check cube complete correctly #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -2 lines) Patch
M gpu/command_buffer/service/texture_manager.cc View 1 1 chunk +3 lines, -2 lines 1 comment Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
dshwang
sievers, piman: could you review? It doesn't change any logic, but just renaming. When I ...
5 years, 4 months ago (2015-08-17 16:09:05 UTC) #2
dshwang
https://codereview.chromium.org/1299683002/diff/1/gpu/command_buffer/service/texture_manager.h File gpu/command_buffer/service/texture_manager.h (left): https://codereview.chromium.org/1299683002/diff/1/gpu/command_buffer/service/texture_manager.h#oldcode323 gpu/command_buffer/service/texture_manager.h:323: // See section 3.8.2 of the GLES2 spec. section ...
5 years, 4 months ago (2015-08-17 16:20:41 UTC) #3
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1299683002/diff/1/gpu/command_buffer/service/texture_manager.h File gpu/command_buffer/service/texture_manager.h (left): https://codereview.chromium.org/1299683002/diff/1/gpu/command_buffer/service/texture_manager.h#oldcode323 gpu/command_buffer/service/texture_manager.h:323: // See section 3.8.2 of the GLES2 spec. On ...
5 years, 4 months ago (2015-08-17 21:32:27 UTC) #5
dshwang
https://codereview.chromium.org/1299683002/diff/1/gpu/command_buffer/service/texture_manager.h File gpu/command_buffer/service/texture_manager.h (left): https://codereview.chromium.org/1299683002/diff/1/gpu/command_buffer/service/texture_manager.h#oldcode323 gpu/command_buffer/service/texture_manager.h:323: // See section 3.8.2 of the GLES2 spec. On ...
5 years, 4 months ago (2015-08-18 07:18:16 UTC) #6
Ken Russell (switch to Gerrit)
Thanks. This seems OK to me but sievers or piman should review.
5 years, 4 months ago (2015-08-19 23:18:02 UTC) #7
piman
lgtm
5 years, 4 months ago (2015-08-19 23:29:19 UTC) #8
dshwang
On 2015/08/19 23:29:19, piman (slow to review) wrote: > lgtm thx for reviewing!
5 years, 4 months ago (2015-08-20 07:42:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299683002/20001
5 years, 4 months ago (2015-08-20 07:43:18 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-20 09:09:31 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 09:10:04 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a326ed46c3923c0e3a29d030c10e3e76b3bdc288
Cr-Commit-Position: refs/heads/master@{#344456}

Powered by Google App Engine
This is Rietveld 408576698