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

Side by Side Diff: cc/BUILD.gn

Issue 1096703002: Reland: Add ETC1 powered SSE encoder for tile texture compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding unit test for texture compression Created 5 years, 7 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
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 component("cc") { 7 component("cc") {
8 sources = [ 8 sources = [
9 "animation/animation.cc", 9 "animation/animation.cc",
10 "animation/animation.h", 10 "animation/animation.h",
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 "resources/single_release_callback_impl.cc", 425 "resources/single_release_callback_impl.cc",
426 "resources/single_release_callback_impl.h", 426 "resources/single_release_callback_impl.h",
427 "resources/skpicture_content_layer_updater.cc", 427 "resources/skpicture_content_layer_updater.cc",
428 "resources/skpicture_content_layer_updater.h", 428 "resources/skpicture_content_layer_updater.h",
429 "resources/task_graph_runner.cc", 429 "resources/task_graph_runner.cc",
430 "resources/task_graph_runner.h", 430 "resources/task_graph_runner.h",
431 "resources/texture_compressor.cc", 431 "resources/texture_compressor.cc",
432 "resources/texture_compressor.h", 432 "resources/texture_compressor.h",
433 "resources/texture_compressor_etc1.cc", 433 "resources/texture_compressor_etc1.cc",
434 "resources/texture_compressor_etc1.h", 434 "resources/texture_compressor_etc1.h",
435 "resources/texture_compressor_util.h",
435 "resources/texture_mailbox.cc", 436 "resources/texture_mailbox.cc",
436 "resources/texture_mailbox.h", 437 "resources/texture_mailbox.h",
437 "resources/texture_mailbox_deleter.cc", 438 "resources/texture_mailbox_deleter.cc",
438 "resources/texture_mailbox_deleter.h", 439 "resources/texture_mailbox_deleter.h",
439 "resources/texture_uploader.cc", 440 "resources/texture_uploader.cc",
440 "resources/texture_uploader.h", 441 "resources/texture_uploader.h",
441 "resources/tile.cc", 442 "resources/tile.cc",
442 "resources/tile.h", 443 "resources/tile.h",
443 "resources/tile_draw_info.cc", 444 "resources/tile_draw_info.cc",
444 "resources/tile_draw_info.h", 445 "resources/tile_draw_info.h",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 "//ui/gfx", 544 "//ui/gfx",
544 "//ui/gfx/geometry", 545 "//ui/gfx/geometry",
545 ] 546 ]
546 547
547 defines = [ "CC_IMPLEMENTATION=1" ] 548 defines = [ "CC_IMPLEMENTATION=1" ]
548 549
549 if (!is_debug && (is_win || is_android)) { 550 if (!is_debug && (is_win || is_android)) {
550 configs -= [ "//build/config/compiler:optimize" ] 551 configs -= [ "//build/config/compiler:optimize" ]
551 configs += [ "//build/config/compiler:optimize_max" ] 552 configs += [ "//build/config/compiler:optimize_max" ]
552 } 553 }
554
555 if (target_cpu == "ia32" || target_cpu == "x64") {
556 sources += [
557 "resources/texture_compressor_etc1_sse.cc",
558 "resources/texture_compressor_etc1_sse.h",
559 ]
560 }
553 } 561 }
554 562
555 source_set("test_support") { 563 source_set("test_support") {
556 testonly = true 564 testonly = true
557 sources = [ 565 sources = [
558 "test/animation_test_common.cc", 566 "test/animation_test_common.cc",
559 "test/animation_test_common.h", 567 "test/animation_test_common.h",
560 "test/begin_frame_args_test.cc", 568 "test/begin_frame_args_test.cc",
561 "test/begin_frame_args_test.h", 569 "test/begin_frame_args_test.h",
562 "test/failure_output_surface.cc", 570 "test/failure_output_surface.cc",
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 "resources/picture_unittest.cc", 808 "resources/picture_unittest.cc",
801 "resources/pixel_ref_map_unittest.cc", 809 "resources/pixel_ref_map_unittest.cc",
802 "resources/platform_color_unittest.cc", 810 "resources/platform_color_unittest.cc",
803 "resources/prioritized_resource_unittest.cc", 811 "resources/prioritized_resource_unittest.cc",
804 "resources/recording_source_unittest.cc", 812 "resources/recording_source_unittest.cc",
805 "resources/resource_provider_unittest.cc", 813 "resources/resource_provider_unittest.cc",
806 "resources/resource_update_controller_unittest.cc", 814 "resources/resource_update_controller_unittest.cc",
807 "resources/scoped_gpu_raster_unittest.cc", 815 "resources/scoped_gpu_raster_unittest.cc",
808 "resources/scoped_resource_unittest.cc", 816 "resources/scoped_resource_unittest.cc",
809 "resources/task_graph_runner_unittest.cc", 817 "resources/task_graph_runner_unittest.cc",
818 "resources/texture_compressor_unittest.cc",
810 "resources/texture_mailbox_deleter_unittest.cc", 819 "resources/texture_mailbox_deleter_unittest.cc",
811 "resources/texture_uploader_unittest.cc", 820 "resources/texture_uploader_unittest.cc",
812 "resources/tile_manager_unittest.cc", 821 "resources/tile_manager_unittest.cc",
813 "resources/tile_priority_unittest.cc", 822 "resources/tile_priority_unittest.cc",
814 "resources/tile_task_worker_pool_unittest.cc", 823 "resources/tile_task_worker_pool_unittest.cc",
815 "resources/video_resource_updater_unittest.cc", 824 "resources/video_resource_updater_unittest.cc",
816 "scheduler/begin_frame_source_unittest.cc", 825 "scheduler/begin_frame_source_unittest.cc",
817 "scheduler/delay_based_time_source_unittest.cc", 826 "scheduler/delay_based_time_source_unittest.cc",
818 "scheduler/scheduler_state_machine_unittest.cc", 827 "scheduler/scheduler_state_machine_unittest.cc",
819 "scheduler/scheduler_unittest.cc", 828 "scheduler/scheduler_unittest.cc",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 "//testing/gmock", 925 "//testing/gmock",
917 "//testing/gtest", 926 "//testing/gtest",
918 "//testing/perf", 927 "//testing/perf",
919 "//ui/gfx", 928 "//ui/gfx",
920 "//ui/gfx/geometry", 929 "//ui/gfx/geometry",
921 "//ui/gl", 930 "//ui/gl",
922 ] 931 ]
923 } 932 }
924 # When adding support for isolates, please have a look at run-time dependencies 933 # When adding support for isolates, please have a look at run-time dependencies
925 # in the cc_unittests_run target in cc_tests.gyp. 934 # in the cc_unittests_run target in cc_tests.gyp.
OLDNEW
« no previous file with comments | « AUTHORS ('k') | cc/cc.gyp » ('j') | cc/resources/texture_compressor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698