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

Issue 2844393004: Passthrough CmdDecoder: Reset unpack state on some TexImage (Closed)

Created:
3 years, 7 months ago by Corentin Wallez
Modified:
3 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Passthrough CmdDecoder: Reset unpack state on some TexImage The command buffer client handles all the unpack parameters but alignment for non-compressed texture uploads from client data. Resetting the unpack state was handled transparently on the service-side. This implements the resetting in the passthrough cmd decoder too. This makes the following tests pass with the passthrough command buffer: - conformance2/textures/misc/tex-unpack-params - deqp/functional/gles3/texturespecification/teximage2d_unpack_params - deqp/functional/gles3/texturespecification/teximage3d_unpack_params - deqp/functional/gles3/texturespecification/texsubimage2d_unpack_params - deqp/functional/gles3/texturespecification/texsubimage3d_unpack_params BUG=chromium:602688 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Review-Url: https://codereview.chromium.org/2844393004 Cr-Commit-Position: refs/heads/master@{#468322} Committed: https://chromium.googlesource.com/chromium/src/+/7ad7f6d7a7478d21b30a505dd00e473a609b687d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -12 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 5 chunks +72 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
Corentin Wallez
PTAL I investigated making the gles2_implementation or WebGLRenderingContextBase send the unpack reset commands, but it ...
3 years, 7 months ago (2017-04-28 21:35:21 UTC) #3
Ken Russell (switch to Gerrit)
This LGTM overall but I'm not an owner. CC'ing piman and jbauman. Can you point ...
3 years, 7 months ago (2017-04-28 21:47:46 UTC) #7
jbauman
lgtm
3 years, 7 months ago (2017-04-29 01:54:56 UTC) #10
Geoff Lang
lgtm
3 years, 7 months ago (2017-05-01 14:37:14 UTC) #11
Corentin Wallez
Thanks all for the reviews, and sorry for the wrong OWNERS assignment.
3 years, 7 months ago (2017-05-01 15:20:04 UTC) #14
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/2844393004/1
3 years, 7 months ago (2017-05-01 15:20:25 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 16:23:19 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/7ad7f6d7a7478d21b30a505dd00e...

Powered by Google App Engine
This is Rietveld 408576698