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

Issue 14098007: cc: Add a test that the IOSurface drawing path makes the right context calls. (Closed)

Created:
7 years, 8 months ago by danakj
Modified:
7 years, 8 months ago
Reviewers:
jamesr, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, backer, ccameron (do not use), piman
Visibility:
Public.

Description

cc: Add a test that the IOSurface drawing path makes the right context calls. This path is super not tested. In the absence of being able to create an IOSurface and do a pixel test, this makes sure the IOSurface layer's drawing path issues the appropriate calls on the context to draw - including using the right texture target which would have caught a regression with the VideoResourceUpdater CL. R=enne, jamesr BUG=230300 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195237

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -13 lines) Patch
M cc/layers/io_surface_layer_impl.cc View 1 chunk +0 lines, -13 lines 3 comments Download
M cc/trees/layer_tree_host_unittest.cc View 4 chunks +140 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
danakj
7 years, 8 months ago (2013-04-18 23:56:39 UTC) #1
jamesr
https://codereview.chromium.org/14098007/diff/1/cc/layers/io_surface_layer_impl.cc File cc/layers/io_surface_layer_impl.cc (left): https://codereview.chromium.org/14098007/diff/1/cc/layers/io_surface_layer_impl.cc#oldcode84 cc/layers/io_surface_layer_impl.cc:84: GLC(context3d, context3d->activeTexture(GL_TEXTURE0)); what was the actual bug? this call?
7 years, 8 months ago (2013-04-19 00:05:09 UTC) #2
danakj
https://codereview.chromium.org/14098007/diff/1/cc/layers/io_surface_layer_impl.cc File cc/layers/io_surface_layer_impl.cc (left): https://codereview.chromium.org/14098007/diff/1/cc/layers/io_surface_layer_impl.cc#oldcode84 cc/layers/io_surface_layer_impl.cc:84: GLC(context3d, context3d->activeTexture(GL_TEXTURE0)); On 2013/04/19 00:05:09, jamesr wrote: > what ...
7 years, 8 months ago (2013-04-19 00:06:40 UTC) #3
danakj
https://codereview.chromium.org/14098007/diff/1/cc/layers/io_surface_layer_impl.cc File cc/layers/io_surface_layer_impl.cc (left): https://codereview.chromium.org/14098007/diff/1/cc/layers/io_surface_layer_impl.cc#oldcode84 cc/layers/io_surface_layer_impl.cc:84: GLC(context3d, context3d->activeTexture(GL_TEXTURE0)); On 2013/04/19 00:06:41, danakj wrote: > On ...
7 years, 8 months ago (2013-04-19 00:07:05 UTC) #4
jamesr
lgtm I see, and the texture parameters will be set by ResourceProvider::CreateResourceFromExternalTexture(). Cool. lgtm - ...
7 years, 8 months ago (2013-04-19 01:49:32 UTC) #5
danakj
I verified that iosurface path works with this patch.
7 years, 8 months ago (2013-04-19 16:04:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14098007/1
7 years, 8 months ago (2013-04-19 16:04:17 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 18:25:29 UTC) #8
Message was sent while issue was closed.
Change committed as 195237

Powered by Google App Engine
This is Rietveld 408576698