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

Issue 2744793002: Use highp for glCopyTexture2D where available (Closed)

Created:
3 years, 9 months ago by klausw
Modified:
3 years, 9 months ago
Reviewers:
jbauman
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use highp for glCopyTexture2D where available This fixes artifacts in copied textures caused by insufficient precision in "mediump" floats when used for sampling textures. On a Pixel XL, a mediump only has 10 bits precision in fragment shaders, that apparently only works fully for texture dimensions < 1024 pixels. Use "highp" if both GL_ES and GL_FRAGMENT_PRECISION_HIGH are set for the shader. (See the bug for more discussion and a proposed alternative patch.) BUG=700031 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/2744793002 Cr-Commit-Position: refs/heads/master@{#456012} Committed: https://chromium.googlesource.com/chromium/src/+/72efd11d727f12bc45e74a1e6f7e379b3d6d5e2d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
klausw
On 2017/03/10 03:04:57, klausw wrote: > mailto:klausw@chromium.org changed reviewers: > + mailto:jbauman@chromium.org jbauman@, as noted ...
3 years, 9 months ago (2017-03-10 03:06:31 UTC) #4
jbauman
lgtm
3 years, 9 months ago (2017-03-10 03:09:49 UTC) #5
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/2744793002/1
3 years, 9 months ago (2017-03-10 03:11:38 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/247873)
3 years, 9 months ago (2017-03-10 03:54:57 UTC) #9
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/2744793002/1
3 years, 9 months ago (2017-03-10 07:10:44 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 07:15:11 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/72efd11d727f12bc45e74a1e6f7e...

Powered by Google App Engine
This is Rietveld 408576698