Skip to content
Snippets Groups Projects
Commit b510ca67 authored by Allan MacKinnon's avatar Allan MacKinnon Committed by CQ bot account: commit-bot@chromium.org
Browse files

[graphics][compute] Properly export C functions for use in C++ (/color,/ts)

Tracked by SPN-19.

Testability: not yet part of build.
Change-Id: I04c73606b03191d2c6e4f2048f329af848c8f5fb
parent 8a76c5da
No related branches found
No related tags found
No related merge requests found
......@@ -3,15 +3,11 @@
// found in the LICENSE file.
//
//
// COLOR UTILITIES
//
#include <math.h>
#include "color.h"
//
// COLOR UTILITIES
//
#include <math.h>
//
// CONVERT FROM 0xAARRGGBB WORD ORDER INTO f32[4]
......
......@@ -14,6 +14,14 @@
#include <stdint.h>
//
//
//
#ifdef __cplusplus
extern "C" {
#endif
//
// CONVERT FROM 0xAARRGGBB WORD ORDER INTO f32[4]
//
......@@ -63,3 +71,11 @@ void color_linear_lerp_rgba_f32(float rgba_m[4],
//
//
//
#ifdef __cplusplus
}
#endif
//
//
//
......@@ -18,6 +18,14 @@
//
//
#ifdef __cplusplus
extern "C" {
#endif
//
//
//
struct ts_transform_stack;
//
......@@ -249,3 +257,11 @@ ts_transform_stack_multiply(struct ts_transform_stack * const ts);
//
//
//
#ifdef __cplusplus
}
#endif
//
//
//
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment