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

Issue 182413006: Workaround Linux AMD driver bug where TEXTURE_MAX_ANISOTROPY init value is incorrect. (Closed)

Created:
6 years, 9 months ago by Zhenyao Mo
Modified:
6 years, 9 months ago
CC:
chromium-reviews, piman+watch_chromium.org, dmichael (off chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Workaround Linux AMD driver bug where TEXTURE_MAX_ANISOTROPY init value is incorrect. So the first time we query this for a texture, we init it to 1 first before querying. BUG=348237 TEST=webgl conformance tests on Linux AMD, gpu_unittests R=bajones@chromium.org, kbr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254885

Patch Set 1 #

Total comments: 7

Patch Set 2 : rid of ppapi change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -9 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 chunk +13 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +38 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 2 chunks +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 2 chunks +10 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 2 chunks +13 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Zhenyao Mo
kbr, bajones: please review.
6 years, 9 months ago (2014-03-04 00:27:53 UTC) #1
Zhenyao Mo
yzshen: ppapi/shared_impl/ppb_opengles2_shared.cc owner. The change in this file is all auto-generated. No idea why it's ...
6 years, 9 months ago (2014-03-04 00:29:12 UTC) #2
bajones
One change needed and one question, but otherwise LGTM https://codereview.chromium.org/182413006/diff/1/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/182413006/diff/1/gpu/config/gpu_driver_bug_list_json.cc#newcode855 gpu/config/gpu_driver_bug_list_json.cc:855: ...
6 years, 9 months ago (2014-03-04 00:47:15 UTC) #3
Ken Russell (switch to Gerrit)
Have you verified that the texture behaves as though the TEXTURE_MAX_ANISOTROPY parameter is set to ...
6 years, 9 months ago (2014-03-04 00:47:19 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/182413006/diff/1/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/182413006/diff/1/gpu/config/gpu_driver_bug_list_json.cc#newcode855 gpu/config/gpu_driver_bug_list_json.cc:855: "description": "Linux AMD drivers incorrectly return initial value of ...
6 years, 9 months ago (2014-03-04 01:55:58 UTC) #5
Zhenyao Mo
On 2014/03/04 00:47:19, Ken Russell wrote: > Have you verified that the texture behaves as ...
6 years, 9 months ago (2014-03-04 01:58:52 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc File ppapi/shared_impl/ppb_opengles2_shared.cc (right): https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc#newcode9 ppapi/shared_impl/ppb_opengles2_shared.cc:9: #include "ppapi/shared_impl/ppb_opengles2_shared.h" On 2014/03/04 00:47:15, bajones wrote: > Does ...
6 years, 9 months ago (2014-03-04 01:59:31 UTC) #7
Ken Russell (switch to Gerrit)
OK, thanks for the information. I would have suggested doing this during texture initialization, if ...
6 years, 9 months ago (2014-03-04 02:07:22 UTC) #8
yzshen1
https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc File ppapi/shared_impl/ppb_opengles2_shared.cc (right): https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc#newcode112 ppapi/shared_impl/ppb_opengles2_shared.cc:112: PP_Resource context_id, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, Please ...
6 years, 9 months ago (2014-03-04 05:51:15 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc File ppapi/shared_impl/ppb_opengles2_shared.cc (right): https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc#newcode112 ppapi/shared_impl/ppb_opengles2_shared.cc:112: PP_Resource context_id, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, On ...
6 years, 9 months ago (2014-03-04 15:58:08 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc File ppapi/shared_impl/ppb_opengles2_shared.cc (right): https://codereview.chromium.org/182413006/diff/1/ppapi/shared_impl/ppb_opengles2_shared.cc#newcode1363 ppapi/shared_impl/ppb_opengles2_shared.cc:1363: &ActiveTexture, Ah, this should be 4-space instead of 2. ...
6 years, 9 months ago (2014-03-04 16:13:16 UTC) #11
Zhenyao Mo
Per discussion with dmichael, the format change happened in an effort to enforce clang-format. So ...
6 years, 9 months ago (2014-03-04 21:05:15 UTC) #12
Zhenyao Mo
The CQ bit was checked by zmo@chromium.org
6 years, 9 months ago (2014-03-04 21:10:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zmo@chromium.org/182413006/20001
6 years, 9 months ago (2014-03-04 21:13:45 UTC) #14
Zhenyao Mo
The CQ bit was unchecked by zmo@chromium.org
6 years, 9 months ago (2014-03-05 00:12:08 UTC) #15
Zhenyao Mo
6 years, 9 months ago (2014-03-05 00:27:01 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 manually as r254885 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698