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

Issue 7576012: Removed config management from Graphics3D API. It will be better handled in the EGL helper library. (Closed)

Created:
9 years, 4 months ago by alokp
Modified:
9 years, 4 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, apatrick_chromium, brettw, nfullagar
Visibility:
Public.

Description

Removed config management from Graphics3D API. It will be better handled in the EGL helper library. Also removed redundant enums from the API. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97019

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -322 lines) Patch
M gpu/demos/framework/pepper.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/c/dev/pp_graphics_3d_dev.h View 4 chunks +7 lines, -105 lines 0 comments Download
M ppapi/c/dev/ppb_graphics_3d_dev.h View 6 chunks +61 lines, -122 lines 3 comments Download
M ppapi/c/dev/ppb_graphics_3d_trusted_dev.h View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/cpp/dev/graphics_3d_dev.h View 1 chunk +0 lines, -8 lines 0 comments Download
M ppapi/cpp/dev/graphics_3d_dev.cc View 2 chunks +0 lines, -23 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/ppb_context_3d_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.h View 2 chunks +0 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 4 chunks +2 lines, -5 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_thunk.cc View 2 chunks +2 lines, -17 lines 0 comments Download
M ppapi/thunk/ppb_graphics_3d_trusted_thunk.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppb_context_3d_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_graphics_3d_impl.h View 2 chunks +2 lines, -6 lines 0 comments Download
M webkit/plugins/ppapi/ppb_graphics_3d_impl.cc View 3 chunks +5 lines, -9 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
alokp
9 years, 4 months ago (2011-08-04 19:00:05 UTC) #1
alokp
http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h File ppapi/c/dev/ppb_graphics_3d_dev.h (right): http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h#newcode110 ppapi/c/dev/ppb_graphics_3d_dev.h:110: // - PP_GRAPHICS3DATTRIB_MAX_SURFACE_HEIGHT Querying for the maximum surface size ...
9 years, 4 months ago (2011-08-04 19:02:51 UTC) #2
alokp
piman: ping!
9 years, 4 months ago (2011-08-15 19:37:29 UTC) #3
piman
LGTM http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h File ppapi/c/dev/ppb_graphics_3d_dev.h (right): http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h#newcode110 ppapi/c/dev/ppb_graphics_3d_dev.h:110: // - PP_GRAPHICS3DATTRIB_MAX_SURFACE_HEIGHT On 2011/08/04 19:02:51, Alok Priyadarshi ...
9 years, 4 months ago (2011-08-15 19:44:02 UTC) #4
alokp
http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h File ppapi/c/dev/ppb_graphics_3d_dev.h (right): http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h#newcode110 ppapi/c/dev/ppb_graphics_3d_dev.h:110: // - PP_GRAPHICS3DATTRIB_MAX_SURFACE_HEIGHT On 2011/08/15 19:44:02, piman wrote: > ...
9 years, 4 months ago (2011-08-15 20:59:31 UTC) #5
piman
On Mon, Aug 15, 2011 at 1:59 PM, <alokp@chromium.org> wrote: > > http://codereview.chromium.**org/7576012/diff/1/ppapi/c/** > dev/ppb_graphics_3d_dev.h<http://codereview.chromium.org/7576012/diff/1/ppapi/c/dev/ppb_graphics_3d_dev.h> ...
9 years, 4 months ago (2011-08-15 21:17:51 UTC) #6
alokp
> > > > I can leave it here, but max-surface-size is the minimum of ...
9 years, 4 months ago (2011-08-15 21:24:25 UTC) #7
piman
On Mon, Aug 15, 2011 at 2:24 PM, <alokp@chromium.org> wrote: > > > >> > ...
9 years, 4 months ago (2011-08-15 21:46:38 UTC) #8
brettw
On Mon, Aug 15, 2011 at 2:46 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
9 years, 4 months ago (2011-08-15 22:04:51 UTC) #9
alokp
> The main issue is that it's a heavyweight operation. Creating a context > today ...
9 years, 4 months ago (2011-08-16 15:52:14 UTC) #10
piman
On Tue, Aug 16, 2011 at 8:52 AM, <alokp@chromium.org> wrote: > > The main issue ...
9 years, 4 months ago (2011-08-16 17:02:23 UTC) #11
alokp
> > Right, what I'm saying is you can query in the GPU process those ...
9 years, 4 months ago (2011-08-16 20:25:26 UTC) #12
piman
9 years, 4 months ago (2011-08-16 20:52:10 UTC) #13
On Tue, Aug 16, 2011 at 1:25 PM, <alokp@chromium.org> wrote:

>
>
>  Right, what I'm saying is you can query in the GPU process those values
>> way
>> before you create the pepper context. They're static values and won't
>> change. So you can pass them to the renderer, and along to the pepper
>> process as you create the plugin instance. That way, the value is
>> available
>> before you create any pepper Graphics3D, and you don't need any round trip
>> or heavyweight context creation.
>>
>
>  Antoine
>>
>
>
> I see. It seems we need something like PPB_Graphics3D_Dev::**
> GetAttribLimits()
> that takes PPB_Instance parameter. I will do it in another CL.


Yes, that's fine. I already gave the LGTM on this one.

Antoine

>
>
>
http://codereview.chromium.**org/7576012/<http://codereview.chromium.org/7576...
>

Powered by Google App Engine
This is Rietveld 408576698