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

Issue 168983005: Do not rely on a texture's internalformat matching format (Closed)

Created:
6 years, 10 months ago by oetuaho-nv
Modified:
6 years, 10 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Do not rely on a texture's internalformat matching format After recently implemented support for rendering to 32-bit floating point textures on ES3, texture's internal format and format do not necessarily always match. Fix the command decoder code that relied on them matching. BUG=329605 TEST=gpu_unittests, WebGL conformance tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252268

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add unit tests for TexSubImage2D on GLES3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -36 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 5 chunks +12 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 9 chunks +83 lines, -22 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
oetuaho-nv
This fixes bugs introduced in https://codereview.chromium.org/139013008/ Tested by https://github.com/KhronosGroup/WebGL/pull/477 No matter how careful you are, ...
6 years, 10 months ago (2014-02-17 13:20:22 UTC) #1
piman
Could you add a unit test for the path that regressed? https://codereview.chromium.org/168983005/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): ...
6 years, 10 months ago (2014-02-18 20:40:10 UTC) #2
oetuaho-nv
Added the requested unit tests. https://codereview.chromium.org/168983005/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/168983005/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8299 gpu/command_buffer/service/gles2_cmd_decoder.cc:8299: target, level, internal_format, internal_format, ...
6 years, 10 months ago (2014-02-19 09:51:17 UTC) #3
piman
lgtm https://codereview.chromium.org/168983005/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/168983005/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8299 gpu/command_buffer/service/gles2_cmd_decoder.cc:8299: target, level, internal_format, internal_format, GL_UNSIGNED_BYTE, On 2014/02/19 09:51:17, ...
6 years, 10 months ago (2014-02-19 20:26:19 UTC) #4
oetuaho-nv
The CQ bit was checked by oetuaho@nvidia.com
6 years, 10 months ago (2014-02-20 09:55:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oetuaho@nvidia.com/168983005/150001
6 years, 10 months ago (2014-02-20 12:44:51 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-20 15:05:18 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=266965
6 years, 10 months ago (2014-02-20 15:05:19 UTC) #8
oetuaho-nv
The CQ bit was checked by oetuaho@nvidia.com
6 years, 10 months ago (2014-02-20 15:11:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oetuaho@nvidia.com/168983005/150001
6 years, 10 months ago (2014-02-20 15:12:59 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 16:56:27 UTC) #11
Message was sent while issue was closed.
Change committed as 252268

Powered by Google App Engine
This is Rietveld 408576698