diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-12 21:17:27 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-12 21:17:27 +0000 |
commit | c9e2cbbbcad5f0ae5b9c5ccaf6a36a8a4a61e0e7 (patch) | |
tree | e33d97dc2edae8702ddb6a17ba0d89a506412693 /gpu | |
parent | fc25fd35147b2d5e74d5450e8586592c6a10813d (diff) | |
download | chromium_src-c9e2cbbbcad5f0ae5b9c5ccaf6a36a8a4a61e0e7.zip chromium_src-c9e2cbbbcad5f0ae5b9c5ccaf6a36a8a4a61e0e7.tar.gz chromium_src-c9e2cbbbcad5f0ae5b9c5ccaf6a36a8a4a61e0e7.tar.bz2 |
ui: Move gl/ directory out of gfx/, up to ui/.
BUG=104040
R=ben@chromium.org
TBR=tony@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10392068
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
25 files changed, 54 insertions, 53 deletions
@@ -9,5 +9,6 @@ include_rules = [ "+../service", "+crypto", "+ui/gfx", + "+ui/gl", "+ui/surface", ] diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc index ad3ab11..466e854 100644 --- a/gpu/command_buffer/client/gles2_implementation.cc +++ b/gpu/command_buffer/client/gles2_implementation.cc @@ -22,7 +22,7 @@ #endif #if defined(GPU_CLIENT_DEBUG) -#include "ui/gfx/gl/gl_switches.h" +#include "ui/gl/gl_switches.h" #include "base/command_line.h" #endif diff --git a/gpu/command_buffer/common/gl_mock.h b/gpu/command_buffer/common/gl_mock.h index 8acc132..a6350a3 100644 --- a/gpu/command_buffer/common/gl_mock.h +++ b/gpu/command_buffer/common/gl_mock.h @@ -10,7 +10,7 @@ #pragma once #include "testing/gmock/include/gmock/gmock.h" -#include "ui/gfx/gl/gl_interface.h" +#include "ui/gl/gl_interface.h" namespace gfx { diff --git a/gpu/command_buffer/common/unittest_main.cc b/gpu/command_buffer/common/unittest_main.cc index c305c1c..7539d9f 100644 --- a/gpu/command_buffer/common/unittest_main.cc +++ b/gpu/command_buffer/common/unittest_main.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -6,7 +6,7 @@ #include "base/command_line.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/gfx/gl/gl_implementation.h" +#include "ui/gl/gl_implementation.h" int main(int argc, char** argv) { base::AtExitManager exit_manager; diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc index 8916801..2a47fd4 100644 --- a/gpu/command_buffer/service/context_group.cc +++ b/gpu/command_buffer/service/context_group.cc @@ -18,7 +18,7 @@ #include "gpu/command_buffer/service/renderbuffer_manager.h" #include "gpu/command_buffer/service/shader_manager.h" #include "gpu/command_buffer/service/texture_manager.h" -#include "ui/gfx/gl/gl_implementation.h" +#include "ui/gl/gl_implementation.h" namespace gpu { namespace gles2 { diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc index 6be40c4..fede5a6 100644 --- a/gpu/command_buffer/service/feature_info.cc +++ b/gpu/command_buffer/service/feature_info.cc @@ -8,8 +8,8 @@ #include "base/string_number_conversions.h" #include "gpu/command_buffer/service/gl_utils.h" -#include "ui/gfx/gl/gl_context.h" -#include "ui/gfx/gl/gl_implementation.h" +#include "ui/gl/gl_context.h" +#include "ui/gl/gl_implementation.h" #if defined(OS_MACOSX) #include "ui/surface/io_surface_support_mac.h" #endif diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h index 89b5f9d..3f95b1c 100644 --- a/gpu/command_buffer/service/gl_utils.h +++ b/gpu/command_buffer/service/gl_utils.h @@ -9,7 +9,7 @@ #define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_ #include "build/build_config.h" -#include "ui/gfx/gl/gl_bindings.h" +#include "ui/gl/gl_bindings.h" // GLES2 defines not part of Desktop GL // Shader Precision-Specified Types diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index c7b56b8..0af984b 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -47,9 +47,9 @@ #include "gpu/command_buffer/service/texture_definition.h" #include "gpu/command_buffer/service/texture_manager.h" #include "gpu/command_buffer/service/vertex_attrib_manager.h" -#include "ui/gfx/gl/gl_context.h" -#include "ui/gfx/gl/gl_implementation.h" -#include "ui/gfx/gl/gl_surface.h" +#include "ui/gl/gl_context.h" +#include "ui/gl/gl_implementation.h" +#include "ui/gl/gl_surface.h" #if defined(OS_MACOSX) #include "ui/surface/io_surface_support_mac.h" #endif diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc index 861a838..c489347 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc @@ -5,21 +5,21 @@ #include "gpu/command_buffer/service/gles2_cmd_decoder.h" #include "base/atomicops.h" +#include "gpu/command_buffer/common/gl_mock.h" #include "gpu/command_buffer/common/gles2_cmd_format.h" #include "gpu/command_buffer/common/gles2_cmd_utils.h" -#include "gpu/command_buffer/common/gl_mock.h" #include "gpu/command_buffer/common/id_allocator.h" -#include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" #include "gpu/command_buffer/service/cmd_buffer_engine.h" #include "gpu/command_buffer/service/context_group.h" +#include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" #include "gpu/command_buffer/service/mailbox_manager.h" -#include "gpu/command_buffer/service/stream_texture_mock.h" -#include "gpu/command_buffer/service/stream_texture_manager_mock.h" #include "gpu/command_buffer/service/program_manager.h" +#include "gpu/command_buffer/service/stream_texture_manager_mock.h" +#include "gpu/command_buffer/service/stream_texture_mock.h" #include "gpu/command_buffer/service/test_helper.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/gfx/gl/gl_implementation.h" -#include "ui/gfx/gl/gl_surface_stub.h" +#include "ui/gl/gl_implementation.h" +#include "ui/gl/gl_surface_stub.h" #if !defined(GL_DEPTH24_STENCIL8) #define GL_DEPTH24_STENCIL8 0x88F0 diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc index 71d6a30..3ef8466 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc @@ -16,7 +16,7 @@ #include "gpu/command_buffer/service/program_manager.h" #include "gpu/command_buffer/service/test_helper.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/gfx/gl/gl_implementation.h" +#include "ui/gl/gl_implementation.h" using ::gfx::MockGLInterface; using ::testing::_; diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h index 0b621dd..37debd3 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h @@ -20,8 +20,8 @@ #include "gpu/command_buffer/service/test_helper.h" #include "gpu/command_buffer/service/texture_manager.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/gfx/gl/gl_context_stub.h" -#include "ui/gfx/gl/gl_surface_stub.h" +#include "ui/gl/gl_context_stub.h" +#include "ui/gl/gl_surface_stub.h" namespace gpu { namespace gles2 { diff --git a/gpu/command_buffer/service/gpu_scheduler.cc b/gpu/command_buffer/service/gpu_scheduler.cc index 65b357c..d56b727 100644 --- a/gpu/command_buffer/service/gpu_scheduler.cc +++ b/gpu/command_buffer/service/gpu_scheduler.cc @@ -10,9 +10,9 @@ #include "base/debug/trace_event.h" #include "base/message_loop.h" #include "base/time.h" -#include "ui/gfx/gl/gl_bindings.h" -#include "ui/gfx/gl/gl_fence.h" -#include "ui/gfx/gl/gl_switches.h" +#include "ui/gl/gl_bindings.h" +#include "ui/gl/gl_fence.h" +#include "ui/gl/gl_switches.h" using ::base::SharedMemory; diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc index 05dfd42..be5cca2 100644 --- a/gpu/command_buffer/tests/gl_manager.cc +++ b/gpu/command_buffer/tests/gl_manager.cc @@ -2,21 +2,21 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "gpu/command_buffer/tests/gl_manager.h" #include "base/at_exit.h" #include "base/bind.h" -#include "gpu/command_buffer/client/gles2_lib.h" #include "gpu/command_buffer/client/gles2_implementation.h" +#include "gpu/command_buffer/client/gles2_lib.h" #include "gpu/command_buffer/client/transfer_buffer.h" #include "gpu/command_buffer/common/constants.h" #include "gpu/command_buffer/service/command_buffer_service.h" #include "gpu/command_buffer/service/context_group.h" #include "gpu/command_buffer/service/gpu_scheduler.h" #include "gpu/command_buffer/service/mailbox_manager.h" +#include "gpu/command_buffer/tests/gl_manager.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/gfx/gl/gl_context.h" -#include "ui/gfx/gl/gl_share_group.h" -#include "ui/gfx/gl/gl_surface.h" +#include "ui/gl/gl_context.h" +#include "ui/gl/gl_share_group.h" +#include "ui/gl/gl_surface.h" namespace gpu { diff --git a/gpu/command_buffer/tests/gl_tests_main.cc b/gpu/command_buffer/tests/gl_tests_main.cc index 544f8b3..7ffe61a 100644 --- a/gpu/command_buffer/tests/gl_tests_main.cc +++ b/gpu/command_buffer/tests/gl_tests_main.cc @@ -10,7 +10,7 @@ #endif #include "gpu/command_buffer/client/gles2_lib.h" #include "gpu/command_buffer/tests/gl_test_utils.h" -#include "ui/gfx/gl/gl_surface.h" +#include "ui/gl/gl_surface.h" #if defined(TOOLKIT_GTK) #include "ui/gfx/gtk_util.h" diff --git a/gpu/command_buffer/tests/gl_texture_mailbox_unittests.cc b/gpu/command_buffer/tests/gl_texture_mailbox_unittests.cc index 2dbcafe..f79f221 100644 --- a/gpu/command_buffer/tests/gl_texture_mailbox_unittests.cc +++ b/gpu/command_buffer/tests/gl_texture_mailbox_unittests.cc @@ -9,7 +9,7 @@ #include "gpu/command_buffer/tests/gl_manager.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" -#include "ui/gfx/gl/gl_share_group.h" +#include "ui/gl/gl_share_group.h" namespace gpu { diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi index d7a182e..6a67075 100644 --- a/gpu/command_buffer_service.gypi +++ b/gpu/command_buffer_service.gypi @@ -16,7 +16,7 @@ 'dependencies': [ '../base/base.gyp:base', '../crypto/crypto.gyp:crypto', - '../ui/gfx/gl/gl.gyp:gl', + '../ui/gl/gl.gyp:gl', '../ui/surface/surface.gyp:surface', '../ui/ui.gyp:ui', '../third_party/angle/src/build_angle.gyp:translator_glsl', diff --git a/gpu/demos/demos.gyp b/gpu/demos/demos.gyp index 5b2fdb4..c0c6bb5 100644 --- a/gpu/demos/demos.gyp +++ b/gpu/demos/demos.gyp @@ -44,7 +44,7 @@ '../gpu.gyp:gles2_implementation', '../../base/base.gyp:base', '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', - '../../ui/gfx/gl/gl.gyp:gl', + '../../ui/gl/gl.gyp:gl', '../../ui/ui.gyp:ui', ], 'sources': [ diff --git a/gpu/demos/framework/main_exe.cc b/gpu/demos/framework/main_exe.cc index 12d3828..2794381 100644 --- a/gpu/demos/framework/main_exe.cc +++ b/gpu/demos/framework/main_exe.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -6,7 +6,7 @@ #include "base/command_line.h" #include "base/logging.h" #include "gpu/demos/framework/window.h" -#include "ui/gfx/gl/gl_surface.h" +#include "ui/gl/gl_surface.h" #if defined(TOOLKIT_GTK) #include <gtk/gtk.h> diff --git a/gpu/demos/framework/window.h b/gpu/demos/framework/window.h index 956f60f1..e9c9802 100644 --- a/gpu/demos/framework/window.h +++ b/gpu/demos/framework/window.h @@ -8,11 +8,11 @@ #include "base/memory/scoped_ptr.h" #include "gpu/command_buffer/client/gles2_cmd_helper.h" #include "gpu/command_buffer/service/command_buffer_service.h" -#include "gpu/command_buffer/service/gpu_scheduler.h" #include "gpu/command_buffer/service/gles2_cmd_decoder.h" -#include "ui/gfx/gl/gl_context.h" -#include "ui/gfx/gl/gl_surface.h" +#include "gpu/command_buffer/service/gpu_scheduler.h" #include "ui/gfx/native_widget_types.h" +#include "ui/gl/gl_context.h" +#include "ui/gl/gl_surface.h" namespace gpu { diff --git a/gpu/gles2_conform_support/egl/display.h b/gpu/gles2_conform_support/egl/display.h index f7e20e8..1138fdf 100644 --- a/gpu/gles2_conform_support/egl/display.h +++ b/gpu/gles2_conform_support/egl/display.h @@ -10,11 +10,11 @@ #include "base/memory/scoped_ptr.h" #include "gpu/command_buffer/client/gles2_cmd_helper.h" #include "gpu/command_buffer/service/command_buffer_service.h" -#include "gpu/command_buffer/service/gpu_scheduler.h" #include "gpu/command_buffer/service/gles2_cmd_decoder.h" -#include "ui/gfx/gl/gl_context.h" -#include "ui/gfx/gl/gl_surface.h" +#include "gpu/command_buffer/service/gpu_scheduler.h" #include "ui/gfx/native_widget_types.h" +#include "ui/gl/gl_context.h" +#include "ui/gl/gl_surface.h" namespace gpu { class CommandBufferService; diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc index 1e414d3..b342b9d 100644 --- a/gpu/gles2_conform_support/egl/egl.cc +++ b/gpu/gles2_conform_support/egl/egl.cc @@ -1,13 +1,13 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. #include <EGL/egl.h> -#include "ui/gfx/gl/gl_context.h" -#include "ui/gfx/gl/gl_surface.h" #include "base/command_line.h" #include "gpu/gles2_conform_support/egl/display.h" +#include "ui/gl/gl_context.h" +#include "ui/gl/gl_surface.h" namespace { void SetCurrentError(EGLint error_code) { diff --git a/gpu/gles2_conform_support/gles2_conform_support.gyp b/gpu/gles2_conform_support/gles2_conform_support.gyp index 7f093aa..ee59476 100644 --- a/gpu/gles2_conform_support/gles2_conform_support.gyp +++ b/gpu/gles2_conform_support/gles2_conform_support.gyp @@ -34,7 +34,7 @@ '<(DEPTH)/gpu/gpu.gyp:gpu', '<(DEPTH)/gpu/gpu.gyp:gles2_implementation_client_side_arrays_no_check', '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', - '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', + '<(DEPTH)/ui/gl/gl.gyp:gl', '<(DEPTH)/ui/ui.gyp:ui', ], 'include_dirs': ['<(DEPTH)/third_party/khronos'], diff --git a/gpu/gpu_common.gypi b/gpu/gpu_common.gypi index 4d24613..03f097d 100644 --- a/gpu/gpu_common.gypi +++ b/gpu/gpu_common.gypi @@ -10,7 +10,7 @@ 'type': '<(component)', 'dependencies': [ '../base/base.gyp:base', - '../ui/gfx/gl/gl.gyp:gl', + '../ui/gl/gl.gyp:gl', 'command_buffer/command_buffer.gyp:gles2_utils', 'gles2_cmd_helper', ], @@ -37,7 +37,7 @@ ], 'dependencies': [ '../base/base.gyp:base', - '../ui/gfx/gl/gl.gyp:gl', + '../ui/gl/gl.gyp:gl', 'command_buffer/command_buffer.gyp:gles2_utils', 'gles2_cmd_helper', ], @@ -124,7 +124,7 @@ '../testing/gmock.gyp:gmock_main', '../testing/gtest.gyp:gtest', '../third_party/angle/src/build_angle.gyp:translator_glsl', - '../ui/gfx/gl/gl.gyp:gl', + '../ui/gl/gl.gyp:gl', '../ui/ui.gyp:ui', 'command_buffer/command_buffer.gyp:gles2_utils', 'command_buffer_client', @@ -238,7 +238,7 @@ 'dependencies': [ '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', - '../ui/gfx/gl/gl.gyp:gl', + '../ui/gl/gl.gyp:gl', ], 'include_dirs': [ '..', diff --git a/gpu/tools/compositor_model_bench/render_tree.h b/gpu/tools/compositor_model_bench/render_tree.h index cc476fd..5ac01e5 100644 --- a/gpu/tools/compositor_model_bench/render_tree.h +++ b/gpu/tools/compositor_model_bench/render_tree.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -14,8 +14,8 @@ #include "base/compiler_specific.h" #include "base/memory/scoped_vector.h" #include "gpu/tools/compositor_model_bench/shaders.h" -#include "ui/gfx/gl/gl_bindings.h" -#include "ui/gfx/gl/gl_implementation.h" +#include "ui/gl/gl_bindings.h" +#include "ui/gl/gl_implementation.h" // These are fairly arbitrary values based on how big my actual browser // window was. diff --git a/gpu/tools/tools.gyp b/gpu/tools/tools.gyp index 0f1a9d2..05807a61 100644 --- a/gpu/tools/tools.gyp +++ b/gpu/tools/tools.gyp @@ -1,4 +1,4 @@ -# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 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. @@ -16,7 +16,7 @@ 'type': 'executable', 'dependencies': [ '../../base/base.gyp:base', - '../../ui/gfx/gl/gl.gyp:gl', + '../../ui/gl/gl.gyp:gl', ], 'libraries': [ '-lGL', |