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

Unified Diff: gpu/khronos_glcts_support/khronos_glcts_framework.gyp

Issue 556333003: Add support for khronos gl-cts using its drawElements apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_cts.gyp ('k') | gpu/khronos_glcts_support/khronos_glcts_gtf.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/khronos_glcts_support/khronos_glcts_framework.gyp
diff --git a/gpu/khronos_glcts_support/khronos_glcts_framework.gyp b/gpu/khronos_glcts_support/khronos_glcts_framework.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..27a39626295ae0887e4b349b571507334150f5e5
--- /dev/null
+++ b/gpu/khronos_glcts_support/khronos_glcts_framework.gyp
@@ -0,0 +1,215 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'includes': [
+ 'khronos_glcts.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'khronos_glcts_framework',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'delibs', 'qphelper', 'tcutil', 'glutil', 'tcutil_egl',
+ ],
+ 'export_dependent_settings': [
+ 'delibs', 'qphelper', 'tcutil', 'glutil', 'tcutil_egl',
+ ],
+ },
+ {
+ 'target_name': 'delibs',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'debase', 'depool', 'dethread', 'deutil', 'decpp',
+ ],
+ 'export_dependent_settings': [
+ 'debase', 'depool', 'dethread', 'deutil', 'decpp',
+ ],
+ },
+ {
+ 'target_name': 'debase',
+ 'type': 'static_library',
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/debase',
+ ],
+ },
+ 'sources': [
+ '<@(debase_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'depool',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'debase',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/depool',
+ ],
+ },
+ 'sources': [
+ '<@(depool_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'dethread',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'debase',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/dethread',
+ ],
+ },
+ 'sources': [
+ '<@(dethread_srcs)',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'sources': [
+ '<@(dethread_unix_srcs)',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/dethread',
+ ],
+ }],
+ ]
+ },
+ {
+ 'target_name': 'deutil',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'debase', 'depool', 'dethread',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/deutil',
+ ],
+ },
+ 'sources': [
+ '<@(deutil_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'decpp',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'debase', 'depool', 'dethread', 'deutil',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/decpp',
+ ],
+ },
+ 'sources': [
+ '<@(decpp_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'qphelper',
+ 'type': 'static_library',
+ 'defines': [
+ 'QP_SUPPORT_PNG',
+ ],
+ 'dependencies': [
+ 'debase', 'depool', 'dethread', 'deutil',
+ '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/qphelper',
+ ],
+ },
+ 'sources': [
+ '<@(qphelper_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'tcutil',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'delibs', 'qphelper',
+ '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/delibs/libpng', #png.hpp
+ ],
+ 'export_dependent_settings': [
+ 'qphelper',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/common',
+ ],
+ },
+ 'sources': [
+ '<@(tcutil_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'glwrapper',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'delibs',
+ '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck',
+ '<(DEPTH)/gpu/gpu.gyp:command_buffer_service',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/opengl/wrapper',
+ ],
+ },
+ 'sources': [
+ '<@(glwrapper_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'glutil',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'glwrapper', 'delibs', 'tcutil',
+ ],
+ 'export_dependent_settings': [
+ 'glwrapper',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/opengl',
+ ],
+ },
+ 'sources': [
+ '<@(glutil_srcs)',
+ ],
+ },
+ {
+ 'target_name': 'tcutil_egl',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'delibs', 'tcutil', 'glwrapper',
+ # TODO: We may want to phase out the old gles2_conform support in preference
+ # of this implementation. So eventually we'll need to move the egl_native
+ # stuff here or to a shareable location/path.
+ '<(DEPTH)/gpu/gles2_conform_support/gles2_conform_support.gyp:egl_native',
+ '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/opengl',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos_glcts/framework/egl',
+ ],
+ },
+ 'export_dependent_settings': [
+ '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers',
+ ],
+ 'sources': [
+ '<@(tcutil_egl_srcs)',
+ ],
+ },
+ ],
+}
« no previous file with comments | « gpu/khronos_glcts_support/khronos_glcts_cts.gyp ('k') | gpu/khronos_glcts_support/khronos_glcts_gtf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698