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

Issue 257803011: gpu: Optimize and cleanup shader code used for CHROMIUM_copy_texture. (Closed)

Created:
6 years, 8 months ago by reveman
Modified:
6 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org
Visibility:
Public.

Description

gpu: Optimize and cleanup shader code used for CHROMIUM_copy_texture. Removes all dependent texture lookups and makes sure we're not using unnecessarily high precision for texture coordinates. BUG=269808 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266801

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove unnecessary blanklines and use 0u when initializing GLuint #

Patch Set 3 : fix DCHECK_LTs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -126 lines) Patch
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h View 1 3 chunks +7 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 1 2 9 chunks +142 lines, -121 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
reveman
6 years, 7 months ago (2014-04-28 15:10:29 UTC) #1
piman
lgtm https://codereview.chromium.org/257803011/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc File gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc (right): https://codereview.chromium.org/257803011/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode180 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:180: fragment_shaders_(NUM_FRAGMENT_SHADERS, 0), nit: if we're going to preallocate ...
6 years, 7 months ago (2014-04-28 17:28:14 UTC) #2
reveman
https://codereview.chromium.org/257803011/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc File gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc (right): https://codereview.chromium.org/257803011/diff/1/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode180 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:180: fragment_shaders_(NUM_FRAGMENT_SHADERS, 0), On 2014/04/28 17:28:15, piman wrote: > nit: ...
6 years, 7 months ago (2014-04-28 18:40:31 UTC) #3
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-04-28 19:40:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/257803011/20001
6 years, 7 months ago (2014-04-28 19:40:58 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 20:23:05 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-28 20:23:05 UTC) #7
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-04-28 20:26:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/257803011/20001
6 years, 7 months ago (2014-04-28 20:27:35 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 21:50:37 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 7 months ago (2014-04-28 21:50:37 UTC) #11
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-04-28 22:01:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/257803011/30001
6 years, 7 months ago (2014-04-28 22:02:57 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 22:07:55 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 7 months ago (2014-04-28 22:07:55 UTC) #15
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-04-28 22:15:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/257803011/30001
6 years, 7 months ago (2014-04-28 22:16:06 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 22:41:01 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-28 22:41:01 UTC) #19
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-04-28 23:12:58 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/257803011/30001
6 years, 7 months ago (2014-04-28 23:13:41 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 00:10:05 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 7 months ago (2014-04-29 00:10:05 UTC) #23
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-04-29 00:10:49 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/257803011/30001
6 years, 7 months ago (2014-04-29 00:11:34 UTC) #25
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 09:28:53 UTC) #26
Message was sent while issue was closed.
Change committed as 266801

Powered by Google App Engine
This is Rietveld 408576698