forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPU: Split some of the GPU projects to individual gypi files.
There should be no change in behavior. BUG=114261 TEST=none Review URL: https://chromiumcodereview.appspot.com/9359055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122413 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
rvargas@google.com
committed
Feb 17, 2012
1 parent
031cbde
commit bed9927
Showing
7 changed files
with
211 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
'include_dirs': [ | ||
'..', | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
'all_dependent_settings': { | ||
'include_dirs': [ | ||
'..', | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
}, | ||
'sources': [ | ||
'command_buffer/client/cmd_buffer_helper.cc', | ||
'command_buffer/client/cmd_buffer_helper.h', | ||
'command_buffer/client/fenced_allocator.cc', | ||
'command_buffer/client/fenced_allocator.h', | ||
'command_buffer/client/mapped_memory.cc', | ||
'command_buffer/client/mapped_memory.h', | ||
'command_buffer/client/ring_buffer.cc', | ||
'command_buffer/client/ring_buffer.h', | ||
'command_buffer/client/transfer_buffer.cc', | ||
'command_buffer/client/transfer_buffer.h', | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
'include_dirs': [ | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
'all_dependent_settings': { | ||
'include_dirs': [ | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
}, | ||
'dependencies': [ | ||
'../base/base.gyp:base', | ||
'command_buffer/command_buffer.gyp:gles2_utils', | ||
], | ||
'sources': [ | ||
'command_buffer/common/bitfield_helpers.h', | ||
'command_buffer/common/buffer.h', | ||
'command_buffer/common/cmd_buffer_common.h', | ||
'command_buffer/common/cmd_buffer_common.cc', | ||
'command_buffer/common/command_buffer.h', | ||
'command_buffer/common/compiler_specific.h', | ||
'command_buffer/common/constants.h', | ||
'command_buffer/common/gles2_cmd_ids_autogen.h', | ||
'command_buffer/common/gles2_cmd_ids.h', | ||
'command_buffer/common/gles2_cmd_format_autogen.h', | ||
'command_buffer/common/gles2_cmd_format.cc', | ||
'command_buffer/common/gles2_cmd_format.h', | ||
'command_buffer/common/id_allocator.cc', | ||
'command_buffer/common/id_allocator.h', | ||
'command_buffer/common/thread_local.h', | ||
'command_buffer/common/types.h', | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
'include_dirs': [ | ||
'..', | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
'all_dependent_settings': { | ||
'include_dirs': [ | ||
'..', | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
}, | ||
'dependencies': [ | ||
'../base/base.gyp:base', | ||
'../ui/gfx/gl/gl.gyp:gl', | ||
'../ui/gfx/surface/surface.gyp:surface', | ||
'../ui/ui.gyp:ui', | ||
'../third_party/angle/src/build_angle.gyp:translator_glsl', | ||
], | ||
'sources': [ | ||
'command_buffer/service/buffer_manager.h', | ||
'command_buffer/service/buffer_manager.cc', | ||
'command_buffer/service/framebuffer_manager.h', | ||
'command_buffer/service/framebuffer_manager.cc', | ||
'command_buffer/service/cmd_buffer_engine.h', | ||
'command_buffer/service/cmd_parser.cc', | ||
'command_buffer/service/cmd_parser.h', | ||
'command_buffer/service/command_buffer_service.cc', | ||
'command_buffer/service/command_buffer_service.h', | ||
'command_buffer/service/common_decoder.cc', | ||
'command_buffer/service/common_decoder.h', | ||
'command_buffer/service/context_group.h', | ||
'command_buffer/service/context_group.cc', | ||
'command_buffer/service/feature_info.h', | ||
'command_buffer/service/feature_info.cc', | ||
'command_buffer/service/gles2_cmd_decoder.h', | ||
'command_buffer/service/gles2_cmd_decoder_autogen.h', | ||
'command_buffer/service/gles2_cmd_decoder.cc', | ||
'command_buffer/service/gles2_cmd_validation.h', | ||
'command_buffer/service/gles2_cmd_validation.cc', | ||
'command_buffer/service/gles2_cmd_validation_autogen.h', | ||
'command_buffer/service/gles2_cmd_validation_implementation_autogen.h', | ||
'command_buffer/service/gl_utils.h', | ||
'command_buffer/service/gpu_scheduler.h', | ||
'command_buffer/service/gpu_scheduler.cc', | ||
'command_buffer/service/gpu_scheduler_mock.h', | ||
'command_buffer/service/gpu_switches.h', | ||
'command_buffer/service/gpu_switches.cc', | ||
'command_buffer/service/id_manager.h', | ||
'command_buffer/service/id_manager.cc', | ||
'command_buffer/service/mocks.h', | ||
'command_buffer/service/program_manager.h', | ||
'command_buffer/service/program_manager.cc', | ||
'command_buffer/service/renderbuffer_manager.h', | ||
'command_buffer/service/renderbuffer_manager.cc', | ||
'command_buffer/service/shader_manager.h', | ||
'command_buffer/service/shader_manager.cc', | ||
'command_buffer/service/shader_translator.h', | ||
'command_buffer/service/shader_translator.cc', | ||
'command_buffer/service/stream_texture.h', | ||
'command_buffer/service/stream_texture_manager.h', | ||
'command_buffer/service/texture_manager.h', | ||
'command_buffer/service/texture_manager.cc', | ||
'command_buffer/service/vertex_attrib_manager.h', | ||
'command_buffer/service/vertex_attrib_manager.cc', | ||
], | ||
'conditions': [ | ||
['toolkit_uses_gtk == 1', { | ||
'dependencies': [ | ||
'../build/linux/system.gyp:gtk', | ||
], | ||
}], | ||
['ui_compositor_image_transport==1', { | ||
'include_dirs': [ | ||
'<(DEPTH)/third_party/angle/include', | ||
], | ||
}], | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
# Library helps make GLES2 command buffers. | ||
'sources': [ | ||
'command_buffer/client/gles2_cmd_helper.cc', | ||
'command_buffer/client/gles2_cmd_helper.h', | ||
'command_buffer/client/gles2_cmd_helper_autogen.h', | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
# Library emulates GLES2 using command_buffers. | ||
'dependencies': [ | ||
'../base/base.gyp:base', | ||
'../ui/gfx/gl/gl.gyp:gl', | ||
], | ||
'all_dependent_settings': { | ||
'include_dirs': [ | ||
# For GLES2/gl2.h | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
}, | ||
'sources': [ | ||
'<@(gles2_implementation_source_files)', | ||
], | ||
} |
Oops, something went wrong.