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

Side by Side Diff: ui/gfx/BUILD.gn

Issue 2648043002: Create FP16 LUTs when needed (Closed)
Patch Set: mark all floats as floats (not doubles) Created 3 years, 10 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | ui/gfx/half_float.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "font_render_params.cc", 84 "font_render_params.cc",
85 "font_render_params.h", 85 "font_render_params.h",
86 "font_render_params_android.cc", 86 "font_render_params_android.cc",
87 "font_render_params_linux.cc", 87 "font_render_params_linux.cc",
88 "font_render_params_mac.cc", 88 "font_render_params_mac.cc",
89 "font_render_params_win.cc", 89 "font_render_params_win.cc",
90 "gdi_util.cc", 90 "gdi_util.cc",
91 "gdi_util.h", 91 "gdi_util.h",
92 "gfx_paths.cc", 92 "gfx_paths.cc",
93 "gfx_paths.h", 93 "gfx_paths.h",
94 "half_float.cc",
95 "half_float.h",
94 "icc_profile.cc", 96 "icc_profile.cc",
95 "icc_profile.h", 97 "icc_profile.h",
96 "icc_profile_mac.mm", 98 "icc_profile_mac.mm",
97 "icc_profile_win.cc", 99 "icc_profile_win.cc",
98 "icc_profile_x11.cc", 100 "icc_profile_x11.cc",
99 "icon_util.cc", 101 "icon_util.cc",
100 "icon_util.h", 102 "icon_util.h",
101 "image/image.cc", 103 "image/image.cc",
102 "image/image.h", 104 "image/image.h",
103 "image/image_family.cc", 105 "image/image_family.cc",
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 434
433 defines = [ "GFX_IMPLEMENTATION" ] 435 defines = [ "GFX_IMPLEMENTATION" ]
434 436
435 public_deps = [ 437 public_deps = [
436 ":gfx_export", 438 ":gfx_export",
437 "//base", 439 "//base",
438 "//skia", 440 "//skia",
439 ] 441 ]
440 } 442 }
441 443
444 # Depend on this to use half_float.h without pulling in all of gfx.
445 source_set("half_float") {
446 sources = [
447 "half_float.h",
448 ]
449
450 defines = [ "GFX_IMPLEMENTATION" ]
451
452 public_deps = [
453 ":gfx_export",
454 "//base",
455 ]
456 }
457
442 # Depend on this to use native_widget_types.h without pulling in all of gfx. 458 # Depend on this to use native_widget_types.h without pulling in all of gfx.
443 source_set("native_widget_types") { 459 source_set("native_widget_types") {
444 public = [ 460 public = [
445 "native_widget_types.h", 461 "native_widget_types.h",
446 ] 462 ]
447 463
448 public_deps = [ 464 public_deps = [
449 "//base", 465 "//base",
450 ] 466 ]
451 } 467 }
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 "geometry/matrix3_unittest.cc", 639 "geometry/matrix3_unittest.cc",
624 "geometry/point3_unittest.cc", 640 "geometry/point3_unittest.cc",
625 "geometry/point_unittest.cc", 641 "geometry/point_unittest.cc",
626 "geometry/quad_unittest.cc", 642 "geometry/quad_unittest.cc",
627 "geometry/rect_unittest.cc", 643 "geometry/rect_unittest.cc",
628 "geometry/safe_integer_conversions_unittest.cc", 644 "geometry/safe_integer_conversions_unittest.cc",
629 "geometry/scroll_offset_unittest.cc", 645 "geometry/scroll_offset_unittest.cc",
630 "geometry/size_unittest.cc", 646 "geometry/size_unittest.cc",
631 "geometry/vector2d_unittest.cc", 647 "geometry/vector2d_unittest.cc",
632 "geometry/vector3d_unittest.cc", 648 "geometry/vector3d_unittest.cc",
649 "half_float_unittest.cc",
633 "icc_profile_unittest.cc", 650 "icc_profile_unittest.cc",
634 "image/image_mac_unittest.mm", 651 "image/image_mac_unittest.mm",
635 "image/image_util_unittest.cc", 652 "image/image_util_unittest.cc",
636 "mac/coordinate_conversion_unittest.mm", 653 "mac/coordinate_conversion_unittest.mm",
637 "mojo/struct_traits_unittest.cc", 654 "mojo/struct_traits_unittest.cc",
638 "nine_image_painter_unittest.cc", 655 "nine_image_painter_unittest.cc",
639 "path_mac_unittest.mm", 656 "path_mac_unittest.mm",
640 "platform_font_mac_unittest.mm", 657 "platform_font_mac_unittest.mm",
641 "range/range_mac_unittest.mm", 658 "range/range_mac_unittest.mm",
642 "range/range_unittest.cc", 659 "range/range_unittest.cc",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 761
745 fuzzer_test("color_transform_fuzztest") { 762 fuzzer_test("color_transform_fuzztest") {
746 sources = [ 763 sources = [
747 "color_transform_fuzzer.cc", 764 "color_transform_fuzzer.cc",
748 ] 765 ]
749 deps = [ 766 deps = [
750 ":gfx", 767 ":gfx",
751 ] 768 ]
752 libfuzzer_options = [ "max_len=1024" ] 769 libfuzzer_options = [ "max_len=1024" ]
753 } 770 }
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | ui/gfx/half_float.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698