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

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: Created 4 years, 10 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
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "//gpu/ipc:ipc_sources", 48 "//gpu/ipc:ipc_sources",
49 ] 49 ]
50 } 50 }
51 51
52 # GYP version: //gpu/gpu.gyp:command_buffer_gles2 52 # GYP version: //gpu/gpu.gyp:command_buffer_gles2
53 shared_library("command_buffer_gles2") { 53 shared_library("command_buffer_gles2") {
54 sources = [ 54 sources = [
55 # TODO(hendrikw): Move egl out of gles2_conform_support. 55 # TODO(hendrikw): Move egl out of gles2_conform_support.
56 "gles2_conform_support/egl/config.cc", 56 "gles2_conform_support/egl/config.cc",
57 "gles2_conform_support/egl/config.h", 57 "gles2_conform_support/egl/config.h",
58 "gles2_conform_support/egl/context.cc",
59 "gles2_conform_support/egl/context.h",
58 "gles2_conform_support/egl/display.cc", 60 "gles2_conform_support/egl/display.cc",
59 "gles2_conform_support/egl/display.h", 61 "gles2_conform_support/egl/display.h",
60 "gles2_conform_support/egl/egl.cc", 62 "gles2_conform_support/egl/egl.cc",
61 "gles2_conform_support/egl/surface.cc", 63 "gles2_conform_support/egl/surface.cc",
62 "gles2_conform_support/egl/surface.h", 64 "gles2_conform_support/egl/surface.h",
63 "gles2_conform_support/egl/test_support.cc", 65 "gles2_conform_support/egl/test_support.cc",
64 "gles2_conform_support/egl/test_support.h", 66 "gles2_conform_support/egl/test_support.h",
67 "gles2_conform_support/egl/thread_state.cc",
68 "gles2_conform_support/egl/thread_state.h",
65 ] 69 ]
66 70
67 deps = [ 71 deps = [
68 ":gpu", 72 ":gpu",
69 "//base", 73 "//base",
70 "//gpu/command_buffer/client:gles2_c_lib", 74 "//gpu/command_buffer/client:gles2_c_lib",
71 "//gpu/command_buffer/client:gles2_implementation", 75 "//gpu/command_buffer/client:gles2_implementation",
76 "//gpu/command_buffer/common:gles2_utils",
72 "//ui/gl:gl", 77 "//ui/gl:gl",
73 ] 78 ]
74 79
75 defines = [ 80 defines = [
76 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", 81 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY",
77 "EGLAPIENTRY=", 82 "EGLAPIENTRY=",
78 ] 83 ]
79 if (current_os == "win") { 84 if (current_os == "win") {
80 defines += [ "EGLAPI=__declspec(dllexport)" ] 85 defines += [ "EGLAPI=__declspec(dllexport)" ]
81 } else { 86 } else {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 "//base", 349 "//base",
345 "//base/test:test_support", 350 "//base/test:test_support",
346 "//gpu/command_buffer/service", 351 "//gpu/command_buffer/service",
347 "//testing/gmock", 352 "//testing/gmock",
348 "//testing/gtest", 353 "//testing/gtest",
349 "//testing/perf", 354 "//testing/perf",
350 "//ui/gfx/geometry", 355 "//ui/gfx/geometry",
351 "//ui/gl", 356 "//ui/gl",
352 ] 357 ]
353 } 358 }
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.h » ('j') | gpu/command_buffer/service/vertex_array_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698