@amazon-devices/kepler-graphics 2.3.5 → 2.4.0-rn-83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SystemBundles/dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1.bundle.map +1 -0
- package/SystemBundles/hermes-072/dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1.bundle.map +1 -0
- package/SystemBundles/hermes-072/index.amzn__kepler-graphics-2.hermes.bundle +0 -0
- package/SystemBundles/hermes-083/dfa819fc45ec7441ad32aeb1438bef9e177db9f571b5fe997cfd30da0783e0d1.bundle.map +1 -0
- package/SystemBundles/hermes-083/index.amzn__kepler-graphics-2.hermes.bundle +0 -0
- package/SystemBundles/index.amzn__kepler-graphics-2.hermes.bundle +0 -0
- package/SystemModules/amzn__kepler-graphics-2.private.modules.txt +5 -8
- package/dist/turbo-modules/AmazonGraphicsTurboModule.d.ts +5 -0
- package/dist/turbo-modules/Display.d.ts +26 -1
- package/dist/turbo-modules/Display.js +34 -0
- package/dist/turbo-modules/DisplayManager.d.ts +10 -1
- package/dist/turbo-modules/DisplayManager.js +11 -0
- package/dist/turbo-modules/__mocks__/AmazonGraphicsTurboModule.d.ts +5 -1
- package/dist/turbo-modules/__mocks__/AmazonGraphicsTurboModule.js +4 -0
- package/dist/types/GraphicsTypes.d.ts +22 -0
- package/dist/types/GraphicsTypes.js +20 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -1
- package/kepler-compatibility.json +2 -1
- package/package.json +61 -1
- package/SystemBundles/85e2040f418404d98b11030ca64ecbfc82c6b30d1405fd2340da85bab1c6b9ae.bundle +0 -1742
- package/SystemBundles/85e2040f418404d98b11030ca64ecbfc82c6b30d1405fd2340da85bab1c6b9ae.bundle.map +0 -1
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
node_modules/@react-native/js-polyfills_0.72.1/console.js:c081be8f6c0109dd350f
|
|
2
|
-
node_modules/@react-native/js-polyfills_0.72.1/error-guard.js:057b32c72f7f399723ba
|
|
3
|
-
node_modules/@react-native/js-polyfills_0.72.1/Object.es8.js:a9bf7d37774d7198840b
|
|
4
1
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/index.js:8a35a86b7946c72e0207
|
|
5
2
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/turbomodules/TurboModuleRegistry.js:33d6b98d6e39f6b0a8f9
|
|
6
3
|
node_modules/@amzn/keplerscript-turbomodule-api_1.0.0/dist/invariant/invariant.js:8d9475a2cb77b53e450d
|
|
7
|
-
node_modules/@babel/runtime_7.
|
|
8
|
-
node_modules/@babel/runtime_7.
|
|
9
|
-
node_modules/@babel/runtime_7.
|
|
10
|
-
node_modules/@babel/runtime_7.
|
|
11
|
-
node_modules/@babel/runtime_7.
|
|
4
|
+
node_modules/@babel/runtime_7.29.2/helpers/classCallCheck.js:2bfb5e99807ec81b822f
|
|
5
|
+
node_modules/@babel/runtime_7.29.2/helpers/createClass.js:cc42269051bc9ff17a63
|
|
6
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPropertyKey.js:7519d1b9ea0de500d604
|
|
7
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPrimitive.js:6c47e04d255cdfb1533c
|
|
8
|
+
node_modules/@babel/runtime_7.29.2/helpers/typeof.js:7b6247ce00695d888c36
|
|
@@ -30,11 +30,16 @@ export interface AmazonGraphicsTurboModule extends KeplerTurboModule {
|
|
|
30
30
|
isAutoConfigSwitchEnabled: () => boolean;
|
|
31
31
|
getAllowedColorSpaces: () => Int32[];
|
|
32
32
|
getAllowedColorDepths: (colorSpace: Int32) => Int32[];
|
|
33
|
+
getSupportedHdrSettings: () => Int32[];
|
|
33
34
|
setOverscanBorder: (leftBorderAsPercentageOfWidth: Double, topBorderAsPercentageOfHeight: Double, rightBorderAsPercentageOfWidth: Double, bottomBorderAsPercentageOfHeight: Double) => void;
|
|
34
35
|
getOverscanBorder: () => IOverscanBorder;
|
|
35
36
|
isSinkActive: () => boolean;
|
|
37
|
+
getAisrState: () => Int32;
|
|
38
|
+
isAisrSupported: () => boolean;
|
|
39
|
+
setAisrState: (state: Int32) => void;
|
|
36
40
|
addDisplayListener: (onConfigChange: (config: IDisplayConfig) => void, onRefreshRateChange: (refreshRateInrMillihertz: Int32) => void, onColorDepthChange: (colorDepth: Int32) => void, onColorSpaceChange: (colorSpace: Int32) => void, onHdcpLevelChange: (level: Int32) => void, onAutoConfigSwitchStateChange: (state: boolean) => void, onMultipleRefreshRateStateChange: (state: boolean) => void, onLowLatencyModeStateChange: (state: Int32) => void, onHdrModeChange: (hdr_mode: Int32) => void) => Token;
|
|
37
41
|
addDisplayListener2: (onConfigChange: (config: IDisplayConfig) => void, onRefreshRateChange: (refreshRateInrMillihertz: Int32) => void, onColorDepthChange: (colorDepth: Int32) => void, onColorSpaceChange: (colorSpace: Int32) => void, onHdcpLevelChange: (level: Int32) => void, onAutoConfigSwitchStateChange: (state: boolean) => void, onMultipleRefreshRateStateChange: (state: boolean) => void, onLowLatencyModeStateChange: (state: Int32) => void, onHdrModeChange: (hdr_mode: Int32) => void, onSinkStateChange: (active: boolean) => void) => Token;
|
|
42
|
+
addDisplayListener3: (onConfigChange: (config: IDisplayConfig) => void, onRefreshRateChange: (refreshRateInrMillihertz: Int32) => void, onColorDepthChange: (colorDepth: Int32) => void, onColorSpaceChange: (colorSpace: Int32) => void, onHdcpLevelChange: (level: Int32) => void, onAutoConfigSwitchStateChange: (state: boolean) => void, onMultipleRefreshRateStateChange: (state: boolean) => void, onLowLatencyModeStateChange: (state: Int32) => void, onHdrModeChange: (hdr_mode: Int32) => void, onSinkStateChange: (active: boolean) => void, onAisrStateChange: (state: Int32) => void) => Token;
|
|
38
43
|
removeDisplayListener: (token: Token) => void;
|
|
39
44
|
addDisplayControllerListener: (onAddDisplay: (id: Int32) => void, onRemoveDisplay: (id: Int32) => void) => Token;
|
|
40
45
|
removeDisplayControllerListener: (token: Token) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorDepth, ColorSpace, HdrMode, LlmState, HdcpLevel, TransferFunction, type IDisplayConfig, type IDisplayListener, type ISubscription } from '../types';
|
|
1
|
+
import { AisrState, ColorDepth, ColorSpace, HdrMode, LlmState, HdcpLevel, TransferFunction, type IDisplayConfig, type IDisplayListener, type ISubscription } from '../types';
|
|
2
2
|
import { IOverscanBorder } from '../types/GraphicsTypes';
|
|
3
3
|
/**
|
|
4
4
|
* Class that retrieves properties of the primary display.
|
|
@@ -109,6 +109,22 @@ export declare class Display {
|
|
|
109
109
|
* @return Returns true if display sink is active.
|
|
110
110
|
*/
|
|
111
111
|
static isSinkActive(): boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Query the current system-level AISR state for this display.
|
|
114
|
+
* @return Current AISR state.
|
|
115
|
+
*/
|
|
116
|
+
static getAisrState(): AisrState;
|
|
117
|
+
/**
|
|
118
|
+
* Query if AI Super Resolution is supported on this display.
|
|
119
|
+
* @return true if AISR is supported, false otherwise.
|
|
120
|
+
*/
|
|
121
|
+
static isAisrSupported(): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Query for supported HDR modes which are determined based on
|
|
124
|
+
* the connected display/TV capabilities and the device capabilities.
|
|
125
|
+
* @returns {HdrMode[]} An array of HdrMode values representing the supported HDR modes
|
|
126
|
+
*/
|
|
127
|
+
static getSupportedHdrSettings(): HdrMode[];
|
|
112
128
|
/**
|
|
113
129
|
* Adds display listener object {@link IDisplayListener} to receive
|
|
114
130
|
* callbacks when display properties change. It returns a
|
|
@@ -127,6 +143,15 @@ export declare class Display {
|
|
|
127
143
|
* @return ISubscription object related to this listener @see DisplayListenerSubscription
|
|
128
144
|
*/
|
|
129
145
|
static addDisplayListener2(listener: IDisplayListener): ISubscription;
|
|
146
|
+
/**
|
|
147
|
+
* Adds display listener object {@link IDisplayListener} to receive
|
|
148
|
+
* callbacks when display properties change, including AISR state changes.
|
|
149
|
+
* It returns a {@link ISubscription} object, which is used to unsubscribe
|
|
150
|
+
* the listener from receiving events through {@link ISubscription.unsubscribe()}.
|
|
151
|
+
* @param listener IDisplayListener interface
|
|
152
|
+
* @return ISubscription object related to this listener @see DisplayListenerSubscription
|
|
153
|
+
*/
|
|
154
|
+
static addDisplayListener3(listener: IDisplayListener): ISubscription;
|
|
130
155
|
/**
|
|
131
156
|
* Below APIs are just wrapper APIs and does not have direct 1:1 mapping
|
|
132
157
|
* with native APIs.
|
|
@@ -174,6 +174,28 @@ class Display {
|
|
|
174
174
|
static isSinkActive() {
|
|
175
175
|
return AmazonGraphicsTurboModule_1.default.isSinkActive();
|
|
176
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Query the current system-level AISR state for this display.
|
|
179
|
+
* @return Current AISR state.
|
|
180
|
+
*/
|
|
181
|
+
static getAisrState() {
|
|
182
|
+
return AmazonGraphicsTurboModule_1.default.getAisrState();
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Query if AI Super Resolution is supported on this display.
|
|
186
|
+
* @return true if AISR is supported, false otherwise.
|
|
187
|
+
*/
|
|
188
|
+
static isAisrSupported() {
|
|
189
|
+
return AmazonGraphicsTurboModule_1.default.isAisrSupported();
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Query for supported HDR modes which are determined based on
|
|
193
|
+
* the connected display/TV capabilities and the device capabilities.
|
|
194
|
+
* @returns {HdrMode[]} An array of HdrMode values representing the supported HDR modes
|
|
195
|
+
*/
|
|
196
|
+
static getSupportedHdrSettings() {
|
|
197
|
+
return AmazonGraphicsTurboModule_1.default.getSupportedHdrSettings();
|
|
198
|
+
}
|
|
177
199
|
/**
|
|
178
200
|
* Adds display listener object {@link IDisplayListener} to receive
|
|
179
201
|
* callbacks when display properties change. It returns a
|
|
@@ -198,6 +220,18 @@ class Display {
|
|
|
198
220
|
let token = AmazonGraphicsTurboModule_1.default.addDisplayListener2(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { })); // Provide a no-op function if onSinkStateChange is undefined
|
|
199
221
|
return new DisplayListenerSubscription(token);
|
|
200
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* Adds display listener object {@link IDisplayListener} to receive
|
|
225
|
+
* callbacks when display properties change, including AISR state changes.
|
|
226
|
+
* It returns a {@link ISubscription} object, which is used to unsubscribe
|
|
227
|
+
* the listener from receiving events through {@link ISubscription.unsubscribe()}.
|
|
228
|
+
* @param listener IDisplayListener interface
|
|
229
|
+
* @return ISubscription object related to this listener @see DisplayListenerSubscription
|
|
230
|
+
*/
|
|
231
|
+
static addDisplayListener3(listener) {
|
|
232
|
+
let token = AmazonGraphicsTurboModule_1.default.addDisplayListener3(listener.onConfigChange, listener.onRefreshRateChange, listener.onColorDepthChange, listener.onColorSpaceChange, listener.onHdcpLevelChange, listener.onAutoConfigSwitchStateChange, listener.onMultipleRefreshRateStateChange, listener.onLowLatencyModeStateChange, listener.onHdrModeChange, listener.onSinkStateChange || (() => { }), listener.onAisrStateChange || (() => { }));
|
|
233
|
+
return new DisplayListenerSubscription(token);
|
|
234
|
+
}
|
|
201
235
|
/**
|
|
202
236
|
* Below APIs are just wrapper APIs and does not have direct 1:1 mapping
|
|
203
237
|
* with native APIs.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorDepth, ColorSpace, HdrMode, LlmState, type IDisplayConfig, type IDisplayManagerListener, type ISubscription } from '../types';
|
|
1
|
+
import { AisrState, ColorDepth, ColorSpace, HdrMode, LlmState, type IDisplayConfig, type IDisplayManagerListener, type ISubscription } from '../types';
|
|
2
2
|
import { Int32, Double } from 'react-native-tscodegen-types';
|
|
3
3
|
/**
|
|
4
4
|
* DisplayManager provides APIs to change the display configuration/settings.
|
|
@@ -28,6 +28,15 @@ export declare class DisplayManager {
|
|
|
28
28
|
* @param mode Requested HDR mode.
|
|
29
29
|
*/
|
|
30
30
|
static setHdrMode(hdrMode: HdrMode): void;
|
|
31
|
+
/**
|
|
32
|
+
* Set the system-level AISR state for this display.
|
|
33
|
+
* The change is applied immediately and persisted across reboots.
|
|
34
|
+
* This does NOT require {@link DisplayManager.commitStates}.
|
|
35
|
+
* This API requires the client to have "com.amazon.graphics.privilege.display.manager"
|
|
36
|
+
* application privilege.
|
|
37
|
+
* @param state Requested AISR state.
|
|
38
|
+
*/
|
|
39
|
+
static setAisrState(aisrState: AisrState): void;
|
|
31
40
|
/**
|
|
32
41
|
* Enable or disable Low latency mode.
|
|
33
42
|
* This API requires the client to have "com.amazon.graphics.privilege.display.manager"
|
|
@@ -58,6 +58,17 @@ class DisplayManager {
|
|
|
58
58
|
static setHdrMode(hdrMode) {
|
|
59
59
|
AmazonGraphicsTurboModule_1.default.setHdrMode(hdrMode);
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* Set the system-level AISR state for this display.
|
|
63
|
+
* The change is applied immediately and persisted across reboots.
|
|
64
|
+
* This does NOT require {@link DisplayManager.commitStates}.
|
|
65
|
+
* This API requires the client to have "com.amazon.graphics.privilege.display.manager"
|
|
66
|
+
* application privilege.
|
|
67
|
+
* @param state Requested AISR state.
|
|
68
|
+
*/
|
|
69
|
+
static setAisrState(aisrState) {
|
|
70
|
+
AmazonGraphicsTurboModule_1.default.setAisrState(aisrState);
|
|
71
|
+
}
|
|
61
72
|
/**
|
|
62
73
|
* Enable or disable Low latency mode.
|
|
63
74
|
* This API requires the client to have "com.amazon.graphics.privilege.display.manager"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorDepth, ColorSpace, HdrMode, LlmState } from '../../types';
|
|
1
|
+
import { AisrState, ColorDepth, ColorSpace, HdrMode, LlmState } from '../../types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
getMajorVersion: () => number;
|
|
4
4
|
getMinorVersion: () => number;
|
|
@@ -6,11 +6,15 @@ declare const _default: {
|
|
|
6
6
|
setColorDepth: ColorDepth;
|
|
7
7
|
setColorSpace: ColorSpace;
|
|
8
8
|
setHdrMode: HdrMode;
|
|
9
|
+
setAisrState: AisrState;
|
|
9
10
|
setLowLatencyModeState: LlmState;
|
|
10
11
|
setMultipleRefreshRateState: boolean;
|
|
11
12
|
getColorDepth: () => ColorDepth;
|
|
12
13
|
getColorSpace: () => ColorSpace;
|
|
13
14
|
getHdrMode: () => HdrMode;
|
|
15
|
+
getAisrState: () => AisrState;
|
|
16
|
+
isAisrSupported: () => boolean;
|
|
17
|
+
getSupportedHdrSettings: () => HdrMode[];
|
|
14
18
|
getLowLatencyModeState: () => LlmState;
|
|
15
19
|
isMultipleRefreshRateEnabled: () => boolean;
|
|
16
20
|
};
|
|
@@ -15,11 +15,15 @@ exports.default = {
|
|
|
15
15
|
setColorDepth: (types_1.ColorDepth.COLORDEPTH_8),
|
|
16
16
|
setColorSpace: (types_1.ColorSpace.AUTO),
|
|
17
17
|
setHdrMode: (types_1.HdrMode.DISABLED),
|
|
18
|
+
setAisrState: (types_1.AisrState.OFF),
|
|
18
19
|
setLowLatencyModeState: (types_1.LlmState.LLM_AUTO),
|
|
19
20
|
setMultipleRefreshRateState: (false),
|
|
20
21
|
getColorDepth: () => types_1.ColorDepth.COLORDEPTH_8,
|
|
21
22
|
getColorSpace: () => types_1.ColorSpace.AUTO,
|
|
22
23
|
getHdrMode: () => types_1.HdrMode.DISABLED,
|
|
24
|
+
getAisrState: () => types_1.AisrState.OFF,
|
|
25
|
+
isAisrSupported: () => false,
|
|
26
|
+
getSupportedHdrSettings: () => [types_1.HdrMode.DISABLED, types_1.HdrMode.ADAPTIVE, types_1.HdrMode.ALWAYS],
|
|
23
27
|
getLowLatencyModeState: () => types_1.LlmState.LLM_OFF,
|
|
24
28
|
isMultipleRefreshRateEnabled: () => false,
|
|
25
29
|
};
|
|
@@ -72,6 +72,23 @@ export declare enum HdrMode {
|
|
|
72
72
|
*/
|
|
73
73
|
ALWAYS = 2
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Defines values for AI Super Resolution state for display.
|
|
77
|
+
*/
|
|
78
|
+
export declare enum AisrState {
|
|
79
|
+
/**
|
|
80
|
+
* AI Super Resolution is disabled
|
|
81
|
+
*/
|
|
82
|
+
OFF = 0,
|
|
83
|
+
/**
|
|
84
|
+
* AI Super Resolution upscales to native resolution
|
|
85
|
+
*/
|
|
86
|
+
NATIVE = 1,
|
|
87
|
+
/**
|
|
88
|
+
* AI Super Resolution upscales to 4K target resolution
|
|
89
|
+
*/
|
|
90
|
+
TARGET_4K = 2
|
|
91
|
+
}
|
|
75
92
|
/**
|
|
76
93
|
* Defines list of supported underlying HDR technologies
|
|
77
94
|
*/
|
|
@@ -311,6 +328,11 @@ export interface IDisplayListener {
|
|
|
311
328
|
* @param active new sink state, true means active
|
|
312
329
|
*/
|
|
313
330
|
onSinkStateChange?: (active: boolean) => void;
|
|
331
|
+
/**
|
|
332
|
+
* Triggered when AISR state of the display is changed.
|
|
333
|
+
* @param state the new AISR state
|
|
334
|
+
*/
|
|
335
|
+
onAisrStateChange?: (state: AisrState) => void;
|
|
314
336
|
}
|
|
315
337
|
/**
|
|
316
338
|
* Listener interface for DisplayController events.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Use is subject to license terms.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;
|
|
10
|
+
exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.TransferFunction = exports.ColorGamut = exports.HdrType = exports.AisrState = exports.HdrMode = exports.ColorDepth = exports.ColorSpace = void 0;
|
|
11
11
|
/**
|
|
12
12
|
* Defines Different color space types in a display.
|
|
13
13
|
*/
|
|
@@ -77,6 +77,25 @@ var HdrMode;
|
|
|
77
77
|
HdrMode[HdrMode["ALWAYS"] = 2] = "ALWAYS";
|
|
78
78
|
})(HdrMode = exports.HdrMode || (exports.HdrMode = {}));
|
|
79
79
|
;
|
|
80
|
+
/**
|
|
81
|
+
* Defines values for AI Super Resolution state for display.
|
|
82
|
+
*/
|
|
83
|
+
var AisrState;
|
|
84
|
+
(function (AisrState) {
|
|
85
|
+
/**
|
|
86
|
+
* AI Super Resolution is disabled
|
|
87
|
+
*/
|
|
88
|
+
AisrState[AisrState["OFF"] = 0] = "OFF";
|
|
89
|
+
/**
|
|
90
|
+
* AI Super Resolution upscales to native resolution
|
|
91
|
+
*/
|
|
92
|
+
AisrState[AisrState["NATIVE"] = 1] = "NATIVE";
|
|
93
|
+
/**
|
|
94
|
+
* AI Super Resolution upscales to 4K target resolution
|
|
95
|
+
*/
|
|
96
|
+
AisrState[AisrState["TARGET_4K"] = 2] = "TARGET_4K";
|
|
97
|
+
})(AisrState = exports.AisrState || (exports.AisrState = {}));
|
|
98
|
+
;
|
|
80
99
|
/**
|
|
81
100
|
* Defines list of supported underlying HDR technologies
|
|
82
101
|
*/
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ColorSpace, ColorDepth, HdrMode, HdrType, LlmState, HdcpLevel, BufferPixelFormat, ColorGamut, TransferFunction, IDisplayConfig, IOverscanBorder, IDisplayListener, IDisplayControllerListener, ISubscription, IDisplayManagerListener } from './GraphicsTypes';
|
|
2
|
-
export { ColorDepth, ColorSpace, HdrMode, HdrType, LlmState, HdcpLevel, BufferPixelFormat, ColorGamut, TransferFunction, type IDisplayConfig, type IOverscanBorder, type IDisplayListener, type IDisplayControllerListener, type ISubscription, type IDisplayManagerListener, };
|
|
1
|
+
import { AisrState, ColorSpace, ColorDepth, HdrMode, HdrType, LlmState, HdcpLevel, BufferPixelFormat, ColorGamut, TransferFunction, IDisplayConfig, IOverscanBorder, IDisplayListener, IDisplayControllerListener, ISubscription, IDisplayManagerListener } from './GraphicsTypes';
|
|
2
|
+
export { AisrState, ColorDepth, ColorSpace, HdrMode, HdrType, LlmState, HdcpLevel, BufferPixelFormat, ColorGamut, TransferFunction, type IDisplayConfig, type IOverscanBorder, type IDisplayListener, type IDisplayControllerListener, type ISubscription, type IDisplayManagerListener, };
|
package/dist/types/index.js
CHANGED
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
* Use is subject to license terms.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = void 0;
|
|
10
|
+
exports.TransferFunction = exports.ColorGamut = exports.BufferPixelFormat = exports.HdcpLevel = exports.LlmState = exports.HdrType = exports.HdrMode = exports.ColorSpace = exports.ColorDepth = exports.AisrState = void 0;
|
|
11
11
|
const GraphicsTypes_1 = require("./GraphicsTypes");
|
|
12
|
+
Object.defineProperty(exports, "AisrState", { enumerable: true, get: function () { return GraphicsTypes_1.AisrState; } });
|
|
12
13
|
Object.defineProperty(exports, "ColorSpace", { enumerable: true, get: function () { return GraphicsTypes_1.ColorSpace; } });
|
|
13
14
|
Object.defineProperty(exports, "ColorDepth", { enumerable: true, get: function () { return GraphicsTypes_1.ColorDepth; } });
|
|
14
15
|
Object.defineProperty(exports, "HdrMode", { enumerable: true, get: function () { return GraphicsTypes_1.HdrMode; } });
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"2.3.2": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
6
6
|
"2.3.3": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
7
7
|
"2.3.4": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
8
|
-
"2.3.5": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1"
|
|
8
|
+
"2.3.5": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1",
|
|
9
|
+
"2.4.0": "/com.amazon.kepler.kepler_graphics_2@IKeplerGraphics_1"
|
|
9
10
|
}
|
|
10
11
|
}
|
package/package.json
CHANGED
|
@@ -1 +1,61 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "@amazon-devices/kepler-graphics",
|
|
3
|
+
"version": "2.4.0-rn-83",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"react-native.config.js",
|
|
9
|
+
"kepler-compatibility.json",
|
|
10
|
+
"SystemModules",
|
|
11
|
+
"SystemBundles",
|
|
12
|
+
"THIRD_PARTY_NOTICES.txt",
|
|
13
|
+
"kepler-transformed-package-info.json"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "rm -rf node_modules buildinfo.json dist bvm",
|
|
17
|
+
"test": "jest --colors",
|
|
18
|
+
"lint": "eslint src tst --ext .ts,.tsx",
|
|
19
|
+
"lint:fix": "eslint src tst --ext .ts,.tsx --fix",
|
|
20
|
+
"compile": "tsc -p tsconfig-build.json",
|
|
21
|
+
"docgen": "npx typedoc --basePath src/ -entryPointStrategy expand --excludePrivate --excludeProtected --excludeInternal --excludeNotDocumented --disableSources --hideGenerator src/",
|
|
22
|
+
"build": "npm-run-all compile docgen",
|
|
23
|
+
"release": "npm-run-all lint test compile docgen",
|
|
24
|
+
"prepublishOnly": "KEPLER_NPM_COMMAND=npm-pretty-much react-native build-system-bundle-kepler"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@amazon-devices/keplerscript-turbomodule-api": "^1.0.0",
|
|
28
|
+
"react-native-tscodegen-types": "0.66.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@babel/core": "^7.20.0",
|
|
32
|
+
"@babel/runtime": "^7.20.0",
|
|
33
|
+
"@react-native/eslint-config": "0.72.2",
|
|
34
|
+
"@types/jest": "^28.0.0",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
36
|
+
"babel-jest": "^28.0.0",
|
|
37
|
+
"eslint": "^8.12.0",
|
|
38
|
+
"@jest/globals": "^28.0.0",
|
|
39
|
+
"jest": "^28.0.0",
|
|
40
|
+
"metro-react-native-babel-preset": "^0.76.5",
|
|
41
|
+
"npm-run-all": "^4.1.5",
|
|
42
|
+
"prettier": "^2.6.2",
|
|
43
|
+
"ts-jest": "^28.0.0",
|
|
44
|
+
"typedoc": "^0.25.x",
|
|
45
|
+
"typescript": "4.8.4",
|
|
46
|
+
"@amazon-devices/kepler-cli-platform": "^0",
|
|
47
|
+
"@react-native-community/cli": "^11.2.0"
|
|
48
|
+
},
|
|
49
|
+
"kepler": {
|
|
50
|
+
"projectType": "turbomodule",
|
|
51
|
+
"targets": [
|
|
52
|
+
"tv",
|
|
53
|
+
"auto"
|
|
54
|
+
],
|
|
55
|
+
"toolchain": "clang",
|
|
56
|
+
"features": [
|
|
57
|
+
"vega"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"license": "See license in LICENSE"
|
|
61
|
+
}
|