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

Unified Diff: cc/raster/one_copy_raster_buffer_provider.cc

Issue 2610853005: Modify Copy{Sub}TextureCHROMIUM entry point to add level argument (Closed)
Patch Set: fix chromeos Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/resources/video_resource_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/one_copy_raster_buffer_provider.cc
diff --git a/cc/raster/one_copy_raster_buffer_provider.cc b/cc/raster/one_copy_raster_buffer_provider.cc
index a16e61b9dd6231e8de25b1e9cd67613f4690ba68..e632e0fabf598a0fb52ea1c8bf98e62b32dbb2e2 100644
--- a/cc/raster/one_copy_raster_buffer_provider.cc
+++ b/cc/raster/one_copy_raster_buffer_provider.cc
@@ -351,7 +351,7 @@ void OneCopyRasterBufferProvider::CopyOnWorkerThread(
DCHECK_GT(rows_to_copy, 0);
gl->CopySubTextureCHROMIUM(
- staging_buffer->texture_id, resource_texture_id, 0, y, 0, y,
+ staging_buffer->texture_id, 0, resource_texture_id, 0, 0, y, 0, y,
resource_lock->size().width(), rows_to_copy, false, false, false);
y += rows_to_copy;
« no previous file with comments | « no previous file | cc/resources/video_resource_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698