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

Issue 11090075: Expose the WebGraphicsContext3D for Android (Closed)

Created:
8 years, 2 months ago by David Trainor- moved to gerrit
Modified:
8 years, 2 months ago
Reviewers:
jam, sky, no sievers, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Expose the WebGraphicsContext3D for Android - Expose the WebGraphicsContext3D for Android's Compositor. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162231

Patch Set 1 #

Total comments: 2

Patch Set 2 : Expose destroy/create texture methods instead of the context #

Total comments: 4

Patch Set 3 : Remove ETC1 ifdef, DeleteTexture returns void #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -0 lines) Patch
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 chunks +111 lines, -0 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory_android.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/android/compositor.h View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
David Trainor- moved to gerrit
8 years, 2 months ago (2012-10-11 20:22:09 UTC) #1
no sievers
On 2012/10/11 20:22:09, dtrainor wrote: lgtm
8 years, 2 months ago (2012-10-11 20:49:38 UTC) #2
sky
I suspect we don't want to expose WebGraphicsContext3D to the world, but I could be ...
8 years, 2 months ago (2012-10-11 21:31:00 UTC) #3
no sievers
This is needed in the interim to upload ETC1 compressed textures for the inactive tabs ...
8 years, 2 months ago (2012-10-11 21:32:19 UTC) #4
no sievers
I guess the alternative is an uploadCompressedTexture() API. On 2012/10/11 21:32:19, Daniel Sievers wrote: > ...
8 years, 2 months ago (2012-10-11 21:33:13 UTC) #5
David Trainor- moved to gerrit
For Android, we're currently relying on WebExternalTextureLayers to do our switcher thumbnail painting. As we ...
8 years, 2 months ago (2012-10-11 21:49:27 UTC) #6
piman
Beware of 2 things: - if you're ever planning to use the compositor thread in ...
8 years, 2 months ago (2012-10-12 16:38:48 UTC) #7
no sievers
https://chromiumcodereview.appspot.com/11090075/diff/1/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://chromiumcodereview.appspot.com/11090075/diff/1/content/browser/renderer_host/compositor_impl_android.cc#newcode64 content/browser/renderer_host/compositor_impl_android.cc:64: scoped_ptr<WebKit::WebGraphicsContext3D> m_context3D; Actually they ImageTransportFactory has its own context ...
8 years, 2 months ago (2012-10-12 16:42:43 UTC) #8
David Trainor- moved to gerrit
Thanks for the comments! This is definitely a short term solution. It's to help us ...
8 years, 2 months ago (2012-10-12 17:06:56 UTC) #9
no sievers
https://chromiumcodereview.appspot.com/11090075/diff/8001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://chromiumcodereview.appspot.com/11090075/diff/8001/content/browser/renderer_host/compositor_impl_android.cc#newcode29 content/browser/renderer_host/compositor_impl_android.cc:29: #define ETC1_RGB8_OES 0x8D64 you should not need this. https://chromiumcodereview.appspot.com/11090075/diff/8001/content/public/browser/android/compositor.h ...
8 years, 2 months ago (2012-10-12 22:45:56 UTC) #10
piman
+jam for content/public I like this version a little better.
8 years, 2 months ago (2012-10-12 22:49:48 UTC) #11
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/11090075/diff/8001/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://chromiumcodereview.appspot.com/11090075/diff/8001/content/browser/renderer_host/compositor_impl_android.cc#newcode29 content/browser/renderer_host/compositor_impl_android.cc:29: #define ETC1_RGB8_OES 0x8D64 On 2012/10/12 22:45:56, Daniel Sievers wrote: ...
8 years, 2 months ago (2012-10-15 19:01:56 UTC) #12
jam
On 2012/10/12 22:49:48, piman wrote: > +jam for content/public > I like this version a ...
8 years, 2 months ago (2012-10-16 16:53:52 UTC) #13
piman
lgtm
8 years, 2 months ago (2012-10-16 16:57:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/11090075/17001
8 years, 2 months ago (2012-10-16 17:34:05 UTC) #15
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/compositor_impl_android.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 2 months ago (2012-10-16 17:34:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtrainor@chromium.org/11090075/23002
8 years, 2 months ago (2012-10-16 17:50:59 UTC) #17
commit-bot: I haz the power
8 years, 2 months ago (2012-10-16 20:31:56 UTC) #18
Change committed as 162231

Powered by Google App Engine
This is Rietveld 408576698