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

Side by Side Diff: ui/gl/gl.gyp

Issue 215143002: ui: Add Linux dma-buf implementation of GLImage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 2 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 | Annotate | Revision Log
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 9
10 'targets': [ 10 'targets': [
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 'include_dirs': [ 190 'include_dirs': [
191 '<(DEPTH)/third_party/khronos', 191 '<(DEPTH)/third_party/khronos',
192 ], 192 ],
193 }], 193 }],
194 ['OS in ("android", "linux")', { 194 ['OS in ("android", "linux")', {
195 'sources': [ 195 'sources': [
196 'gl_implementation_osmesa.cc', 196 'gl_implementation_osmesa.cc',
197 'gl_implementation_osmesa.h', 197 'gl_implementation_osmesa.h',
198 ], 198 ],
199 }], 199 }],
200 ['OS=="linux"', {
201 'sources': [
202 'gl_image_linux_dma_buffer.cc',
203 'gl_image_linux_dma_buffer.h',
no sievers 2014/10/14 21:57:54 If you name it gl_image_dma_buffer_linux.cc/h you
reveman 2014/10/15 00:48:07 I chose LinuxDMABuffer to match EGL_LINUX_DMA_BUF_
204 ],
205 }],
200 ['use_x11 == 1', { 206 ['use_x11 == 1', {
201 'sources': [ 207 'sources': [
202 'gl_context_glx.cc', 208 'gl_context_glx.cc',
203 'gl_context_glx.h', 209 'gl_context_glx.h',
204 'gl_glx_api_implementation.cc', 210 'gl_glx_api_implementation.cc',
205 'gl_glx_api_implementation.h', 211 'gl_glx_api_implementation.h',
206 'gl_image_glx.cc', 212 'gl_image_glx.cc',
207 'gl_image_glx.h', 213 'gl_image_glx.h',
208 'gl_surface_glx.cc', 214 'gl_surface_glx.cc',
209 'gl_surface_glx.h', 215 'gl_surface_glx.h',
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 ], 366 ],
361 'variables': { 367 'variables': {
362 'jni_gen_package': 'ui/gl', 368 'jni_gen_package': 'ui/gl',
363 }, 369 },
364 'includes': [ '../../build/jni_generator.gypi' ], 370 'includes': [ '../../build/jni_generator.gypi' ],
365 }, 371 },
366 ], 372 ],
367 }], 373 }],
368 ], 374 ],
369 } 375 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698