summaryrefslogtreecommitdiffstats
path: root/components/mus/gles2/command_buffer_driver.h
diff options
context:
space:
mode:
authorjbauman <jbauman@chromium.org>2015-10-29 19:33:57 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-30 02:34:40 +0000
commitce45e11f6759070f4f35f9a3f9d2ea33cb765c69 (patch)
treec01bcc7c0b91c0b0f9c1a9e9217b6edcb81a68c6 /components/mus/gles2/command_buffer_driver.h
parent2779a2559c0bd8b3dec859d98951a968c54fe0db (diff)
downloadchromium_src-ce45e11f6759070f4f35f9a3f9d2ea33cb765c69.zip
chromium_src-ce45e11f6759070f4f35f9a3f9d2ea33cb765c69.tar.gz
chromium_src-ce45e11f6759070f4f35f9a3f9d2ea33cb765c69.tar.bz2
GLES2CmdDecoder should resize GLSurface using GLSurface::Resize
A special resize callback is unnecessary because the decoder has access to the GLSurface and can call Resize on that. Review URL: https://codereview.chromium.org/1420503011 Cr-Commit-Position: refs/heads/master@{#357029}
Diffstat (limited to 'components/mus/gles2/command_buffer_driver.h')
-rw-r--r--components/mus/gles2/command_buffer_driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/mus/gles2/command_buffer_driver.h b/components/mus/gles2/command_buffer_driver.h
index 47d25a5..eccf13a 100644
--- a/components/mus/gles2/command_buffer_driver.h
+++ b/components/mus/gles2/command_buffer_driver.h
@@ -74,7 +74,6 @@ class CommandBufferDriver {
bool MakeCurrent();
bool DoInitialize(mojo::ScopedSharedBufferHandle shared_state,
mojo::Array<int32_t> attribs);
- void OnResize(gfx::Size size, float scale_factor);
bool OnWaitSyncPoint(uint32_t sync_point);
void OnFenceSyncRelease(uint64_t release);
bool OnWaitFenceSync(gpu::CommandBufferNamespace namespace_id,