Commit 11ef2760 authored by yiyix's avatar yiyix Committed by Commit Bot

GLRenderer: Remove unused variable

Bug: 898680
Change-Id: Ib72c45a43c80a4f2ef90ee400e34274e9dff11f2
Reviewed-on: https://chromium-review.googlesource.com/c/1348858Reviewed-by: default avatarRobert Kroeger <rjkroege@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610543}
parent ab3749d2
......@@ -3116,7 +3116,7 @@ void GLRenderer::ScheduleCALayers() {
ca_layer_overlay.edge_aa_mask, bounds_rect, filter);
}
ReduceAvailableOverlayTextures(awaiting_swap_overlay_textures_);
ReduceAvailableOverlayTextures();
}
void GLRenderer::ScheduleDCLayers() {
......@@ -3401,8 +3401,7 @@ GLRenderer::FindOrCreateOverlayTexture(const RenderPassId& render_pass_id,
return result;
}
void GLRenderer::ReduceAvailableOverlayTextures(
const std::vector<std::unique_ptr<OverlayTexture>>& most_recent) {
void GLRenderer::ReduceAvailableOverlayTextures() {
// Overlay resources may get returned back to the compositor at varying rates,
// so we may get a number of resources returned at once, then none for a
// while. As such, we want to hold onto enough resources to not have to create
......
......@@ -294,8 +294,7 @@ class VIZ_SERVICE_EXPORT GLRenderer : public DirectRenderer {
int width,
int height,
const gfx::ColorSpace& color_space);
void ReduceAvailableOverlayTextures(
const std::vector<std::unique_ptr<OverlayTexture>>& most_recent);
void ReduceAvailableOverlayTextures();
// Schedules the |ca_layer_overlay|, which is guaranteed to have a non-null
// |rpdq| parameter. Returns ownership of a GL texture that contains the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment