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

Side by Side Diff: Source/WebCore/platform/graphics/GraphicsLayer.cpp

Issue 9120020: Revert 98735 - Source/WebCore: The HTML5 video element in Safari does not respect "visibility:hid... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 , m_anchorPoint(0.5f, 0.5f, 0) 70 , m_anchorPoint(0.5f, 0.5f, 0)
71 , m_opacity(1) 71 , m_opacity(1)
72 , m_zPosition(0) 72 , m_zPosition(0)
73 , m_backgroundColorSet(false) 73 , m_backgroundColorSet(false)
74 , m_contentsOpaque(false) 74 , m_contentsOpaque(false)
75 , m_preserves3D(false) 75 , m_preserves3D(false)
76 , m_backfaceVisibility(true) 76 , m_backfaceVisibility(true)
77 , m_usingTiledLayer(false) 77 , m_usingTiledLayer(false)
78 , m_masksToBounds(false) 78 , m_masksToBounds(false)
79 , m_drawsContent(false) 79 , m_drawsContent(false)
80 , m_contentsVisible(true)
81 , m_acceleratesDrawing(false) 80 , m_acceleratesDrawing(false)
82 , m_maintainsPixelAlignment(false) 81 , m_maintainsPixelAlignment(false)
83 , m_appliesPageScale(false) 82 , m_appliesPageScale(false)
84 , m_paintingPhase(GraphicsLayerPaintAll) 83 , m_paintingPhase(GraphicsLayerPaintAll)
85 , m_contentsOrientation(CompositingCoordinatesTopDown) 84 , m_contentsOrientation(CompositingCoordinatesTopDown)
86 , m_parent(0) 85 , m_parent(0)
87 , m_maskLayer(0) 86 , m_maskLayer(0)
88 , m_replicaLayer(0) 87 , m_replicaLayer(0)
89 , m_replicatedLayer(0) 88 , m_replicatedLayer(0)
90 , m_repaintCount(0) 89 , m_repaintCount(0)
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 if (m_preserves3D) { 497 if (m_preserves3D) {
499 writeIndent(ts, indent + 1); 498 writeIndent(ts, indent + 1);
500 ts << "(preserves3D " << m_preserves3D << ")\n"; 499 ts << "(preserves3D " << m_preserves3D << ")\n";
501 } 500 }
502 501
503 if (m_drawsContent) { 502 if (m_drawsContent) {
504 writeIndent(ts, indent + 1); 503 writeIndent(ts, indent + 1);
505 ts << "(drawsContent " << m_drawsContent << ")\n"; 504 ts << "(drawsContent " << m_drawsContent << ")\n";
506 } 505 }
507 506
508 if (!m_contentsVisible) {
509 writeIndent(ts, indent + 1);
510 ts << "(contentsVisible " << m_contentsVisible << ")\n";
511 }
512
513 if (!m_backfaceVisibility) { 507 if (!m_backfaceVisibility) {
514 writeIndent(ts, indent + 1); 508 writeIndent(ts, indent + 1);
515 ts << "(backfaceVisibility " << (m_backfaceVisibility ? "visible" : "hid den") << ")\n"; 509 ts << "(backfaceVisibility " << (m_backfaceVisibility ? "visible" : "hid den") << ")\n";
516 } 510 }
517 511
518 if (behavior & LayerTreeAsTextDebug) { 512 if (behavior & LayerTreeAsTextDebug) {
519 writeIndent(ts, indent + 1); 513 writeIndent(ts, indent + 1);
520 ts << "("; 514 ts << "(";
521 if (m_client) 515 if (m_client)
522 ts << "client " << static_cast<void*>(m_client); 516 ts << "client " << static_cast<void*>(m_client);
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 { 588 {
595 if (!layer) 589 if (!layer)
596 return; 590 return;
597 591
598 WTF::String output = layer->layerTreeAsText(LayerTreeAsTextDebug); 592 WTF::String output = layer->layerTreeAsText(LayerTreeAsTextDebug);
599 fprintf(stderr, "%s\n", output.utf8().data()); 593 fprintf(stderr, "%s\n", output.utf8().data());
600 } 594 }
601 #endif 595 #endif
602 596
603 #endif // USE(ACCELERATED_COMPOSITING) 597 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « Source/WebCore/platform/graphics/GraphicsLayer.h ('k') | Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698