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

Issue 968283002: content: Remove use of GLImage from GpuMemoryBufferImpl. (Closed)

Created:
5 years, 9 months ago by reveman
Modified:
5 years, 9 months ago
Reviewers:
christiank, piman
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Remove use of GLImage from GpuMemoryBufferImpl. GpuMemoryBuffer implementations should not depend on GLImage. This moves the capabilities and size checks needed for compressed formats to the ImageFactory interface. BUG=462541 Committed: https://crrev.com/a68c262837f9d0be16b857dd5e6306a2ba0236f0 Cr-Commit-Position: refs/heads/master@{#318990}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add size check to gmb code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -57 lines) Patch
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc View 1 2 chunks +25 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 3 chunks +16 lines, -25 lines 0 comments Download
M gpu/command_buffer/service/image_factory.h View 2 chunks +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/image_factory.cc View 2 chunks +49 lines, -0 lines 0 comments Download
M ui/gl/gl_image_memory.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ui/gl/gl_image_memory.cc View 2 chunks +2 lines, -24 lines 0 comments Download
M ui/gl/gl_image_shared_memory.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
reveman
5 years, 9 months ago (2015-03-02 18:18:29 UTC) #2
piman
lgtm https://codereview.chromium.org/968283002/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc File content/common/gpu/client/gpu_memory_buffer_impl.cc (left): https://codereview.chromium.org/968283002/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc#oldcode37 content/common/gpu/client/gpu_memory_buffer_impl.cc:37: DCHECK(gfx::GLImageMemory::ValidSize(size, format)); nit: it'd be nice to keep ...
5 years, 9 months ago (2015-03-03 20:48:21 UTC) #3
reveman
https://codereview.chromium.org/968283002/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc File content/common/gpu/client/gpu_memory_buffer_impl.cc (left): https://codereview.chromium.org/968283002/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc#oldcode37 content/common/gpu/client/gpu_memory_buffer_impl.cc:37: DCHECK(gfx::GLImageMemory::ValidSize(size, format)); On 2015/03/03 20:48:21, piman (Very slow to ...
5 years, 9 months ago (2015-03-03 23:46:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/968283002/20001
5 years, 9 months ago (2015-03-03 23:47:28 UTC) #7
piman
On 2015/03/03 23:46:27, reveman wrote: > https://codereview.chromium.org/968283002/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc > File content/common/gpu/client/gpu_memory_buffer_impl.cc (left): > > https://codereview.chromium.org/968283002/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc#oldcode37 > ...
5 years, 9 months ago (2015-03-04 00:01:22 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-04 01:24:51 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 01:25:25 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a68c262837f9d0be16b857dd5e6306a2ba0236f0
Cr-Commit-Position: refs/heads/master@{#318990}

Powered by Google App Engine
This is Rietveld 408576698