| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ES2Context |
| Access | Constructor and Description |
|---|---|
| pack-priv | ES2Texture(ES2Context context, ES2TextureResource<T> resource, PixelFormat format, Texture.
|
| pack-priv | ES2Texture(ES2Context context, ES2TextureResource<T> resource, PixelFormat format, Texture.
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ES2Texture | create(ES2Context context, PixelFormat format, Texture.
|
| public static Texture | |
| protected Texture | createSharedTexture(Texture.
Implements abstract com. Create a new version of this texture which shares the same
|
| public static int | |
| public int | |
| pack-priv static int | nextPowerOfTwo(int val, int max)
Given a starting value and a maximum limit, returns the first power-of-two greater than or equal to the starting value. |
| public void | update(Buffer pixels, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean skipFlush)
Implements com. Updates this texture using the contents of the given |
| public void | update(MediaFrame frame, boolean skipFlush)
Implements com. Updates this texture using the contents of the provided
|
| pack-priv void | |
| pack-priv void | |
| private static boolean | uploadPixels(GLContext glCtx, int target, Buffer pixels, PixelFormat format, int texw, int texh, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean create, boolean useMipmap)
|
| private static boolean |
| context | back to summary |
|---|---|
| pack-priv final ES2Context context | |
| ES2Texture | back to summary |
|---|---|
| pack-priv ES2Texture(ES2Context context, ES2TextureResource<T> resource, PixelFormat format, Texture. | |
| ES2Texture | back to summary |
|---|---|
| pack-priv ES2Texture(ES2Context context, ES2TextureResource<T> resource, PixelFormat format, Texture. | |
| ES2Texture | back to summary |
|---|---|
| private ES2Texture(ES2Texture<T extends ES2TextureData> sharedTex, Texture. | |
| create | back to summary |
|---|---|
| pack-priv static ES2Texture | |
| create | back to summary |
|---|---|
| public static Texture create(ES2Context context, MediaFrame frame) | |
| createSharedTexture | back to summary |
|---|---|
| protected Texture createSharedTexture(Texture. Implements abstract com. Doc from com. Create a new version of this texture which shares the same
| |
| getBufferElementSizeLog | back to summary |
|---|---|
| public static int getBufferElementSizeLog(Buffer b) | |
| getNativeSourceHandle | back to summary |
|---|---|
| public int getNativeSourceHandle() | |
| nextPowerOfTwo | back to summary |
|---|---|
| pack-priv static int nextPowerOfTwo(int val, int max) Given a starting value and a maximum limit, returns the first power-of-two greater than or equal to the starting value. If the resulting value is greater than the maximum limit, zero is returned. | |
| update | back to summary |
|---|---|
| public void update(Buffer pixels, PixelFormat format, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean skipFlush) Implements com. Doc from com. Updates this texture using the contents of the given
| |
| update | back to summary |
|---|---|
| public void update(MediaFrame frame, boolean skipFlush) Implements com. Doc from com. Updates this texture using the contents of the provided
| |
| updateFilterState | back to summary |
|---|---|
| pack-priv void updateFilterState() | |
| updateWrapState | back to summary |
|---|---|
| pack-priv void updateWrapState() | |
| uploadPixels | back to summary |
|---|---|
| private static boolean uploadPixels(GLContext glCtx, int target, Buffer pixels, PixelFormat format, int texw, int texh, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan, boolean create, boolean useMipmap) | |
| uploadPixels | back to summary |
|---|---|
| private static boolean uploadPixels(GLContext glCtx, int target, MediaFrame frame, int texw, int texh, boolean create) | |