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

Side by Side Diff: gpu/BUILD.gn

Issue 1714883002: command_buffer_gles2: Implement EGL default Display as a global object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command_buffer_gles2-multiple-contexts
Patch Set: rebase Created 4 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # GYP-to-GN project mappings: 5 # GYP-to-GN project mappings:
6 # 6 #
7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client
8 # 8 #
9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common
10 # 10 #
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "//gpu/ipc/service:ipc_service_sources", 50 "//gpu/ipc/service:ipc_service_sources",
51 ] 51 ]
52 } 52 }
53 53
54 # GYP version: //gpu/gpu.gyp:command_buffer_gles2 54 # GYP version: //gpu/gpu.gyp:command_buffer_gles2
55 shared_library("command_buffer_gles2") { 55 shared_library("command_buffer_gles2") {
56 sources = [ 56 sources = [
57 # TODO(hendrikw): Move egl out of gles2_conform_support. 57 # TODO(hendrikw): Move egl out of gles2_conform_support.
58 "gles2_conform_support/egl/config.cc", 58 "gles2_conform_support/egl/config.cc",
59 "gles2_conform_support/egl/config.h", 59 "gles2_conform_support/egl/config.h",
60 "gles2_conform_support/egl/context.cc",
61 "gles2_conform_support/egl/context.h",
60 "gles2_conform_support/egl/display.cc", 62 "gles2_conform_support/egl/display.cc",
61 "gles2_conform_support/egl/display.h", 63 "gles2_conform_support/egl/display.h",
62 "gles2_conform_support/egl/egl.cc", 64 "gles2_conform_support/egl/egl.cc",
63 "gles2_conform_support/egl/surface.cc", 65 "gles2_conform_support/egl/surface.cc",
64 "gles2_conform_support/egl/surface.h", 66 "gles2_conform_support/egl/surface.h",
65 "gles2_conform_support/egl/test_support.cc", 67 "gles2_conform_support/egl/test_support.cc",
66 "gles2_conform_support/egl/test_support.h", 68 "gles2_conform_support/egl/test_support.h",
69 "gles2_conform_support/egl/thread_state.cc",
70 "gles2_conform_support/egl/thread_state.h",
67 ] 71 ]
68 72
69 deps = [ 73 deps = [
70 ":gpu", 74 ":gpu",
71 "//base", 75 "//base",
72 "//gpu/command_buffer/client:gles2_c_lib", 76 "//gpu/command_buffer/client:gles2_c_lib",
73 "//gpu/command_buffer/client:gles2_implementation", 77 "//gpu/command_buffer/client:gles2_implementation",
78 "//gpu/command_buffer/common:gles2_utils",
74 "//ui/gl:gl", 79 "//ui/gl:gl",
75 ] 80 ]
76 81
77 defines = [ 82 defines = [
78 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", 83 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY",
79 "EGLAPIENTRY=", 84 "EGLAPIENTRY=",
80 ] 85 ]
81 if (current_os == "win") { 86 if (current_os == "win") {
82 defines += [ "EGLAPI=__declspec(dllexport)" ] 87 defines += [ "EGLAPI=__declspec(dllexport)" ]
83 } else { 88 } else {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 "//base", 383 "//base",
379 "//base/test:test_support", 384 "//base/test:test_support",
380 "//gpu/command_buffer/service", 385 "//gpu/command_buffer/service",
381 "//testing/gmock", 386 "//testing/gmock",
382 "//testing/gtest", 387 "//testing/gtest",
383 "//testing/perf", 388 "//testing/perf",
384 "//ui/gfx/geometry", 389 "//ui/gfx/geometry",
385 "//ui/gl", 390 "//ui/gl",
386 ] 391 ]
387 } 392 }
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698