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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 LayerTreeFlags, | 316 LayerTreeFlags, |
317 RenderingContextMap&) const; | 317 RenderingContextMap&) const; |
318 // Outputs the layer tree rooted at |this| as a JSON array, in paint order. | 318 // Outputs the layer tree rooted at |this| as a JSON array, in paint order. |
319 void layersAsJSONArray(LayerTreeFlags, | 319 void layersAsJSONArray(LayerTreeFlags, |
320 RenderingContextMap&, | 320 RenderingContextMap&, |
321 JSONArray*) const; | 321 JSONArray*) const; |
322 std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags, | 322 std::unique_ptr<JSONObject> layerAsJSONInternal(LayerTreeFlags, |
323 RenderingContextMap&) const; | 323 RenderingContextMap&) const; |
324 | 324 |
325 sk_sp<PaintRecord> captureRecord(); | 325 sk_sp<PaintRecord> captureRecord(); |
326 void checkPaintUnderInvalidations(const PaintRecord&); | 326 void checkPaintUnderInvalidations(sk_sp<PaintRecord>); |
327 | 327 |
328 GraphicsLayerClient* m_client; | 328 GraphicsLayerClient* m_client; |
329 | 329 |
330 // Offset from the owning layoutObject | 330 // Offset from the owning layoutObject |
331 DoubleSize m_offsetFromLayoutObject; | 331 DoubleSize m_offsetFromLayoutObject; |
332 | 332 |
333 // Position is relative to the parent GraphicsLayer | 333 // Position is relative to the parent GraphicsLayer |
334 FloatPoint m_position; | 334 FloatPoint m_position; |
335 FloatSize m_size; | 335 FloatSize m_size; |
336 | 336 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 }; | 394 }; |
395 | 395 |
396 } // namespace blink | 396 } // namespace blink |
397 | 397 |
398 #ifndef NDEBUG | 398 #ifndef NDEBUG |
399 // Outside the blink namespace for ease of invocation from gdb. | 399 // Outside the blink namespace for ease of invocation from gdb. |
400 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 400 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
401 #endif | 401 #endif |
402 | 402 |
403 #endif // GraphicsLayer_h | 403 #endif // GraphicsLayer_h |
OLD | NEW |