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

Issue 1157983002: Update WebGLVertexArrayObjectOES to WebGLVertexArrayObject for WebGL2 (Closed)

Created:
5 years, 7 months ago by legend
Modified:
5 years, 6 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Update WebGLVertexArrayObjectOES to WebGLVertexArrayObject for WebGL2 Keep using WebGLVertexArrayObjectOES in WebGL1 for compatibility. BUG=295792 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196033

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Addressed bajones' comments #

Total comments: 1

Patch Set 3 : Fix crash in testing conformance/context/context-lost-restored.html #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -319 lines) Patch
M Source/core/core.gypi View 1 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGL2RenderingContextBase.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/html/canvas/WebGL2RenderingContextBase.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/canvas/WebGL2RenderingContextBase.idl View 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 4 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 5 chunks +10 lines, -4 lines 1 comment Download
A Source/core/html/canvas/WebGLVertexArrayObject.h View 1 1 chunk +24 lines, -0 lines 0 comments Download
A Source/core/html/canvas/WebGLVertexArrayObject.cpp View 1 1 chunk +23 lines, -0 lines 0 comments Download
A + Source/core/html/canvas/WebGLVertexArrayObject.idl View 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/core/html/canvas/WebGLVertexArrayObjectBase.h View 1 4 chunks +12 lines, -35 lines 0 comments Download
A + Source/core/html/canvas/WebGLVertexArrayObjectBase.cpp View 1 9 chunks +15 lines, -41 lines 0 comments Download
M Source/core/html/canvas/WebGLVertexArrayObjectOES.h View 1 1 chunk +3 lines, -73 lines 0 comments Download
M Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp View 1 1 chunk +1 line, -143 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
legend
PTAL if you have time. Thanks!
5 years, 7 months ago (2015-05-26 06:08:07 UTC) #3
bajones
https://codereview.chromium.org/1157983002/diff/20001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1157983002/diff/20001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode66 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:66: // Release WebGLVertexArrayObjectOES which is initialized at WebGLRenderingContextBase. Rather ...
5 years, 7 months ago (2015-05-26 16:45:50 UTC) #4
legend
Thanks for bajones@ comments. Please review again. https://codereview.chromium.org/1157983002/diff/20001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1157983002/diff/20001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode66 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:66: // Release ...
5 years, 7 months ago (2015-05-27 02:05:47 UTC) #5
legend
PTAL. Add one patch set to fix crash in conformance/context/context-lost-restored.html. https://codereview.chromium.org/1157983002/diff/60001/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1157983002/diff/60001/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode728 ...
5 years, 7 months ago (2015-05-27 09:20:05 UTC) #6
bajones
On 2015/05/27 09:20:05, legend wrote: > @bajones, since `if (!m_defaultVertexArrayObject)` would lead to crash when ...
5 years, 7 months ago (2015-05-27 18:26:19 UTC) #7
Ken Russell (switch to Gerrit)
Thanks, good refactoring. It's a pity that two classes are needed just because WebGLVertexArrayObjectOES is ...
5 years, 7 months ago (2015-05-27 23:43:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157983002/60001
5 years, 7 months ago (2015-05-28 01:24:50 UTC) #10
commit-bot: I haz the power
5 years, 6 months ago (2015-05-28 04:22:14 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196033

Powered by Google App Engine
This is Rietveld 408576698