| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 std::unique_ptr<JSONObject> layerTreeAsJSONInternal( | 327 std::unique_ptr<JSONObject> layerTreeAsJSONInternal( |
| 328 LayerTreeFlags, | 328 LayerTreeFlags, |
| 329 RenderingContextMap&) const; | 329 RenderingContextMap&) const; |
| 330 // Outputs the layer tree rooted at |this| as a JSON array, in paint order. | 330 // Outputs the layer tree rooted at |this| as a JSON array, in paint order. |
| 331 void layersAsJSONArray(LayerTreeFlags, | 331 void layersAsJSONArray(LayerTreeFlags, |
| 332 RenderingContextMap&, | 332 RenderingContextMap&, |
| 333 JSONArray*) const; | 333 JSONArray*) const; |
| 334 std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags, | 334 std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags, |
| 335 RenderingContextMap&) const; | 335 RenderingContextMap&) const; |
| 336 | 336 |
| 337 sk_sp<SkPicture> capturePicture(); | 337 sk_sp<CdlPicture> capturePicture(); |
| 338 void checkPaintUnderInvalidations(const SkPicture&); | 338 void checkPaintUnderInvalidations(const CdlPicture&); |
| 339 | 339 |
| 340 GraphicsLayerClient* m_client; | 340 GraphicsLayerClient* m_client; |
| 341 | 341 |
| 342 // Offset from the owning layoutObject | 342 // Offset from the owning layoutObject |
| 343 DoubleSize m_offsetFromLayoutObject; | 343 DoubleSize m_offsetFromLayoutObject; |
| 344 | 344 |
| 345 // Position is relative to the parent GraphicsLayer | 345 // Position is relative to the parent GraphicsLayer |
| 346 FloatPoint m_position; | 346 FloatPoint m_position; |
| 347 FloatSize m_size; | 347 FloatSize m_size; |
| 348 | 348 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 }; | 408 }; |
| 409 | 409 |
| 410 } // namespace blink | 410 } // namespace blink |
| 411 | 411 |
| 412 #ifndef NDEBUG | 412 #ifndef NDEBUG |
| 413 // Outside the blink namespace for ease of invocation from gdb. | 413 // Outside the blink namespace for ease of invocation from gdb. |
| 414 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 414 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 415 #endif | 415 #endif |
| 416 | 416 |
| 417 #endif // GraphicsLayer_h | 417 #endif // GraphicsLayer_h |
| OLD | NEW |