[go: nahoru, domu]

tree: 1d42d6157d83ddf27207d66df431dd95399f899f [path history] [tgz]
  1. BUILD.gn
  2. clear_for_opaque_raster.cc
  3. clear_for_opaque_raster.h
  4. clear_for_opaque_raster_unittest.cc
  5. decode_stashing_image_provider.cc
  6. decode_stashing_image_provider.h
  7. decoded_draw_image.cc
  8. decoded_draw_image.h
  9. DEPS
  10. discardable_image_map.cc
  11. discardable_image_map.h
  12. discardable_image_map_unittest.cc
  13. display_item_list.cc
  14. display_item_list.h
  15. display_item_list_unittest.cc
  16. draw_image.cc
  17. draw_image.h
  18. element_id.cc
  19. element_id.h
  20. filter_operation.cc
  21. filter_operation.h
  22. filter_operations.cc
  23. filter_operations.h
  24. filter_operations_unittest.cc
  25. frame_metadata.h
  26. image_analysis_state.h
  27. image_animation_count.h
  28. image_id.h
  29. image_provider.cc
  30. image_provider.h
  31. image_transfer_cache_entry.cc
  32. image_transfer_cache_entry.h
  33. image_transfer_cache_entry_unittest.cc
  34. node_id.h
  35. oop_pixeltest.cc
  36. paint_cache.cc
  37. paint_cache.h
  38. paint_cache_unittest.cc
  39. paint_canvas.h
  40. paint_export.h
  41. paint_filter.cc
  42. paint_filter.h
  43. paint_filter_unittest.cc
  44. paint_flags.cc
  45. paint_flags.h
  46. paint_image.cc
  47. paint_image.h
  48. paint_image_builder.cc
  49. paint_image_builder.h
  50. paint_image_generator.cc
  51. paint_image_generator.h
  52. paint_image_unittest.cc
  53. paint_op.cc
  54. paint_op.h
  55. paint_op_buffer.cc
  56. paint_op_buffer.h
  57. paint_op_buffer_fuzzer.cc
  58. paint_op_buffer_iterator.cc
  59. paint_op_buffer_iterator.h
  60. paint_op_buffer_serializer.cc
  61. paint_op_buffer_serializer.h
  62. paint_op_buffer_unittest.cc
  63. paint_op_helper_unittest.cc
  64. paint_op_perftest.cc
  65. paint_op_reader.cc
  66. paint_op_reader.h
  67. paint_op_writer.cc
  68. paint_op_writer.h
  69. paint_op_writer_reader_unittest.cc
  70. paint_record.cc
  71. paint_record.h
  72. paint_recorder.cc
  73. paint_recorder.h
  74. paint_shader.cc
  75. paint_shader.h
  76. paint_shader_unittest.cc
  77. paint_worklet_input.cc
  78. paint_worklet_input.h
  79. paint_worklet_input_unittest.cc
  80. paint_worklet_job.cc
  81. paint_worklet_job.h
  82. paint_worklet_layer_painter.h
  83. raw_memory_transfer_cache_entry.cc
  84. raw_memory_transfer_cache_entry.h
  85. README.md
  86. record_paint_canvas.cc
  87. record_paint_canvas.h
  88. render_surface_filters.cc
  89. render_surface_filters.h
  90. scoped_raster_flags.cc
  91. scoped_raster_flags.h
  92. scoped_raster_flags_unittest.cc
  93. shader_transfer_cache_entry.cc
  94. shader_transfer_cache_entry.h
  95. skia_paint_canvas.cc
  96. skia_paint_canvas.h
  97. skia_paint_canvas_unittest.cc
  98. skia_paint_image_generator.cc
  99. skia_paint_image_generator.h
  100. skottie_color_map.h
  101. skottie_frame_data.h
  102. skottie_frame_data_provider.h
  103. skottie_marker.h
  104. skottie_mru_resource_provider.cc
  105. skottie_mru_resource_provider.h
  106. skottie_mru_resource_provider_unittest.cc
  107. skottie_resource_metadata.cc
  108. skottie_resource_metadata.h
  109. skottie_resource_metadata_unittest.cc
  110. skottie_serialization_history.cc
  111. skottie_serialization_history.h
  112. skottie_serialization_history_unittest.cc
  113. skottie_text_property_value.cc
  114. skottie_text_property_value.h
  115. skottie_text_property_value_unittest.cc
  116. skottie_transfer_cache_entry.cc
  117. skottie_transfer_cache_entry.h
  118. skottie_transfer_cache_entry_unittest.cc
  119. skottie_transform_property_value.cc
  120. skottie_transform_property_value.h
  121. skottie_wrapper.cc
  122. skottie_wrapper.h
  123. skottie_wrapper_impl.cc
  124. skottie_wrapper_stub.cc
  125. skottie_wrapper_unittest.cc
  126. solid_color_analyzer.cc
  127. solid_color_analyzer.h
  128. solid_color_analyzer_unittest.cc
  129. target_color_params.cc
  130. target_color_params.h
  131. texture_backing.h
  132. transfer_cache_deserialize_helper.h
  133. transfer_cache_entry.cc
  134. transfer_cache_entry.h
  135. transfer_cache_fuzzer.cc
  136. transfer_cache_serialize_helper.cc
  137. transfer_cache_serialize_helper.h
  138. transfer_cache_unittest.cc
cc/paint/README.md

cc/paint

This document gives an overview of the paint component of cc.

Overview

cc/paint is a replacement for SkPicture/SkCanvas/SkPaint recording data structures throughout the Chrome codebase, primarily meaning Blink and ui. The reason for a separate data structure is to change the way that recordings are stored to improve transport and recording performance.

Skia will still be the ultimate backend for raster, and so any place in code that still wants to raster directly (either for test expectations or to create an SkImage, for example) should continue to use Skia data structures.

Dependencies

As this component is used in both Blink and ui, it should only include files that Blink is also allowed to depend on. This means not including base/ or using std data structures publicly.

This is why cc/paint uses sk_sp reference counting at the moment as a compromise between Blink and chrome style.