Lines Matching refs:sw
39 class Device : public sw::Renderer
51 explicit Device(sw::Context *context);
61 …egl::Image *createDepthStencilSurface(unsigned int width, unsigned int height, sw::Format format, …
62 …egl::Image *createRenderTarget(unsigned int width, unsigned int height, sw::Format format, int mul…
63 …void drawIndexedPrimitive(sw::DrawType type, unsigned int indexOffset, unsigned int primitiveCount…
64 void drawPrimitive(sw::DrawType type, unsigned int primiveCount);
65 void setPixelShader(const sw::PixelShader *shader);
71 void setScissorRect(const sw::Rect &rect);
72 void setVertexShader(const sw::VertexShader *shader);
76 …bool stretchRect(sw::Surface *sourceSurface, const sw::SliceRect *sourceRect, sw::Surface *destSur…
77 bool stretchCube(sw::Surface *sourceSurface, sw::Surface *destSurface);
81 sw::Context *const context;
87 bool validRectangle(const sw::Rect *rect, sw::Surface *surface);
89 …void copyBuffer(sw::byte *sourceBuffer, sw::byte *destBuffer, unsigned int width, unsigned int hei…
92 sw::Rect scissorRect;
95 const sw::PixelShader *pixelShader;
96 const sw::VertexShader *vertexShader;
103 float pixelShaderConstantF[sw::FRAGMENT_UNIFORM_VECTORS][4];
104 float vertexShaderConstantF[sw::VERTEX_UNIFORM_VECTORS][4];
106 egl::Image *renderTarget[sw::RENDERTARGETS];