Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48315235 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Put HWUI & Webview color space in a struct"

parents 560e9f27 1a2bdc8c
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -52,17 +52,8 @@ struct DrawVkInfo {
    // Input: Format of the destination surface.
    VkFormat format;

    // Input: Color space transfer params
    float g;
    float a;
    float b;
    float c;
    float d;
    float e;
    float f;

    // Input: Color space transformation from linear RGB to D50-adapted XYZ
    float colorSpaceTransform[9];
    // Input: Color space
    const SkColorSpace* colorSpaceInfo;

    // Input: current clip rect
    int clipLeft;
+9 −2
Original line number Diff line number Diff line
@@ -109,8 +109,15 @@ struct AwDrawFn_DrawVkParams {
  // Input: Format of the destination surface.
  VkFormat format;

  // Input: Color space transformation from linear RGB to D50-adapted XYZ
  float matrix[9];
  // Input: Color space parameters.
  float transfer_function_g;
  float transfer_function_a;
  float transfer_function_b;
  float transfer_function_c;
  float transfer_function_d;
  float transfer_function_e;
  float transfer_function_f;
  float color_space_toXYZD50[9];

  // Input: current clip rect
  int clip_left;