Lines Matching refs:sw
39 class Device : public sw::Renderer
51 explicit Device(sw::Context *context);
61 …void drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount…
62 void drawPrimitive(sw::DrawType type, unsigned int primiveCount);
63 void setPixelShader(const sw::PixelShader *shader);
69 void setScissorRect(const sw::Rect &rect);
70 void setVertexShader(const sw::VertexShader *shader);
74 …bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRectF *sourceRect, sw::Surface *destSu…
75 bool stretchCube(sw::Surface *sourceSurface, sw::Surface *destSurface);
78 …static void ClipDstRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = fa…
79 …static void ClipSrcRect(sw::RectF &srcRect, sw::Rect &dstRect, sw::Rect &clipRect, bool flipX = fa…
82 sw::Context *const context;
88 bool validRectangle(const sw::Rect *rect, sw::Surface *surface);
89 bool validRectangle(const sw::RectF *rect, sw::Surface *surface);
91 …void copyBuffer(sw::byte *sourceBuffer, sw::byte *destBuffer, unsigned int width, unsigned int hei…
94 sw::Rect scissorRect;
97 const sw::PixelShader *pixelShader;
98 const sw::VertexShader *vertexShader;
105 float pixelShaderConstantF[sw::FRAGMENT_UNIFORM_VECTORS][4];
106 float vertexShaderConstantF[sw::VERTEX_UNIFORM_VECTORS][4];
108 egl::Image *renderTarget[sw::RENDERTARGETS];