Remove deprecated GrTexture::invalidateCachedState() calls.

Using equivalent textureParamsModified() instead.

R=senorblanco@chromium.org,bsalomon@google.com
TBR=senorblanco@chromium.org

Review URL: https://codereview.chromium.org/287063011

git-svn-id: svn://svn.chromium.org/blink/trunk@174398 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Include stderr link for crashing tests

BUG=374167
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/292153002

git-svn-id: svn://svn.chromium.org/blink/trunk@174399 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Comment out reading of platform gypi in the GN build.

This value is currently unused and causes errors in the latest version of GN.

TBR=eseidel

Review URL: https://codereview.chromium.org/294983003

git-svn-id: svn://svn.chromium.org/blink/trunk@174400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Separate repaint and layout requirements of StyleDifference (Step 4)

In this step RenderStyle::visualInvalidationDiff() sets both
needsFullLayout and needsRepaintObject if diffNeedsFullLayoutAndRepaint.
For now, all previous diffNeedsFullLayout cases become
diffNeedsFullLayoutRepaint.

In RenderObject, if both needsFullLayout and needsRepaint[Object] are
set, we set shouldDoFullRepaintAfterLayout(), and removed the condition
that needsSelfLayout always triggering shouldDoFullRepaintAfterLayout.

Previous RenderObject::setNeedsLayoutAndFullRepaint() still triggers
full repaint. Added back setNeedsLayout() to allow scheduling layout
without triggering full repaint.

With this change, we can do the following optimizations in next steps:

1. Repaint on RenderView resize (crbug.com/258219):
 - set FrameView::m_doFullRepaint only when needed;
 - use the flag to trigger full repaint of RenderView;
 - change renderView->setNeedsLayoutAndFullRepaint() in FrameView to
   renderView->setNeedsLayout() if no full repaint of RenderView is
   needed;

2. Repaint on style change needing full layout (e.g. crbug.com/339940):
 - move conditions not always needing repaint from
   RenderStyle::diffNeedsFullLayoutAndRepaint() into
   RenderStyle::diffNeedsFullLayout();
 - for above conditions that still may need repaint in some cases,
   correctly handle repaints of them during renderer layout.

3. Repaint on other RenderObject::setNeedsLayoutAndFullRepaint():
 - examine each caller of RenderObject::setNeedsLayoutAndFullRepaint()
   whether full repaint is actually always needed;
 - if not, change the call to RenderObject::setNeedsLayout() and
   correctly handle repaints during renderer layout if needed.

BUG=358460
TEST=existing layout tests

Review URL: https://codereview.chromium.org/265703012

git-svn-id: svn://svn.chromium.org/blink/trunk@174401 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable WebGL rendering into ImageCHROMIUM, backed by a scanout buffer to enable overlay support.

BUG=372449

Review URL: https://codereview.chromium.org/274833002

git-svn-id: svn://svn.chromium.org/blink/trunk@174402 bbb929c8-8fbe-4397-9dbb-9b2b20218538