Home
last modified time | relevance | path

Searched refs:writeR (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Renderer/
DBlitter.cpp424 bool writeR = state.writeRed; in write() local
428 bool writeRGBA = writeR && writeG && writeB && writeA; in write()
448 if(writeR) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.x))); } in write()
461 if(writeR) { *Pointer<Byte>(element + 0) = Byte(RoundInt(Float(c.x))); } in write()
477 if(writeR) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.x))); } in write()
490 if(writeR) { *Pointer<Byte>(element + 0) = Byte(RoundInt(Float(c.x))); } in write()
497 if(writeR) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.x))); } in write()
502 if(writeR) { *Pointer<Byte>(element + 0) = Byte(RoundInt(Float(c.x))); } in write()
513 if(writeR) { *Pointer<Float>(element) = c.x; } in write()
523 if(writeR) { *Pointer<Float>(element) = c.x; } in write()
[all …]
/external/swiftshader/src/Device/
DBlitter.cpp515 bool writeR = state.writeRed; in write() local
519 bool writeRGBA = writeR && writeG && writeB && writeA; in write()
524 if(writeR | writeG) in write()
526 if(!writeR) in write()
544 if(writeR || writeG || writeB || writeA) in write()
546 …*Pointer<UShort>(element) = (writeR ? ((UShort(RoundInt(Float(c.x))) & UShort(0xF)) << UShort(12))… in write()
563 (writeR ? 0x00F0 : 0x0000) | in write()
586 if(writeR) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.x))); } in write()
593 if(writeR) { *Pointer<SByte>(element + 2) = SByte(RoundInt(Float(c.x))); } in write()
599 if(writeR) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.x))); } in write()
[all …]