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

Issue 10827310: Fix a misuse of framebuffer target in GLHelper (2) (Closed)

Created:
8 years, 4 months ago by sheu
Modified:
8 years, 4 months ago
Reviewers:
mazda, greggman, marcheu, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Base URL:
https://git.chromium.org/git/chromium/src@git-svn
Visibility:
Public.

Description

Fix a misuse of framebuffer target in GLHelper (2) EGL only recognizes the GL_FRAMEBUFFER target for glFramebufferTexture2D. Also mark GL_DRAW_FRAMEBUFFER as an invalid parameter to OpenGLES framebuffer object functions, as only GL_FRAMEBUFFER is valid. Also, use the _EXT versions of framebuffer enums on other targets, to regularize with the use of EXT functions. BUG=chrome-os-partner:11070 TEST=local build, run on ARM Change-Id: I14d495f0195491df186b60f164ce342e7e5c9463 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151637

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fixes, part 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -27 lines) Patch
M content/common/gpu/client/gl_helper.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 14 chunks +25 lines, -23 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
piman
+gman. I'm OK with the changes in the .cc files, but wondering about the changes ...
8 years, 4 months ago (2012-08-14 22:27:13 UTC) #1
sheu
I don't think there's an OpenGLES2 extension that exposes separate READ/DRAW bindings -- GL_OES_framebuffer_object refers ...
8 years, 4 months ago (2012-08-14 22:33:16 UTC) #2
mazda
Thank you for tracking down this issue! How about separating this CL into GLHelper part ...
8 years, 4 months ago (2012-08-14 22:39:17 UTC) #3
piman
On 2012/08/14 22:33:16, sheu wrote: > I don't think there's an OpenGLES2 extension that exposes ...
8 years, 4 months ago (2012-08-14 22:40:49 UTC) #4
mazda
LGTM for GLHelper.
8 years, 4 months ago (2012-08-14 22:43:02 UTC) #5
greggman
lgtm
8 years, 4 months ago (2012-08-14 23:42:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/10827310/4001
8 years, 4 months ago (2012-08-14 23:44:27 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 02:37:46 UTC) #8
Change committed as 151637

Powered by Google App Engine
This is Rietveld 408576698