OSDN Git Service

Fix crash in Vulkan pipeline at boot time
authorStan Iliev <stani@google.com>
Wed, 18 Oct 2017 17:12:32 +0000 (13:12 -0400)
committerStan Iliev <stani@google.com>
Wed, 18 Oct 2017 17:12:32 +0000 (13:12 -0400)
commitd56d2188fc7fbc646516a5d3da99bc95b2480319
tree7b2d68b77209e57a013260b68ed9b9ca3d735ee9
parent3cf1a9452457f5e2165d18eba4daf9fab57af746
Fix crash in Vulkan pipeline at boot time

Fix a crash caused by calling OpenGL APIs with Vulkan pipeline
(likely a regression from ag/2706458).

Test: Ran CtsViewTestCases tests with SkiaGL pipeline.
Change-Id: Ibabeb4229ef88de57c99f2961a10a68ca71b25ab
libs/hwui/Extensions.cpp
libs/hwui/pipeline/skia/SkiaOpenGLReadback.cpp