OSDN Git Service

switch over to SkVertices object, and stop using deprecated methods.
authorMike Reed <reed@google.com>
Tue, 4 Apr 2017 19:32:04 +0000 (15:32 -0400)
committerMike Reed <reed@google.com>
Wed, 5 Apr 2017 14:20:38 +0000 (14:20 +0000)
commit826deefda55ead0036cdb0924bc14f17d2a85420
tree200ec673d02e096b02a3991f8821816533b863ff
parent06d6b4d9b0cc895c7d28e56019213800d4d522cf
switch over to SkVertices object, and stop using deprecated methods.

This allows Skia to remove
  SK_SUPPORT_LEGACY_CANVAS_VERTICES
  SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF
  SK_SUPPORT_LEGACY_PIXELREFFACTORY

Test: Existing CTS cover these changes

Running CtsGraphicsTestCases, there were 6 failures w/ and w/o this CL.
None of the 6 seems related to this CL.

Change-Id: I724082357d9f6cb699770df3c0b9ef555b957697
core/jni/android/graphics/BitmapFactory.cpp
core/jni/android/graphics/Graphics.cpp
core/jni/android_graphics_Canvas.cpp
libs/hwui/RecordingCanvas.h
libs/hwui/SkiaCanvas.cpp
libs/hwui/SkiaCanvas.h
libs/hwui/SkiaCanvasProxy.cpp
libs/hwui/hwui/Bitmap.cpp
libs/hwui/hwui/Canvas.h