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

Issue 1248253003: Add better support for RGBA_4444 textures. (Closed)

Created:
5 years, 5 months ago by reveman
Modified:
5 years, 4 months ago
Reviewers:
danakj, vmpstr, piman
CC:
cc-bugs_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, piman+watch_chromium.org, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add better support for RGBA_4444 textures. Add support for RGBA_4444 textures to one/zero-copy. Also adds command line flags that allow RGBA_4444 textures to be enabled/disabled for testing purposes. BUG=511284 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cfd85eeea491f720f2dd2fcf310fe634b237e601 Cr-Commit-Position: refs/heads/master@{#344585}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Total comments: 5

Patch Set 4 : add TODO and fix rebase #

Total comments: 2

Patch Set 5 : add trace event #

Total comments: 2

Patch Set 6 : rebase and forward flags #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -19 lines) Patch
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M cc/raster/tile_task_worker_pool.cc View 1 2 3 4 5 2 chunks +20 lines, -12 lines 0 comments Download
M cc/raster/zero_copy_tile_task_worker_pool.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M gpu/command_buffer/service/image_factory.cc View 1 2 3 4 5 1 chunk +20 lines, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/compositor/compositor_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor_switches.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (6 generated)
reveman
This fixes RGBA_4444 support and adds command line flags that make it possible to exercise ...
5 years, 4 months ago (2015-08-10 23:19:01 UTC) #2
danakj
https://codereview.chromium.org/1248253003/diff/40001/cc/raster/tile_task_worker_pool.cc File cc/raster/tile_task_worker_pool.cc (right): https://codereview.chromium.org/1248253003/diff/40001/cc/raster/tile_task_worker_pool.cc#newcode228 cc/raster/tile_task_worker_pool.cc:228: canvas_bitmap_rect, scale); On 2015/08/10 23:19:01, reveman (OOO Aug 10 ...
5 years, 4 months ago (2015-08-10 23:35:55 UTC) #3
reveman
https://codereview.chromium.org/1248253003/diff/40001/cc/raster/tile_task_worker_pool.cc File cc/raster/tile_task_worker_pool.cc (right): https://codereview.chromium.org/1248253003/diff/40001/cc/raster/tile_task_worker_pool.cc#newcode228 cc/raster/tile_task_worker_pool.cc:228: canvas_bitmap_rect, scale); On 2015/08/10 at 23:35:54, danakj wrote: > ...
5 years, 4 months ago (2015-08-10 23:49:42 UTC) #4
danakj
LGTM % vmpstr
5 years, 4 months ago (2015-08-11 17:37:42 UTC) #5
vmpstr
lgtm https://codereview.chromium.org/1248253003/diff/60001/cc/raster/tile_task_worker_pool.cc File cc/raster/tile_task_worker_pool.cc (right): https://codereview.chromium.org/1248253003/diff/60001/cc/raster/tile_task_worker_pool.cc#newcode233 cc/raster/tile_task_worker_pool.cc:233: TRACE_EVENT0("cc", "TileTaskWorkerPool::PlaybackToMemory::ConvertPixels"); nit: can you add a trace ...
5 years, 4 months ago (2015-08-11 17:46:17 UTC) #6
reveman
https://codereview.chromium.org/1248253003/diff/60001/cc/raster/tile_task_worker_pool.cc File cc/raster/tile_task_worker_pool.cc (right): https://codereview.chromium.org/1248253003/diff/60001/cc/raster/tile_task_worker_pool.cc#newcode233 cc/raster/tile_task_worker_pool.cc:233: TRACE_EVENT0("cc", "TileTaskWorkerPool::PlaybackToMemory::ConvertPixels"); On 2015/08/11 at 17:46:17, vmpstr wrote: > ...
5 years, 4 months ago (2015-08-11 18:11:29 UTC) #7
reveman
+piman for content/ and gpu/
5 years, 4 months ago (2015-08-19 16:27:20 UTC) #9
piman
https://codereview.chromium.org/1248253003/diff/80001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1248253003/diff/80001/content/renderer/gpu/render_widget_compositor.cc#newcode468 content/renderer/gpu/render_widget_compositor.cc:468: !cmd->HasSwitch(switches::kDisableRGBA4444Textures); These flags won't be forwarded to the renderer ...
5 years, 4 months ago (2015-08-19 21:13:25 UTC) #10
reveman
https://codereview.chromium.org/1248253003/diff/80001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/1248253003/diff/80001/content/renderer/gpu/render_widget_compositor.cc#newcode468 content/renderer/gpu/render_widget_compositor.cc:468: !cmd->HasSwitch(switches::kDisableRGBA4444Textures); On 2015/08/19 at 21:13:25, piman (slow to review) ...
5 years, 4 months ago (2015-08-20 10:44:58 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248253003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248253003/100001
5 years, 4 months ago (2015-08-20 14:35:40 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-20 16:14:32 UTC) #15
piman
lgtm
5 years, 4 months ago (2015-08-20 20:55:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1248253003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1248253003/100001
5 years, 4 months ago (2015-08-20 21:03:26 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 4 months ago (2015-08-20 21:14:08 UTC) #20
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 21:14:44 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/cfd85eeea491f720f2dd2fcf310fe634b237e601
Cr-Commit-Position: refs/heads/master@{#344585}

Powered by Google App Engine
This is Rietveld 408576698