[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8297676: DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE are not placeholders
From: Sergey Bylokhov <serb () openjdk ! org>
Date: 2022-11-30 4:20:10
Message-ID: i3JEexrYtDNkF9CzjaIeknRw_RJw2Qqtxj9P75Cb0Vo=.bdef9d31-6e08-4a01-b0e4-34d629030e0a () github ! com
[Download RAW message or body]
On Sat, 26 Nov 2022 02:58:15 GMT, Sergey Bylokhov <serb@openjdk.org> wrote:
> The specification for the DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE mentioned \
> that all of them are "Placeholder for future use" which is not true.
> They are used and it is possible to create the ComponentColorModel for each of this \
> transferType. Also, there is a specific data buffer for each: \
> [DataBufferFloat](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/java/awt/image/DataBufferFloat.java#L67), \
> [DataBufferDouble](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/java/awt/image/DataBufferDouble.java#L67), \
> and [DataBufferShort](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/java/awt/image/DataBufferShort.java#L74).
>
This pull request has now been integrated.
Changeset: 37f613ba
Author: Sergey Bylokhov <serb@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/37f613bad3b01b40d518de34630e1e6d63737a4c
Stats: 10 lines in 1 file changed: 2 ins; 2 del; 6 mod
8297676: DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE are not placeholders
Reviewed-by: azvegint, prr
-------------
PR: https://git.openjdk.org/jdk/pull/11374
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic