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

Unified Diff: gpu/command_buffer_gles2/command_buffer_gles2.gyp

Issue 1220883008: Add command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: needed an additional function for skia Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer_gles2/command_buffer_gles2.gyp
diff --git a/gpu/command_buffer_gles2/command_buffer_gles2.gyp b/gpu/command_buffer_gles2/command_buffer_gles2.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ea953bd4a8ed3a6bcd445da00074f57ef1dec759
--- /dev/null
+++ b/gpu/command_buffer_gles2/command_buffer_gles2.gyp
@@ -0,0 +1,28 @@
+# Copyright (c) 2015 The Chromium Authors. All rights reserved.
no sievers 2015/08/27 19:21:28 nit: drop '(c)'
hendrikw 2015/08/27 20:34:44 Done.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'targets': [
+ {
+ # GN version: //gpu:command_buffer_gles2
+ 'target_name': 'command_buffer_gles2',
+ 'type': 'shared_library',
+ 'dependencies': [
+ '../../gpu/gles2_conform_support/gles2_conform_support.gyp:egl_native',
no sievers 2015/08/27 22:02:25 This actually also depends on all the GPU stuff. B
hendrikw 2015/08/28 16:01:51 Hmm, gles2_c_lib didn't have a dependency on gles2
no sievers 2015/08/28 17:59:31 Sounds good. You should probably put a TODO for th
hendrikw 2015/08/28 18:10:24 Done.
+ '../../gpu/gpu.gyp:gles2_c_lib',
no sievers 2015/08/27 19:21:28 So how are you planning on using this overall? Thi
hendrikw 2015/08/27 20:34:44 I started out with more dependencies, and pulled t
no sievers 2015/08/27 22:02:25 Ah because gles2_c_lib already depends on command_
hendrikw 2015/08/28 16:01:51 They get played :D (Flush->ProcessCommands->Decod
+ ],
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ 'command_buffer_egl.cc',
+ ],
+ 'defines': [
+ 'EGLAPI=',
+ 'EGLAPIENTRY=',
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698