Merge "Fix constant"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1b23bfefc9
@@ -16798,7 +16798,7 @@ package android.hardware {
|
||||
field public static final long USAGE_CPU_READ_RARELY = 2L; // 0x2L
|
||||
field public static final long USAGE_CPU_WRITE_OFTEN = 48L; // 0x30L
|
||||
field public static final long USAGE_CPU_WRITE_RARELY = 32L; // 0x20L
|
||||
field public static final long USAGE_FRONT_BUFFER = 1L; // 0x1L
|
||||
field public static final long USAGE_FRONT_BUFFER = 4294967296L; // 0x100000000L
|
||||
field public static final long USAGE_GPU_COLOR_OUTPUT = 512L; // 0x200L
|
||||
field public static final long USAGE_GPU_CUBE_MAP = 33554432L; // 0x2000000L
|
||||
field public static final long USAGE_GPU_DATA_BUFFER = 16777216L; // 0x1000000L
|
||||
|
||||
@@ -156,7 +156,7 @@ public final class HardwareBuffer implements Parcelable, AutoCloseable {
|
||||
* used as USAGE_GPU_COLOR_OUTPUT the buffer will behave similar to a single-buffered window.
|
||||
* When used with USAGE_COMPOSER_OVERLAY, the system will try to prioritize the buffer
|
||||
* receiving an overlay plane & avoid caching it in intermediate composition buffers. */
|
||||
public static final long USAGE_FRONT_BUFFER = 1 << 32;
|
||||
public static final long USAGE_FRONT_BUFFER = 1L << 32;
|
||||
|
||||
/**
|
||||
* Creates a new <code>HardwareBuffer</code> instance.
|
||||
|
||||
Reference in New Issue
Block a user