
Orignal goal of this CL is to make InProcessCommandBuffer::CreateGpuMemoryBuffer and DestroyGpuMemoryBuffer thread safe. Before this, Create runs on the client thread and Destroy runs on the service thread without any kind of synchronization. This change makes the division closer to the cross-process implementation, moving parts of the implementation from GpuControlService to GpuControl/InProcessViewRenderer. As a result, GpuControlService no longer needs to inherit GpuControl. And GLES2Decoder has enough information to decide on all gpu::Capabilities. Need to implement the bare minimum client GpuControl for gl_tests and gles2_conform_test. This currently involves some boilerplate and duplication. BUG=362346 Review URL: https://codereview.chromium.org/235563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267753 0039d316-1c4b-4281-b951-d872f2087c98
31 lines
897 B
Python
31 lines
897 B
Python
# 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': [
|
|
'..',
|
|
],
|
|
'all_dependent_settings': {
|
|
'include_dirs': [
|
|
'..',
|
|
],
|
|
},
|
|
'dependencies': [
|
|
'../third_party/khronos/khronos.gyp:khronos_headers',
|
|
],
|
|
'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/gpu_control.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',
|
|
],
|
|
}
|