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

Issue 754099 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 16 days ago
Closed: Oct 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 710673



Sign in to add a comment

Incorrect return value in CopyTexImage

Project Member Reported by jiajia....@intel.com, Aug 10 2017

Issue description

During I looked at CopyTexImage related code to investigate  Issue 710673 , I found some implementations' return value may be not right. I think if CopyTexImage is not implemented or doesn't meet some conditions, it should return false not true. But StreamTexture::CopyTexImage and GLImageStub::CopyTexImage don't follow it.
 

Comment 1 by kbr@chromium.org, Aug 10 2017

Blockedon: 710673
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 10 2017

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

commit 2f878841370d32a95296a3455a381c5ec4bf3f4e
Author: Jiajia Qin <jiajia.qin@intel.com>
Date: Thu Aug 10 01:59:35 2017

Fixed the incorrect return value

If CopyTexImage is not implemented or doesn't meet some conditions,
it should return false not true.

Bug:  754099 
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Ifc3e3be25fd502c6156917d2242c742531d44a57
Reviewed-on: https://chromium-review.googlesource.com/607714
Reviewed-by: David Reveman <reveman@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
Cr-Commit-Position: refs/heads/master@{#493223}
[modify] https://crrev.com/2f878841370d32a95296a3455a381c5ec4bf3f4e/gpu/ipc/service/stream_texture_android.cc
[modify] https://crrev.com/2f878841370d32a95296a3455a381c5ec4bf3f4e/ui/gl/gl_image_stub.cc

Status: Fixed (was: Assigned)
Mark it fixed since no further work needs to do.

Sign in to add a comment