Lines Matching refs:format
41 static constexpr uint32_t GrGLFormatChannels(GrGLFormat format) {
42 switch (format) {
77 static constexpr GrColorFormatDesc GrGLFormatDesc(GrGLFormat format) {
78 switch (format) {
417 /** Returns either the sized internal format or compressed internal format of the GrGLFormat. */
418 static constexpr GrGLenum GrGLFormatToEnum(GrGLFormat format) {
419 switch (format) {
454 static constexpr size_t GrGLFormatBytesPerBlock(GrGLFormat format) {
455 switch (format) {
466 // We assume the GPU stores this format 4 byte aligned
492 static constexpr int GrGLFormatStencilBits(GrGLFormat format) {
493 switch (format) {
532 static constexpr bool GrGLFormatIsPackedDepthStencil(GrGLFormat format) {
533 switch (format) {
570 static constexpr bool GrGLFormatIsSRGB(GrGLFormat format) {
571 switch (format) {
650 * Returns true if the format is compressed.