/external/deqp/modules/gles3/functional/ |
es3fTextureSwizzleTests.cpp | 243 { "alpha", GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE }, 244 { "luminance", GL_LUMINANCE, GL_LUMINANCE, GL_UNSIGNED_BYTE }, 245 { "luminance_alpha", GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE }, 246 { "red", GL_R8, GL_RED, GL_UNSIGNED_BYTE }, 247 { "rg", GL_RG8, GL_RG, GL_UNSIGNED_BYTE }, 248 { "rgb", GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE }, 249 { "rgba", GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE } 317 singleChannelGroup->addChild(new Texture2DSwizzleCase(m_context, name.c_str(), "Single-channel swizzle", GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, swzR, swzG, swzB, swzA));
|
es3fReadPixelsTests.cpp | 69 ReadPixelsTest (Context& context, const char* name, const char* description, int flags, int alignment, GLint rowLength, GLint skipRows, GLint skipPixels, GLenum format = GL_RGBA, GLenum type = GL_UNSIGNED_BYTE); 413 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_1", "", ReadPixelsTest::FLAG_NO_FLAGS, 1, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 414 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_2", "", ReadPixelsTest::FLAG_NO_FLAGS, 2, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 415 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_4", "", ReadPixelsTest::FLAG_NO_FLAGS, 4, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 416 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_8", "", ReadPixelsTest::FLAG_NO_FLAGS, 8, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 438 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_17", "", ReadPixelsTest::FLAG_NO_FLAGS, 4, 17, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 439 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_19", "", ReadPixelsTest::FLAG_NO_FLAGS, 4, 19, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 440 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_23", "", ReadPixelsTest::FLAG_NO_FLAGS, 4, 23, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 441 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_29", "", ReadPixelsTest::FLAG_NO_FLAGS, 4, 29, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE)); 463 group->addChild(new ReadPixelsTest(m_context, "rgba_ubyte_0_3", "", ReadPixelsTest::FLAG_NO_FLAGS, 4, 17, 0, 3, GL_RGBA, GL_UNSIGNED_BYTE)); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/ |
VertexAttribute.java | 35 /** the OpenGL type of each component, e.g. {@link GL20#GL_FLOAT} or {@link GL20#GL_UNSIGNED_BYTE} */
63 this(usage, numComponents, usage == Usage.ColorPacked ? GL20.GL_UNSIGNED_BYTE : GL20.GL_FLOAT,
94 return new VertexAttribute(Usage.ColorPacked, 4, GL20.GL_UNSIGNED_BYTE, true, ShaderProgram.COLOR_ATTRIBUTE);
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
ScreenUtils.java | 75 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
103 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
|
/external/webrtc/webrtc/modules/video_render/ios/ |
open_gles20.mm | 161 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, indices_); 260 GL_UNSIGNED_BYTE, 294 GL_UNSIGNED_BYTE, 307 GL_UNSIGNED_BYTE,
|
/external/deqp/modules/gles2/functional/ |
es2fTextureCompletenessTests.cpp | 268 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); 292 glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.getAccess().getDataPtr()); 338 tcu::TextureFormat fmt = glu::mapGLTransferFormat(m_format, GL_UNSIGNED_BYTE); 363 glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelData.getAccess().getDataPtr()); 391 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); 416 glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.getAccess().getDataPtr()); 449 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); 465 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, m_size.x(), m_size.y(), 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.getAccess().getDataPtr()); 497 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); 520 glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, levelData.getAccess().getDataPtr()) [all...] |
/external/deqp/framework/opengl/ |
gluStateReset.cpp | 157 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 185 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 186 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 187 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 188 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 189 gl.texImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 190 gl.texImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, 0, GL_RGBA, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 220 gl.texImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 247 gl.texImage3D(GL_TEXTURE_3D, 0, GL_RGBA, 0, 0, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL); 738 gl.texImage1D (GL_TEXTURE_1D, 0, GL_RGBA, 0, 0, GL_RGBA, GL_UNSIGNED_BYTE, DE_NULL) [all...] |
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
FrameBuffer.cpp | 40 GL_UNSIGNED_BYTE,
|
/external/deqp/modules/egl/ |
teglGLES1RenderUtil.cpp | 53 glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
|
/external/mesa3d/src/glx/ |
compsize.c | 116 case GL_UNSIGNED_BYTE:
|
/external/mesa3d/src/mesa/main/ |
texcompress_cpal.c | 53 { GL_PALETTE4_RGB8_OES, GL_RGB, GL_UNSIGNED_BYTE, 16, 3 }, 54 { GL_PALETTE4_RGBA8_OES, GL_RGBA, GL_UNSIGNED_BYTE, 16, 4 }, 58 { GL_PALETTE8_RGB8_OES, GL_RGB, GL_UNSIGNED_BYTE, 256, 3 }, 59 { GL_PALETTE8_RGBA8_OES, GL_RGBA, GL_UNSIGNED_BYTE, 256, 4 },
|
debug.c | 292 ctx->Driver.GetTexImage(ctx, GL_RGBA, GL_UNSIGNED_BYTE, buffer, img); 321 type = GL_UNSIGNED_BYTE; 475 _mesa_ReadPixels(0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, buf); 544 _mesa_ReadPixels(0, 0, w, h, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, buf); 568 if (format == GL_RGBA && type == GL_UNSIGNED_BYTE) { 571 else if (format == GL_BGRA && type == GL_UNSIGNED_BYTE) { 574 else if (format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_BYTE) { 577 else if (format == GL_RED && type == GL_UNSIGNED_BYTE) {
|
/frameworks/base/libs/hwui/ |
Dither.cpp | 68 GL_ALPHA, GL_UNSIGNED_BYTE, &pattern);
|
PixelBuffer.cpp | 73 mFormat, GL_UNSIGNED_BYTE, &mBuffer[offset]); 154 GL_UNSIGNED_BYTE, reinterpret_cast<void*>(offset));
|
Readback.cpp | 65 type = GL_UNSIGNED_BYTE; 78 type = GL_UNSIGNED_BYTE;
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureFBO.h | 37 getSurfaceHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.cpp | 40 GL_UNSIGNED_BYTE,
|
/external/mesa3d/src/mesa/swrast/ |
s_fog.c | 141 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 167 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 186 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 205 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 230 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
|
s_alpha.c | 113 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 134 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
|
s_drawpix.c | 47 * Handle a common case of drawing GL_RGB/GL_UNSIGNED_BYTE into a 60 height, GL_RGB, GL_UNSIGNED_BYTE, 0, 0); 62 GL_RGB, GL_UNSIGNED_BYTE); 94 * Handle a common case of drawing GL_RGBA/GL_UNSIGNED_BYTE into a 107 height, GL_RGBA, GL_UNSIGNED_BYTE, 0, 0); 109 _mesa_image_row_stride(unpack, width, GL_RGBA, GL_UNSIGNED_BYTE); 225 type == GL_UNSIGNED_BYTE && 234 type == GL_UNSIGNED_BYTE && 266 const GLenum destType = GL_UNSIGNED_BYTE; 558 const GLenum stencilType = GL_UNSIGNED_BYTE; [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
ScreenUtils.java | 78 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
122 Gdx.gl.glReadPixels(x, y, w, h, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, pixels);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_pixel_read.c | 61 case GL_UNSIGNED_BYTE: 78 case GL_UNSIGNED_BYTE:
|
/frameworks/native/opengl/tests/textures/ |
textures.cpp | 105 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 4, 4, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, t8); 114 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/cube/ |
Cube.java | 94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer);
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
RendererES2.cpp | 133 glVertexAttribPointer(mColorAttrib, 4, GL_UNSIGNED_BYTE, GL_TRUE, sizeof(Vertex), (const GLvoid*)offsetof(Vertex, rgba));
|