tree: 64ea1c5f2eb1c64af8a2b19248b0fc59f1e3af35 [path history] [tgz]
  1. BUILD.gn
  2. color_space_transfer_cache_entry.cc
  3. color_space_transfer_cache_entry.h
  4. decode_stashing_image_provider.cc
  5. decode_stashing_image_provider.h
  6. decoded_draw_image.cc
  7. decoded_draw_image.h
  8. DEPS
  9. discardable_image_map.cc
  10. discardable_image_map.h
  11. discardable_image_map_unittest.cc
  12. display_item_list.cc
  13. display_item_list.h
  14. display_item_list_unittest.cc
  15. draw_image.cc
  16. draw_image.h
  17. filter_operation.cc
  18. filter_operation.h
  19. filter_operations.cc
  20. filter_operations.h
  21. filter_operations_unittest.cc
  22. frame_metadata.h
  23. image_analysis_state.h
  24. image_animation_count.h
  25. image_id.h
  26. image_provider.cc
  27. image_provider.h
  28. image_transfer_cache_entry.cc
  29. image_transfer_cache_entry.h
  30. oop_pixeltest.cc
  31. paint_canvas.h
  32. paint_export.h
  33. paint_filter.cc
  34. paint_filter.h
  35. paint_filter_unittest.cc
  36. paint_flags.cc
  37. paint_flags.h
  38. paint_font.cc
  39. paint_font.h
  40. paint_image.cc
  41. paint_image.h
  42. paint_image_builder.cc
  43. paint_image_builder.h
  44. paint_image_generator.cc
  45. paint_image_generator.h
  46. paint_image_unittest.cc
  47. paint_op_buffer.cc
  48. paint_op_buffer.h
  49. paint_op_buffer_eq_fuzzer.cc
  50. paint_op_buffer_fuzzer.cc
  51. paint_op_buffer_serializer.cc
  52. paint_op_buffer_serializer.h
  53. paint_op_buffer_unittest.cc
  54. paint_op_helper_unittest.cc
  55. paint_op_perftest.cc
  56. paint_op_reader.cc
  57. paint_op_reader.h
  58. paint_op_writer.cc
  59. paint_op_writer.h
  60. paint_record.cc
  61. paint_record.h
  62. paint_recorder.cc
  63. paint_recorder.h
  64. paint_shader.cc
  65. paint_shader.h
  66. paint_shader_unittest.cc
  67. paint_text_blob.cc
  68. paint_text_blob.h
  69. paint_text_blob_builder.cc
  70. paint_text_blob_builder.h
  71. path_transfer_cache_entry.cc
  72. path_transfer_cache_entry.h
  73. raw_memory_transfer_cache_entry.cc
  74. raw_memory_transfer_cache_entry.h
  75. README.md
  76. record_paint_canvas.cc
  77. record_paint_canvas.h
  78. render_surface_filters.cc
  79. render_surface_filters.h
  80. scoped_raster_flags.cc
  81. scoped_raster_flags.h
  82. scoped_raster_flags_unittest.cc
  83. shader_transfer_cache_entry.cc
  84. shader_transfer_cache_entry.h
  85. skia_paint_canvas.cc
  86. skia_paint_canvas.h
  87. skia_paint_canvas_unittest.cc
  88. skia_paint_image_generator.cc
  89. skia_paint_image_generator.h
  90. solid_color_analyzer.cc
  91. solid_color_analyzer.h
  92. solid_color_analyzer_unittest.cc
  93. transfer_cache_deserialize_helper.h
  94. transfer_cache_entry.cc
  95. transfer_cache_entry.h
  96. transfer_cache_fuzzer.cc
  97. transfer_cache_serialize_helper.cc
  98. transfer_cache_serialize_helper.h
  99. 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.