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

Side by Side Diff: Source/devtools/front_end/timelinePanel.css

Issue 46663010: DevTools: Show GPU utilization bar on timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tune PID to hue magic const Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/devtools/front_end/TracingAgent.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 .sidebar-tree-item .timeline-frame-overview-status-bar-item { 511 .sidebar-tree-item .timeline-frame-overview-status-bar-item {
512 position: absolute; 512 position: absolute;
513 right: 10px; 513 right: 10px;
514 top: 4px; 514 top: 4px;
515 } 515 }
516 516
517 .timeline-frame-container { 517 .timeline-frame-container {
518 height: 19px; 518 height: 19px;
519 overflow: hidden; 519 overflow: hidden;
520 background-color: rgb(220, 220, 220); 520 background-color: rgb(220, 220, 220);
521 opacity: 0.6; 521 opacity: 0.8;
522 color: #222; 522 color: black;
523 text-align: center; 523 text-align: center;
524 padding-top: 3px; 524 padding-top: 3px;
525 z-index: 350; 525 z-index: 350;
526 pointer-events: auto; 526 pointer-events: auto;
527 } 527 }
528 528
529 .timeline-frame-strip { 529 .timeline-frame-strip {
530 position: absolute; 530 position: absolute;
531 height: 19px; 531 height: 19px;
532 } 532 }
533 533
534 #timeline-grid-header { 534 #timeline-grid-header {
535 pointer-events: none; 535 pointer-events: none;
536 } 536 }
537 537
538 .timeline-cpu-bars { 538 .timeline-utilization-strips {
539 position: absolute;
540 top: 0;
541 height: 19px; 539 height: 19px;
542 z-index: 350; 540 padding: 1px 0;
543 width: 100%;
544 overflow: hidden;
545 } 541 }
546 542
547 .timeline-cpu-bars .timeline-graph-bar { 543 .timeline-utilization-strip {
544 z-index: 350;
545 overflow: hidden;
546 flex: auto;
547 position: relative;
548 }
549
550 .timeline-utilization-strip .timeline-graph-bar {
548 border-color: rgb(192, 192, 192); 551 border-color: rgb(192, 192, 192);
549 background-color: rgba(0, 0, 0, 0.1); 552 background-color: rgba(0, 0, 0, 0.1);
550 top: 4px; 553 margin: 1.5px auto;
551 bottom: 4px;
552 height: auto; 554 height: auto;
553 } 555 }
554 556
557 .timeline-utilization-strip.gpu .timeline-graph-bar {
558 background-color: red;
559 border: none;
560 }
561
555 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right { 562 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
556 background-color: rgba(0, 0, 0, 0.15); 563 background-color: rgba(0, 0, 0, 0.15);
557 position: absolute; 564 position: absolute;
558 top: 0; 565 top: 0;
559 height: 100%; 566 height: 100%;
560 } 567 }
561 568
562 .timeline-cpu-curtain-left { 569 .timeline-cpu-curtain-left {
563 left: 0; 570 left: 0;
564 } 571 }
(...skipping 30 matching lines...) Expand all
595 602
596 @-webkit-keyframes timeline_record_highlight { 603 @-webkit-keyframes timeline_record_highlight {
597 from {background-color: rgba(255, 255, 120, 1); } 604 from {background-color: rgba(255, 255, 120, 1); }
598 to { background-color: rgba(255, 255, 120, 0); } 605 to { background-color: rgba(255, 255, 120, 0); }
599 } 606 }
600 607
601 .timeline-filters-header { 608 .timeline-filters-header {
602 flex: 0 0 23px; 609 flex: 0 0 23px;
603 overflow: hidden; 610 overflow: hidden;
604 } 611 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TracingAgent.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698