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

Issue 965223002: gpu: gpu decoder sets viewport size same to the size of the default framebuffer. (Closed)

Created:
5 years, 9 months ago by dshwang
Modified:
5 years, 9 months ago
Reviewers:
no sievers
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: gpu decoder sets viewport size same to the size of the default framebuffer. For onscreen, viewport should match window size initially. For offscreen, viewport should match the default FBO size initially as-is. Committed: https://crrev.com/4c04a16b74821239a8d850aa1c5357cc5a41cee9 Cr-Commit-Position: refs/heads/master@{#319025}

Patch Set 1 #

Total comments: 2

Patch Set 2 : set onscreen size correctly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 5 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
dshwang
could you review this simple CL?
5 years, 9 months ago (2015-03-01 15:09:18 UTC) #2
no sievers
https://codereview.chromium.org/965223002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (left): https://codereview.chromium.org/965223002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#oldcode2746 gpu/command_buffer/service/gles2_cmd_decoder.cc:2746: state_.viewport_height = size.height(); What's the bug? We call InitState() ...
5 years, 9 months ago (2015-03-02 20:37:12 UTC) #3
dshwang
I update this CL following your good comment. https://codereview.chromium.org/965223002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (left): https://codereview.chromium.org/965223002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#oldcode2746 gpu/command_buffer/service/gles2_cmd_decoder.cc:2746: state_.viewport_height ...
5 years, 9 months ago (2015-03-03 09:20:30 UTC) #4
no sievers
lgtm
5 years, 9 months ago (2015-03-03 19:26:27 UTC) #5
dshwang
On 2015/03/03 19:26:27, sievers wrote: > lgtm thx for reviewing!
5 years, 9 months ago (2015-03-04 06:32:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/965223002/20001
5 years, 9 months ago (2015-03-04 06:33:44 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-04 07:27:43 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 07:28:19 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4c04a16b74821239a8d850aa1c5357cc5a41cee9
Cr-Commit-Position: refs/heads/master@{#319025}

Powered by Google App Engine
This is Rietveld 408576698