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

Side by Side Diff: cc/cc.gyp

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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 # GN version: //cc 11 # GN version: //cc
12 'target_name': 'cc', 12 'target_name': 'cc',
13 'type': '<(component)', 13 'type': '<(component)',
14 'dependencies': [ 14 'dependencies': [
15 '<(DEPTH)/base/base.gyp:base', 15 '<(DEPTH)/base/base.gyp:base',
16 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 16 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
17 '<(DEPTH)/gpu/gpu.gyp:gpu', 17 '<(DEPTH)/gpu/gpu.gyp:gpu',
18 '<(DEPTH)/media/media.gyp:media', 18 '<(DEPTH)/media/media.gyp:media',
19 '<(DEPTH)/skia/skia.gyp:skia', 19 '<(DEPTH)/skia/skia.gyp:skia',
20 '<(DEPTH)/ui/events/events.gyp:events_base', 20 '<(DEPTH)/ui/events/events.gyp:events_base',
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 22 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
23 'cc_opts',
23 ], 24 ],
24 'variables': { 25 'variables': {
25 'optimize': 'max', 26 'optimize': 'max',
26 }, 27 },
27 'export_dependent_settings': [ 28 'export_dependent_settings': [
28 '<(DEPTH)/skia/skia.gyp:skia', 29 '<(DEPTH)/skia/skia.gyp:skia',
29 ], 30 ],
30 'defines': [ 31 'defines': [
31 'CC_IMPLEMENTATION=1', 32 'CC_IMPLEMENTATION=1',
32 ], 33 ],
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 'resources/single_release_callback_impl.cc', 481 'resources/single_release_callback_impl.cc',
481 'resources/single_release_callback_impl.h', 482 'resources/single_release_callback_impl.h',
482 'resources/skpicture_content_layer_updater.cc', 483 'resources/skpicture_content_layer_updater.cc',
483 'resources/skpicture_content_layer_updater.h', 484 'resources/skpicture_content_layer_updater.h',
484 'resources/task_graph_runner.cc', 485 'resources/task_graph_runner.cc',
485 'resources/task_graph_runner.h', 486 'resources/task_graph_runner.h',
486 'resources/texture_compressor.cc', 487 'resources/texture_compressor.cc',
487 'resources/texture_compressor.h', 488 'resources/texture_compressor.h',
488 'resources/texture_compressor_etc1.cc', 489 'resources/texture_compressor_etc1.cc',
489 'resources/texture_compressor_etc1.h', 490 'resources/texture_compressor_etc1.h',
491 'resources/texture_compressor_util.h',
490 'resources/texture_mailbox.cc', 492 'resources/texture_mailbox.cc',
491 'resources/texture_mailbox.h', 493 'resources/texture_mailbox.h',
492 'resources/texture_mailbox_deleter.cc', 494 'resources/texture_mailbox_deleter.cc',
493 'resources/texture_mailbox_deleter.h', 495 'resources/texture_mailbox_deleter.h',
494 'resources/texture_uploader.cc', 496 'resources/texture_uploader.cc',
495 'resources/texture_uploader.h', 497 'resources/texture_uploader.h',
496 'resources/tile.cc', 498 'resources/tile.cc',
497 'resources/tile.h', 499 'resources/tile.h',
498 'resources/tile_draw_info.cc', 500 'resources/tile_draw_info.cc',
499 'resources/tile_draw_info.h', 501 'resources/tile_draw_info.h',
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 'surfaces/surface_manager.cc', 625 'surfaces/surface_manager.cc',
624 'surfaces/surface_manager.h', 626 'surfaces/surface_manager.h',
625 'surfaces/surface_resource_holder.cc', 627 'surfaces/surface_resource_holder.cc',
626 'surfaces/surface_resource_holder.h', 628 'surfaces/surface_resource_holder.h',
627 'surfaces/surfaces_export.h', 629 'surfaces/surfaces_export.h',
628 ], 630 ],
629 'includes': [ 631 'includes': [
630 '../build/android/increase_size_for_speed.gypi', 632 '../build/android/increase_size_for_speed.gypi',
631 ], 633 ],
632 }, 634 },
635 {
636 'target_name': 'cc_opts',
637 'type': 'static_library',
638 'conditions': [
639 ['target_arch == "ia32" or target_arch == "x64"', {
640 'defines': [
641 'CC_IMPLEMENTATION=1',
642 ],
643 'dependencies': [
644 'cc_opts_sse',
645 ]
646 }],
647 ],
648 },
649 {
650 'target_name': 'cc_opts_sse',
651 'type': 'static_library',
652 'dependencies': [
653 '<(DEPTH)/base/base.gyp:base',
654 ],
655 'conditions': [
656 ['target_arch == "ia32" or target_arch == "x64"', {
657 'defines': [
658 'CC_IMPLEMENTATION=1',
659 ],
660 'sources': [
661 # Conditional compilation for SSE2 code on x86 and x64 machines
662 'resources/texture_compressor_etc1_sse.cc',
663 'resources/texture_compressor_etc1_sse.h',
664 ],
665 'cflags': [
666 '-msse2',
667 ],
668 }],
669 ],
670 },
633 ], 671 ],
634 } 672 }
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | cc/cc_tests.gyp » ('j') | cc/resources/texture_compressor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698