Home
last modified time | relevance | path

Searched refs:GR_GL_UNSIGNED_BYTE (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/gpu/gl/
DGrGLVertexArray.cpp53 return {false, 1, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
55 return {false, 2, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
57 return {false, 3, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
59 return {false, 4, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
61 return {true, 1, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
63 return {true, 4, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
DGrGLCaps.cpp895 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) { in readPixelsSupported()
1431 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1457 fConfigTable[kRGB_888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1491 fConfigTable[kRG_88_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1506 fConfigTable[kBGRA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1608 fConfigTable[kSRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1628 fConfigTable[kSBGRA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1709 alphaInfo.fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1723 redInfo.fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1748 grayLumInfo.fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
[all …]
DGrGLDefines.h339 #define GR_GL_UNSIGNED_BYTE 0x1401 macro
DGrGLGpu.cpp1603 GL_CALL(ClearTexImage(tex->textureID(), 0, GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, &kZero)); in onCreateTexture()
/external/skia/src/gpu/gl/
DGrGLVertexArray.cpp54 return {false, 1, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
56 return {false, 2, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
58 return {false, 3, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
60 return {false, 4, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
62 return {true, 1, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
64 return {true, 4, GR_GL_UNSIGNED_BYTE}; in attrib_layout()
DGrGLCaps.cpp907 if (GR_GL_RGBA == readFormat && GR_GL_UNSIGNED_BYTE == readType) { in readPixelsSupported()
1438 fConfigTable[kRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1464 fConfigTable[kRGB_888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1505 fConfigTable[kRG_88_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1520 fConfigTable[kBGRA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1622 fConfigTable[kSRGBA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1642 fConfigTable[kSBGRA_8888_GrPixelConfig].fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1723 alphaInfo.fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1737 redInfo.fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
1762 grayLumInfo.fFormats.fExternalType = GR_GL_UNSIGNED_BYTE; in initConfigTable()
[all …]
DGrGLDefines.h339 #define GR_GL_UNSIGNED_BYTE 0x1401 macro
DGrGLGpu.cpp1638 GL_CALL(ClearTexImage(tex->textureID(), 0, GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, &kZero)); in onCreateTexture()
/external/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp257 *type = GR_GL_UNSIGNED_BYTE; in atlas_format_to_gl_types()
365 callgl(VertexAttribPointer, 1, 4, GR_GL_UNSIGNED_BYTE, GR_GL_TRUE, sizeof(SDFVertex), in drawSDFGlyphs()
445 callgl(ReadPixels, 0, 0, target->fWidth, target->fHeight, GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, in readTargetHandle()
/external/skqp/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp257 *type = GR_GL_UNSIGNED_BYTE; in atlas_format_to_gl_types()
365 callgl(VertexAttribPointer, 1, 4, GR_GL_UNSIGNED_BYTE, GR_GL_TRUE, sizeof(SDFVertex), in drawSDFGlyphs()
445 callgl(ReadPixels, 0, 0, target->fWidth, target->fHeight, GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, in readTargetHandle()
/external/skia/tests/
DTextureBindingsResetTest.cpp135 GR_GL_UNSIGNED_BYTE, nullptr); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp112 GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DEGLImageTest.cpp136 GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, pixels.get())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/tests/
DEGLImageTest.cpp136 GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, pixels.get())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp112 GR_GL_RGBA, GR_GL_UNSIGNED_BYTE, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/gm/
Drectangletexture.cpp102 GR_GL_UNSIGNED_BYTE, pixels)); in createRectangleTextureImg()
/external/skqp/gm/
Drectangletexture.cpp108 GR_GL_UNSIGNED_BYTE, pixels)); in createRectangleTextureImg()