| OLD | NEW |
| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'internal_ozone_platform_deps': [ | 7 'internal_ozone_platform_deps': [ |
| 8 'ozone_platform_gbm', | 8 'ozone_platform_gbm', |
| 9 ], | 9 ], |
| 10 'internal_ozone_platforms': [ | 10 'internal_ozone_platforms': [ |
| 11 'gbm', | 11 'gbm', |
| 12 ], | 12 ], |
| 13 'use_mesa_platform_null%': 0, | 13 'use_mesa_platform_null%': 0, |
| 14 | 14 |
| 15 # This enables memory-mapped access to accelerated graphics buffers via the |
| 16 # VGEM ("virtual GEM") driver. This is currently only available on Chrome OS |
| 17 # kernels and affects code in the GBM ozone platform. |
| 15 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map. | 18 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map. |
| 16 # crbug.com/519587 | 19 # crbug.com/519587 |
| 17 'use_vgem_map%': 0, | 20 'use_vgem_map%': 0, |
| 18 }, | 21 }, |
| 19 'targets': [ | 22 'targets': [ |
| 20 { | 23 { |
| 21 'target_name': 'ozone_platform_gbm', | 24 'target_name': 'ozone_platform_gbm', |
| 22 'type': 'static_library', | 25 'type': 'static_library', |
| 23 'dependencies': [ | 26 'dependencies': [ |
| 24 '../../base/base.gyp:base', | 27 '../../base/base.gyp:base', |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 'defines': ['USE_VGEM_MAP'], | 65 'defines': ['USE_VGEM_MAP'], |
| 63 'sources': [ | 66 'sources': [ |
| 64 'gpu/client_native_pixmap_vgem.cc', | 67 'gpu/client_native_pixmap_vgem.cc', |
| 65 'gpu/client_native_pixmap_vgem.h', | 68 'gpu/client_native_pixmap_vgem.h', |
| 66 ], | 69 ], |
| 67 }], | 70 }], |
| 68 ], | 71 ], |
| 69 }, | 72 }, |
| 70 ], | 73 ], |
| 71 } | 74 } |
| OLD | NEW |