DescriptionRefactor how surfaces are acquired for GPU compositing.
Rather than have a couple of nasty #if defined blocks, push the code down into the platform specific RenderWidgetHostView layer. Added support for releasing surfaces:
- if renderer crashes, RenderWidgetHostView releases the surfaces (no change from previous code)
- if gpu process crashes, the GpuProcessHostUIShim releases the surfaces (introduced in this patch)
- if the channel between the renderer and gpu process falls, the gpu process asks the GpuProcessHostUIShim to release the surface
BUG=none
TEST=by hand 3D css and WebGL on win, max, linux, and linux views
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75387
Patch Set 1 #Patch Set 2 : Fix view views build. #
Total comments: 6
Patch Set 3 : Respond to reviewer comments and fix resource leak. #Patch Set 4 : Removed unnecessary forward declaration. #Patch Set 5 : Remove unnecessary include. #Messages
Total messages: 4 (0 generated)
|