Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
9c5808c5
Commit
9c5808c5
authored
Jun 07, 2013
by
Geoff Lang
Committed by
Shannon Woods
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the remaining non-compressed load functions for ES3.
TRAC #23229 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Geoff Lang
parent
62431836
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
formatutils11.cpp
src/libGLESv2/renderer/formatutils11.cpp
+5
-5
No files found.
src/libGLESv2/renderer/formatutils11.cpp
View file @
9c5808c5
...
@@ -205,8 +205,8 @@ D3D11LoadFunctionMap buildD3D11LoadFunctionMap()
...
@@ -205,8 +205,8 @@ D3D11LoadFunctionMap buildD3D11LoadFunctionMap()
// | Internal format | Type | Load function |
// | Internal format | Type | Load function |
insertLoadFunction
(
&
map
,
GL_RGBA8
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGBA8
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGB5_A1
,
GL_UNSIGNED_BYTE
,
UnimplementedLoadFunction
);
insertLoadFunction
(
&
map
,
GL_RGB5_A1
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGBA4
,
GL_UNSIGNED_BYTE
,
UnimplementedLoadFunction
);
insertLoadFunction
(
&
map
,
GL_RGBA4
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_SRGB8_ALPHA8
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_SRGB8_ALPHA8
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGBA8_SNORM
,
GL_BYTE
,
loadToNative
<
GLbyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGBA8_SNORM
,
GL_BYTE
,
loadToNative
<
GLbyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGBA4
,
GL_UNSIGNED_SHORT_4_4_4_4
,
loadRGBA4444DataToRGBA
);
insertLoadFunction
(
&
map
,
GL_RGBA4
,
GL_UNSIGNED_SHORT_4_4_4_4
,
loadRGBA4444DataToRGBA
);
...
@@ -224,7 +224,7 @@ D3D11LoadFunctionMap buildD3D11LoadFunctionMap()
...
@@ -224,7 +224,7 @@ D3D11LoadFunctionMap buildD3D11LoadFunctionMap()
insertLoadFunction
(
&
map
,
GL_RGBA32I
,
GL_INT
,
loadToNative
<
GLint
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGBA32I
,
GL_INT
,
loadToNative
<
GLint
,
4
>
);
insertLoadFunction
(
&
map
,
GL_RGB10_A2UI
,
GL_UNSIGNED_INT_2_10_10_10_REV
,
loadToNative
<
GLuint
,
1
>
);
insertLoadFunction
(
&
map
,
GL_RGB10_A2UI
,
GL_UNSIGNED_INT_2_10_10_10_REV
,
loadToNative
<
GLuint
,
1
>
);
insertLoadFunction
(
&
map
,
GL_RGB8
,
GL_UNSIGNED_BYTE
,
loadRGBUByteDataToRGBA
);
insertLoadFunction
(
&
map
,
GL_RGB8
,
GL_UNSIGNED_BYTE
,
loadRGBUByteDataToRGBA
);
insertLoadFunction
(
&
map
,
GL_RGB565
,
GL_UNSIGNED_BYTE
,
UnimplementedLoadFunction
);
insertLoadFunction
(
&
map
,
GL_RGB565
,
GL_UNSIGNED_BYTE
,
loadToNative3To4
<
GLubyte
,
0xFF
>
);
insertLoadFunction
(
&
map
,
GL_SRGB8
,
GL_UNSIGNED_BYTE
,
loadToNative3To4
<
GLubyte
,
0xFF
>
);
insertLoadFunction
(
&
map
,
GL_SRGB8
,
GL_UNSIGNED_BYTE
,
loadToNative3To4
<
GLubyte
,
0xFF
>
);
insertLoadFunction
(
&
map
,
GL_RGB8_SNORM
,
GL_BYTE
,
loadRGBSByteDataToRGBA
);
insertLoadFunction
(
&
map
,
GL_RGB8_SNORM
,
GL_BYTE
,
loadRGBSByteDataToRGBA
);
insertLoadFunction
(
&
map
,
GL_RGB565
,
GL_UNSIGNED_SHORT_5_6_5
,
loadRGB565DataToRGBA
);
insertLoadFunction
(
&
map
,
GL_RGB565
,
GL_UNSIGNED_SHORT_5_6_5
,
loadRGB565DataToRGBA
);
...
@@ -307,9 +307,9 @@ D3D11LoadFunctionMap buildD3D11LoadFunctionMap()
...
@@ -307,9 +307,9 @@ D3D11LoadFunctionMap buildD3D11LoadFunctionMap()
insertLoadFunction
(
&
map
,
GL_BGRA8_EXT
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_BGRA8_EXT
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_BGRA4_ANGLEX
,
GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT
,
loadRGBA4444DataToRGBA
);
insertLoadFunction
(
&
map
,
GL_BGRA4_ANGLEX
,
GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT
,
loadRGBA4444DataToRGBA
);
insertLoadFunction
(
&
map
,
GL_BGRA4_ANGLEX
,
GL_UNSIGNED_BYTE
,
UnimplementedLoadFunction
);
insertLoadFunction
(
&
map
,
GL_BGRA4_ANGLEX
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
insertLoadFunction
(
&
map
,
GL_BGR5_A1_ANGLEX
,
GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT
,
loadRGBA5551DataToRGBA
);
insertLoadFunction
(
&
map
,
GL_BGR5_A1_ANGLEX
,
GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT
,
loadRGBA5551DataToRGBA
);
insertLoadFunction
(
&
map
,
GL_BGR5_A1_ANGLEX
,
GL_UNSIGNED_BYTE
,
UnimplementedLoadFunction
);
insertLoadFunction
(
&
map
,
GL_BGR5_A1_ANGLEX
,
GL_UNSIGNED_BYTE
,
loadToNative
<
GLubyte
,
4
>
);
// Compressed formats
// Compressed formats
// From ES 3.0.1 spec, table 3.16
// From ES 3.0.1 spec, table 3.16
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment