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

Issue 166853002: Revert of Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM (Closed)

Created:
6 years, 10 months ago by Nikita (slow)
Modified:
6 years, 10 months ago
Reviewers:
danakj, piman
CC:
chromium-reviews, jbauman+watch_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, James Su, danakj+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Revert of Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM (https://codereview.chromium.org/138763009/) Reason for revert: FAILED: c++ -MMD -MF obj/cc/layers/cc_unittests.texture_layer_unittest.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCOMPONENT_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_NSS=1 -DUSE_X11=1 -DOS_CHROMEOS=1 -DUSE_XI2_MT=2 -DIMAGE_LOADER_EXTENSION=1 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DGTEST_HAS_POSIX_RE=0 -DGL_GLEXT_PROTOTYPES -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DUNIT_TEST -DGTEST_HAS_RTTI=0 -DU_USING_ICU_NAMESPACE=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -I../../cc/test -I../../cc -I../.. -I../../third_party/khronos -I../../gpu -I../../skia/config -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../testing/gmock/include -I../../testing/gtest/include -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -c ../../cc/layers/texture_layer_unittest.cc -o obj/cc/layers/cc_unittests.texture_layer_unittest.o In file included from ../../testing/gmock/include/gmock/gmock-spec-builders.h:71:0, from ../../testing/gmock/include/gmock/gmock-generated-function-mockers.h:43, from ../../testing/gmock/include/gmock/gmock.h:61, from ../../cc/layers/texture_layer_unittest.cc:33: ../../testing/gmock/include/gmock/gmock-matchers.h: In member function 'bool testing::internal::EqMatcher<Rhs>::Impl<Lhs>::MatchAndExplain(Lhs, testing::MatchResultListener*) const [with Lhs = const gpu::Mailbox&, Rhs = gpu::Mailbox]': ../../cc/layers/texture_layer_unittest.cc:2173:1: instantiated from here ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: error: no match for 'operator==' in 'lhs == ((const testing::internal::EqMatcher<gpu::Mailbox>::Impl<const gpu::Mailbox&>*)this)->testing::internal::EqMatcher<gpu::Mailbox>::Impl<const gpu::Mailbox&>::rhs_' ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: note: candidate is: ../../testing/gtest/include/gtest/internal/gtest-linked_ptr.h:213:6: note: template<class T> bool testing::internal::operator==(T*, const testing::internal::linked_ptr<T>&) ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: error: control reaches end of non-void function [-Werror=return-type] Original issue's description: > Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM > > That way we can easily change the size later. Security says 64 may be overkill. > > BUG=None > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251306 TBR=danakj@chromium.org,piman@chromium.org NOTREECHECKS=true NOTRY=true BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251309

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -45 lines) Patch
M cc/layers/texture_layer_unittest.cc View 12 chunks +25 lines, -16 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/test/test_web_graphics_context_3d.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_delegated.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M content/browser/gpu/gpu_process_host_ui_shim.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 chunk +13 lines, -9 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/mailbox.h View 2 chunks +1 line, -6 lines 0 comments Download
M gpu/command_buffer/service/mailbox_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Nikita (slow)
Created Revert of Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM
6 years, 10 months ago (2014-02-14 14:28:06 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkostylev@chromium.org/166853002/1
6 years, 10 months ago (2014-02-14 14:28:26 UTC) #2
commit-bot: I haz the power
Change committed as 251309
6 years, 10 months ago (2014-02-14 14:28:57 UTC) #3
piman
6 years, 10 months ago (2014-02-14 19:34:19 UTC) #4
On Fri, Feb 14, 2014 at 6:28 AM, <nkostylev@chromium.org> wrote:

> Reviewers: danakj, piman,
>
> Message:
> Created Revert of Fix (or tag) uses of explicit '64' instead of
> GL_MAILBOX_SIZE_CHROMIUM
>
> Description:
> Revert of Fix (or tag) uses of explicit '64' instead of
> GL_MAILBOX_SIZE_CHROMIUM
> (https://codereview.chromium.org/138763009/)
>
> Reason for revert:
> FAILED: c++ -MMD -MF obj/cc/layers/cc_unittests.texture_layer_unittest.o.d
> -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD
> -DCOMPONENT_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT
> -DUSE_AURA=1
> -DUSE_ASH=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1
> -DUSE_NSS=1
> -DUSE_X11=1 -DOS_CHROMEOS=1 -DUSE_XI2_MT=2 -DIMAGE_LOADER_EXTENSION=1
> -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS
> -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH
> -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DUSE_UDEV -DENABLE_EGLIMAGE=1
> -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1
> -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1
> -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1
> -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1
> -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1
> -DENABLE_APP_LIST=1
> -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DGTEST_HAS_POSIX_RE=0
> -DGL_GLEXT_PROTOTYPES -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0
> -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1
> '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"'
> -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1
> -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DUNIT_TEST
> -DGTEST_HAS_RTTI=0 -DU_USING_ICU_NAMESPACE=0 -D__STDC_CONSTANT_MACROS
> -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=
> 0
> -D_FORTIFY_SOURCE=2 -I../../cc/test -I../../cc -I../..
> -I../../third_party/khronos -I../../gpu -I../../skia/config
> -I../../third_party/skia/src/core -I../../third_party/skia/include/core
> -I../../third_party/skia/include/effects -I../../third_party/skia/
> include/pdf
> -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy
> -I../../third_party/skia/include/pathops -I../../third_party/skia/
> include/pipe
> -I../../third_party/skia/include/ports -I../../third_party/skia/
> include/utils
> -I../../skia/ext -I../../testing/gmock/include
> -I../../testing/gtest/include
> -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common
> -Werror -pthread -fno-exceptions -fno-strict-aliasing -Wall
> -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden
> -pipe
> -fPIC -pthread -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -fno-ident
> -fdata-sections
> -ffunction-sections -funwind-tables -fno-rtti -fno-threadsafe-statics
> -fvisibility-inlines-hidden -Wsign-compare  -c
> ../../cc/layers/texture_layer_unittest.cc -o
> obj/cc/layers/cc_unittests.texture_layer_unittest.o
> In file included from
> ../../testing/gmock/include/gmock/gmock-spec-builders.h:71:0,
>                  from
> ../../testing/gmock/include/gmock/gmock-generated-function-mockers.h:43,
>                  from ../../testing/gmock/include/gmock/gmock.h:61,
>                  from ../../cc/layers/texture_layer_unittest.cc:33:
> ../../testing/gmock/include/gmock/gmock-matchers.h: In member function
> 'bool
> testing::internal::EqMatcher<Rhs>::Impl<Lhs>::MatchAndExplain(Lhs,
> testing::MatchResultListener*) const [with Lhs = const gpu::Mailbox&, Rhs =
> gpu::Mailbox]':
> ../../cc/layers/texture_layer_unittest.cc:2173:1:   instantiated from here
> ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: error: no match
> for
> 'operator==' in 'lhs == ((const
> testing::internal::EqMatcher<gpu::Mailbox>::Impl<const
> gpu::Mailbox&>*)this)->testing::internal::EqMatcher<
> gpu::Mailbox>::Impl<const
> gpu::Mailbox&>::rhs_'
> ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: note: candidate
> is:
> ../../testing/gtest/include/gtest/internal/gtest-linked_ptr.h:213:6: note:
> template<class T> bool testing::internal::operator==(T*, const
> testing::internal::linked_ptr<T>&)
> ../../testing/gmock/include/gmock/gmock-matchers.h:784:1: error: control
> reaches
> end of non-void function [-Werror=return-type]
>

This depends on a CL that was reverted.


>
>
> Original issue's description:
>
>> Fix (or tag) uses of explicit '64' instead of GL_MAILBOX_SIZE_CHROMIUM
>>
>
>  That way we can easily change the size later. Security says 64 may be
>>
> overkill.
>
>  BUG=None
>>
>
>  Committed: https://src.chromium.org/viewvc/chrome?view=rev&
>> revision=251306
>>
>
> TBR=danakj@chromium.org,piman@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=None
>
> Please review this at https://codereview.chromium.org/166853002/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src
>
> Affected files (+63, -45 lines):
>   M cc/layers/texture_layer_unittest.cc
>   M content/common/cc_messages_unittest.cc
>   M cc/resources/resource_provider_unittest.cc
>   M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
>   M cc/trees/layer_tree_host_unittest_delegated.cc
>   M cc/test/test_web_graphics_context_3d.cc
>   M gpu/command_buffer/build_gles2_cmd_buffer.py
>   M gpu/command_buffer/service/mailbox_manager.h
>   M content/browser/gpu/gpu_process_host_ui_shim.cc
>   M gpu/command_buffer/common/mailbox.h
>
>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698