New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 704581 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

GLSurfaceFormat refactor: remove "surfaceless" attribute

Project Member Reported by klausw@chromium.org, Mar 23 2017

Issue description

The GLSurfaceFormat refactor in http://crrev.com/2616723002 replaced a
format enum with a class that behaves equivalently. It included a
IsSurfaceless() attribute as a replacement for the SURFACE_SURFACELESS
enum value.

That attribute seems to be redundant since surfaces have an
IsSurfaceless() attribute instead.
 

Comment 1 by klausw@chromium.org, Mar 23 2017

Owner: klausw@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bedc60e74ddc887d5599b468c83191f992311458

commit bedc60e74ddc887d5599b468c83191f992311458
Author: c.padhi <c.padhi@samsung.com>
Date: Thu Mar 23 22:20:10 2017

gl: Remove redundant methods/variables from GLSurfaceFormat

This commit removes IsDefault(), SetIsSurfaceless() and
IsSurfaceless() from GLSurfaceFormat.
GLSurface::IsSurfaceless() can be directly used instead
of GLSurfaceFormat::IsSurfaceless().

BUG= 704581 

Review-Url: https://codereview.chromium.org/2764853002
Cr-Commit-Position: refs/heads/master@{#459252}

[modify] https://crrev.com/bedc60e74ddc887d5599b468c83191f992311458/ui/gl/gl_surface_egl.cc
[modify] https://crrev.com/bedc60e74ddc887d5599b468c83191f992311458/ui/gl/gl_surface_format.cc
[modify] https://crrev.com/bedc60e74ddc887d5599b468c83191f992311458/ui/gl/gl_surface_format.h
[modify] https://crrev.com/bedc60e74ddc887d5599b468c83191f992311458/ui/gl/gl_surface_format_unittest.cc
[modify] https://crrev.com/bedc60e74ddc887d5599b468c83191f992311458/ui/gl/init/gl_factory_ozone.cc

Comment 3 by klausw@chromium.org, Mar 23 2017

Status: Fixed (was: Assigned)

Comment 4 by c.pa...@samsung.com, May 19 2017

Cc: klausw@chromium.org
Owner: c.pa...@samsung.com

Sign in to add a comment