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

Issue 2842453002: ObjC: Split out I420 texture uploading into separate class (Closed)

Created:
3 years, 8 months ago by magjed_webrtc
Modified:
3 years, 8 months ago
Reviewers:
sakal, daniela-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

ObjC: Split out I420 texture uploading into separate class This CL splits out the code in RTCI420Shader.mm for uploading byte buffers to textures into its own class RTCI420TextureCache. The purpose is to prepare for allowing clients to inject their own shaders. RTCI420TextureCache will be used in the generic code, while the actual shaders in RTCI420Shader will be customizable by the client. BUG=webrtc:7473 Review-Url: https://codereview.webrtc.org/2842453002 Cr-Commit-Position: refs/heads/master@{#17882} Committed: https://chromium.googlesource.com/external/webrtc/+/8245a8542944b1b1c41dba6f61aa2d72cfe79536

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove comment. #

Total comments: 4

Patch Set 3 : Make uploadFrameToTextures return void #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -230 lines) Patch
M webrtc/sdk/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm View 6 chunks +20 lines, -125 lines 0 comments Download
A webrtc/sdk/objc/Framework/Classes/RTCI420TextureCache.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A + webrtc/sdk/objc/Framework/Classes/RTCI420TextureCache.mm View 1 2 6 chunks +30 lines, -105 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCOpenGLDefines.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
magjed_webrtc
Please take a look.
3 years, 8 months ago (2017-04-25 14:33:41 UTC) #15
sakal
So it the purpose that clients would reuse the code in the texture cache? Shouldn't ...
3 years, 8 months ago (2017-04-25 15:19:21 UTC) #18
magjed_webrtc
On 2017/04/25 15:19:21, sakal wrote: > So it the purpose that clients would reuse the ...
3 years, 8 months ago (2017-04-25 17:44:30 UTC) #19
sakal
On 2017/04/25 17:44:30, magjed_webrtc wrote: > On 2017/04/25 15:19:21, sakal wrote: > > So it ...
3 years, 8 months ago (2017-04-26 07:42:23 UTC) #20
daniela-webrtc
lgtm with two small remarks. https://codereview.webrtc.org/2842453002/diff/60001/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm File webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm (right): https://codereview.webrtc.org/2842453002/diff/60001/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm#newcode91 webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:91: [textureCache uploadFrameToTextures:frame]; What happens ...
3 years, 8 months ago (2017-04-26 08:00:57 UTC) #21
magjed_webrtc
https://codereview.webrtc.org/2842453002/diff/60001/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm File webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm (right): https://codereview.webrtc.org/2842453002/diff/60001/webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm#newcode91 webrtc/sdk/objc/Framework/Classes/RTCI420Shader.mm:91: [textureCache uploadFrameToTextures:frame]; On 2017/04/26 08:00:57, daniela-webrtc wrote: > What ...
3 years, 8 months ago (2017-04-26 08:40:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2842453002/70001
3 years, 8 months ago (2017-04-26 08:41:00 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 09:02:14 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:70001) as
https://chromium.googlesource.com/external/webrtc/+/8245a8542944b1b1c41dba6f6...

Powered by Google App Engine
This is Rietveld 408576698